Include @FREETYPE_INC@ and @FREETYPE_LD_FLAGS@
authorhanda <handa>
Wed, 19 Jul 2006 02:25:22 +0000 (02:25 +0000)
committerhanda <handa>
Wed, 19 Jul 2006 02:25:22 +0000 (02:25 +0000)
in output.

libotf-config.in

index a82f92c..a5dd6f5 100644 (file)
@@ -24,14 +24,16 @@ case $1 in
 
 --libs)
   if test "@libdir@" != "/usr/lib"; then
-    echo "-L@libdir@ -lotf"
+    echo "@FREETYPE_LD_FLAGS@ -L@libdir@ -lotf"
   else
-    echo "-lotf"
+    echo "@FREETYPE_LD_FLAGS@ -lotf"
   fi;;
 
 --cflags)
   if test "@includedir@" != "/usr/include"; then
-    echo "-I@includedir@"
+    echo "@FREETYPE_INC@ -I@includedir@"
+  else
+    echo "@FREETYPE_INC@"
   fi;;
 
 *)