summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/configure
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-04-07 12:06:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2008-04-07 12:06:18 +0000
commit41fdc70e57b74afa2a63e751e435055e5dfe7c58 (patch)
tree200d74ecd21d8b77bdcb5687576a6d7f012be322 /Build/source/texk/dvipng/configure
parent1999147223756159c17c4e47fbbaf7b7d0344f4f (diff)
respect library dependencies
git-svn-id: svn://tug.org/texlive/trunk@7345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/configure')
-rwxr-xr-xBuild/source/texk/dvipng/configure402
1 files changed, 201 insertions, 201 deletions
diff --git a/Build/source/texk/dvipng/configure b/Build/source/texk/dvipng/configure
index 6564a837cdc..8d9abd87b72 100755
--- a/Build/source/texk/dvipng/configure
+++ b/Build/source/texk/dvipng/configure
@@ -682,12 +682,12 @@ LIBPNGDEP
LIBT1CPPFLAGS
LDLIBT1
LIBT1DEP
-GDCPPFLAGS
-LDGD
-GDDEP
FREETYPE2CPPFLAGS
LDFREETYPE2
FREETYPE2DEP
+GDCPPFLAGS
+LDGD
+GDDEP
MAINTAINER_MODE_TRUE
MAINTAINER_MODE_FALSE
MAINT
@@ -1299,17 +1299,17 @@ Optional Packages:
Specify the location of T1lib library files (libt1.a)
--with-t1lib-include=DIR
Specify the location of T1lib header files
- --with-system-gd use installed gd library
- --with-gd-libdir=DIR
- Specify directory where the gd library resides.
- --with-gd-include=DIR
- Specify the gd header files location.
--with-system-freetype2 use installed freetype2 library
--with-freetype2-libdir=DIR
Specify directory where the freetype2 library resides.
--with-freetype2-include=DIR
Specify the freetype2 header files location.
(both DIR and DIR/freetype2 will be added to the include paths)
+ --with-system-gd use installed gd library
+ --with-gd-libdir=DIR
+ Specify directory where the gd library resides.
+ --with-gd-include=DIR
+ Specify the gd header files location.
--without-mktexmf-default do not run mktexmf if MF source missing
--without-mktexpk-default do not run mktexpk if PK font missing
--without-mktextfm-default do not run mktextfm if TFM file missing
@@ -6320,137 +6320,59 @@ fi
-# Check whether --with-system_gd was given.
-if test "${with_system_gd+set}" = set; then
- withval=$with_system_gd;
+# Check whether --with-system_freetype2 was given.
+if test "${with_system_freetype2+set}" = set; then
+ withval=$with_system_freetype2;
fi
-# Check whether --with-gd_libdir was given.
-if test "${with_gd_libdir+set}" = set; then
- withval=$with_gd_libdir;
+# Check whether --with-freetype2_libdir was given.
+if test "${with_freetype2_libdir+set}" = set; then
+ withval=$with_freetype2_libdir;
fi
-# Check whether --with-gd_include was given.
-if test "${with_gd_include+set}" = set; then
- withval=$with_gd_include;
+# Check whether --with-freetype2_include was given.
+if test "${with_freetype2_include+set}" = set; then
+ withval=$with_freetype2_include;
fi
-if test "$needs_gd" = no; then
- GDCPPFLAGS=
- LDGD=
- GDDEP=
+if test "$needs_freetype2" = no; then
+ FREETYPE2CPPFLAGS=
+ LDFREETYPE2=
+ FREETYPE2DEP=
else
- EXTRA_GD_INCLUDE=
- EXTRA_GD_LIBDIR=
+ EXTRA_FREETYPE2_INCLUDE=
+ EXTRA_FREETYPE2_LIBDIR=
- if test "$with_system_gd" = yes; then
- if test "x$with_gd_libdir" != x; then
- EXTRA_GD_LIBDIR="-L$with_gd_libdir"
+ if test "$with_system_freetype2" = yes; then
+ if test "x$with_freetype2_libdir" != x; then
+ EXTRA_FREETYPE2_LIBDIR="-L$with_freetype2_libdir"
fi
- if test "x$with_gd_include" != x; then
- EXTRA_GD_INCLUDE="-I$with_gd_include"
+ if test "x$with_freetype2_include" != x; then
+ EXTRA_FREETYPE2_INCLUDE="-I$with_freetype2_include -I$with_freetype2_include/freetype2"
fi
fi
OLD_LDFLAGS=$LDFLAGS
- OLD_CPP=$CPP
+ OLD_CPPFLAGS=$CPPFLAGS
OLD_LIBS=$LIBS
- LDFLAGS="$LDFLAGS $EXTRA_GD_LIBDIR"
- CPP="$CPP $EXTRA_GD_INCLUDE"
-
- if test "$with_system_gd" = yes; then
-
-{ echo "$as_me:$LINENO: checking for gdImageCreateFromPng in -lgd" >&5
-echo $ECHO_N "checking for gdImageCreateFromPng in -lgd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gd_gdImageCreateFromPng+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgd $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char gdImageCreateFromPng ();
-int
-main ()
-{
-return gdImageCreateFromPng ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_lib_gd_gdImageCreateFromPng=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_gd_gdImageCreateFromPng=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreateFromPng" >&5
-echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreateFromPng" >&6; }
-if test $ac_cv_lib_gd_gdImageCreateFromPng = yes; then
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBGD 1
-_ACEOF
-
- LIBS="-lgd $LIBS"
-
-else
- { echo "$as_me:$LINENO: WARNING: Standard gd library not found. Compiling my own." >&5
-echo "$as_me: WARNING: Standard gd library not found. Compiling my own." >&2;}
- with_system_gd=no
-fi
-
- fi
+ LDFLAGS="$LDFLAGS $EXTRA_FREETYPE2_LIBDIR"
+ CPPFLAGS="$CPPFLAGS $EXTRA_FREETYPE2_INCLUDE"
- if test "$with_system_gd" = yes; then
+ if test "$with_system_freetype2" = yes; then
-{ echo "$as_me:$LINENO: checking for gdImageGif in -lgd" >&5
-echo $ECHO_N "checking for gdImageGif in -lgd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gd_gdImageGif+set}" = set; then
+{ echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
+echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
+if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgd $LIBS"
+LIBS="-lfreetype $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6464,11 +6386,11 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef __cplusplus
extern "C"
#endif
-char gdImageGif ();
+char FT_Init_FreeType ();
int
main ()
{
-return gdImageGif ();
+return FT_Init_FreeType ();
;
return 0;
}
@@ -6491,38 +6413,38 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- ac_cv_lib_gd_gdImageGif=yes
+ ac_cv_lib_freetype_FT_Init_FreeType=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_lib_gd_gdImageGif=no
+ ac_cv_lib_freetype_FT_Init_FreeType=no
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageGif" >&5
-echo "${ECHO_T}$ac_cv_lib_gd_gdImageGif" >&6; }
-if test $ac_cv_lib_gd_gdImageGif = yes; then
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
+echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
+if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBGD 1
+#define HAVE_LIBFREETYPE 1
_ACEOF
- LIBS="-lgd $LIBS"
+ LIBS="-lfreetype $LIBS"
else
- { echo "$as_me:$LINENO: WARNING: gd library does not have the necessary gif support. Compiling my own." >&5
-echo "$as_me: WARNING: gd library does not have the necessary gif support. Compiling my own." >&2;}
- with_system_gd=no
+ { echo "$as_me:$LINENO: WARNING: Standard FreeType2 library not found. Compiling my own." >&5
+echo "$as_me: WARNING: Standard FreeType2 library not found. Compiling my own." >&2;}
+ with_system_freetype2=no
fi
fi
- if test "$with_system_gd" = yes; then
+ if test "$with_system_freetype2" = yes; then
-for ac_header in gd.h
+for ac_header in ft2build.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -6666,27 +6588,27 @@ fi
done
- if test "$ac_cv_header_gd_h" != yes; then
- { echo "$as_me:$LINENO: WARNING: gd.h not found. Using my own gd sources." >&5
-echo "$as_me: WARNING: gd.h not found. Using my own gd sources." >&2;}
- with_system_gd=no
+ if test "$ac_cv_header_ft2build_h" != yes; then
+ { echo "$as_me:$LINENO: WARNING: ft2build.h not found. Using my own freetype2 sources." >&5
+echo "$as_me: WARNING: ft2build.h not found. Using my own freetype2 sources." >&2;}
+ with_system_freetype2=no
fi
fi
LDFLAGS=$OLD_LDFLAGS
- CPP=$OLD_CPP
+ CPPFLAGS=$OLD_CPPFLAGS
LIBS=$OLD_LIBS
- if test "$with_system_gd" != yes; then
- GDCPPFLAGS='-I$(GDDIR) -I$(GDSRCDIR)'
- LDGD='$(GDDIR)/libgd.a'
- GDDEP='$(GDDIR)/libgd.a'
- using_system_gd=no
+ if test "$with_system_freetype2" != yes; then
+ FREETYPE2CPPFLAGS='-I$(FREETYPE2SRCDIR)/include'
+ LDFREETYPE2='$(FREETYPE2DIR)/.libs/libfreetype.a'
+ FREETYPE2DEP='$(FREETYPE2DIR)/.libs/libfreetype.a'
+ using_system_freetype2=no
else
- GDCPPFLAGS="$EXTRA_GD_INCLUDE"
- LDGD="$EXTRA_GD_LIBDIR -lgd"
- GDDEP=
- using_system_gd=yes
+ FREETYPE2CPPFLAGS="$EXTRA_FREETYPE2_INCLUDE"
+ LDFREETYPE2="$EXTRA_FREETYPE2_LIBDIR -lfreetype"
+ FREETYPE2DEP=
+ using_system_freetype2=yes
fi
fi
@@ -6695,59 +6617,59 @@ fi
-# Check whether --with-system_freetype2 was given.
-if test "${with_system_freetype2+set}" = set; then
- withval=$with_system_freetype2;
+# Check whether --with-system_gd was given.
+if test "${with_system_gd+set}" = set; then
+ withval=$with_system_gd;
fi
-# Check whether --with-freetype2_libdir was given.
-if test "${with_freetype2_libdir+set}" = set; then
- withval=$with_freetype2_libdir;
+# Check whether --with-gd_libdir was given.
+if test "${with_gd_libdir+set}" = set; then
+ withval=$with_gd_libdir;
fi
-# Check whether --with-freetype2_include was given.
-if test "${with_freetype2_include+set}" = set; then
- withval=$with_freetype2_include;
+# Check whether --with-gd_include was given.
+if test "${with_gd_include+set}" = set; then
+ withval=$with_gd_include;
fi
-if test "$needs_freetype2" = no; then
- FREETYPE2CPPFLAGS=
- LDFREETYPE2=
- FREETYPE2DEP=
+if test "$needs_gd" = no; then
+ GDCPPFLAGS=
+ LDGD=
+ GDDEP=
else
- EXTRA_FREETYPE2_INCLUDE=
- EXTRA_FREETYPE2_LIBDIR=
+ EXTRA_GD_INCLUDE=
+ EXTRA_GD_LIBDIR=
- if test "$with_system_freetype2" = yes; then
- if test "x$with_freetype2_libdir" != x; then
- EXTRA_FREETYPE2_LIBDIR="-L$with_freetype2_libdir"
+ if test "$with_system_gd" = yes; then
+ if test "x$with_gd_libdir" != x; then
+ EXTRA_GD_LIBDIR="-L$with_gd_libdir"
fi
- if test "x$with_freetype2_include" != x; then
- EXTRA_FREETYPE2_INCLUDE="-I$with_freetype2_include -I$with_freetype2_include/freetype2"
+ if test "x$with_gd_include" != x; then
+ EXTRA_GD_INCLUDE="-I$with_gd_include"
fi
fi
OLD_LDFLAGS=$LDFLAGS
- OLD_CPPFLAGS=$CPPFLAGS
+ OLD_CPP=$CPP
OLD_LIBS=$LIBS
- LDFLAGS="$LDFLAGS $EXTRA_FREETYPE2_LIBDIR"
- CPPFLAGS="$CPPFLAGS $EXTRA_FREETYPE2_INCLUDE"
+ LDFLAGS="$LDFLAGS $EXTRA_GD_LIBDIR"
+ CPP="$CPP $EXTRA_GD_INCLUDE"
- if test "$with_system_freetype2" = yes; then
+ if test "$with_system_gd" = yes; then
-{ echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
-echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
-if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
+{ echo "$as_me:$LINENO: checking for gdImageCreateFromPng in -lgd" >&5
+echo $ECHO_N "checking for gdImageCreateFromPng in -lgd... $ECHO_C" >&6; }
+if test "${ac_cv_lib_gd_gdImageCreateFromPng+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfreetype $LIBS"
+LIBS="-lgd $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -6761,11 +6683,11 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef __cplusplus
extern "C"
#endif
-char FT_Init_FreeType ();
+char gdImageCreateFromPng ();
int
main ()
{
-return FT_Init_FreeType ();
+return gdImageCreateFromPng ();
;
return 0;
}
@@ -6788,38 +6710,116 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- ac_cv_lib_freetype_FT_Init_FreeType=yes
+ ac_cv_lib_gd_gdImageCreateFromPng=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_lib_freetype_FT_Init_FreeType=no
+ ac_cv_lib_gd_gdImageCreateFromPng=no
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
-echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
-if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreateFromPng" >&5
+echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreateFromPng" >&6; }
+if test $ac_cv_lib_gd_gdImageCreateFromPng = yes; then
cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBFREETYPE 1
+#define HAVE_LIBGD 1
_ACEOF
- LIBS="-lfreetype $LIBS"
+ LIBS="-lgd $LIBS"
else
- { echo "$as_me:$LINENO: WARNING: Standard FreeType2 library not found. Compiling my own." >&5
-echo "$as_me: WARNING: Standard FreeType2 library not found. Compiling my own." >&2;}
- with_system_freetype2=no
+ { echo "$as_me:$LINENO: WARNING: Standard gd library not found. Compiling my own." >&5
+echo "$as_me: WARNING: Standard gd library not found. Compiling my own." >&2;}
+ with_system_gd=no
fi
fi
- if test "$with_system_freetype2" = yes; then
+ if test "$with_system_gd" = yes; then
-for ac_header in ft2build.h
+{ echo "$as_me:$LINENO: checking for gdImageGif in -lgd" >&5
+echo $ECHO_N "checking for gdImageGif in -lgd... $ECHO_C" >&6; }
+if test "${ac_cv_lib_gd_gdImageGif+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lgd $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char gdImageGif ();
+int
+main ()
+{
+return gdImageGif ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_gd_gdImageGif=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_gd_gdImageGif=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageGif" >&5
+echo "${ECHO_T}$ac_cv_lib_gd_gdImageGif" >&6; }
+if test $ac_cv_lib_gd_gdImageGif = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBGD 1
+_ACEOF
+
+ LIBS="-lgd $LIBS"
+
+else
+ { echo "$as_me:$LINENO: WARNING: gd library does not have the necessary gif support. Compiling my own." >&5
+echo "$as_me: WARNING: gd library does not have the necessary gif support. Compiling my own." >&2;}
+ with_system_gd=no
+fi
+
+ fi
+
+ if test "$with_system_gd" = yes; then
+
+for ac_header in gd.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -6963,27 +6963,27 @@ fi
done
- if test "$ac_cv_header_ft2build_h" != yes; then
- { echo "$as_me:$LINENO: WARNING: ft2build.h not found. Using my own freetype2 sources." >&5
-echo "$as_me: WARNING: ft2build.h not found. Using my own freetype2 sources." >&2;}
- with_system_freetype2=no
+ if test "$ac_cv_header_gd_h" != yes; then
+ { echo "$as_me:$LINENO: WARNING: gd.h not found. Using my own gd sources." >&5
+echo "$as_me: WARNING: gd.h not found. Using my own gd sources." >&2;}
+ with_system_gd=no
fi
fi
LDFLAGS=$OLD_LDFLAGS
- CPPFLAGS=$OLD_CPPFLAGS
+ CPP=$OLD_CPP
LIBS=$OLD_LIBS
- if test "$with_system_freetype2" != yes; then
- FREETYPE2CPPFLAGS='-I$(FREETYPE2SRCDIR)/include'
- LDFREETYPE2='$(FREETYPE2DIR)/.libs/libfreetype.a'
- FREETYPE2DEP='$(FREETYPE2DIR)/.libs/libfreetype.a'
- using_system_freetype2=no
+ if test "$with_system_gd" != yes; then
+ GDCPPFLAGS='-I$(GDDIR) -I$(GDSRCDIR)'
+ LDGD='$(GDDIR)/libgd.a'
+ GDDEP='$(GDDIR)/libgd.a'
+ using_system_gd=no
else
- FREETYPE2CPPFLAGS="$EXTRA_FREETYPE2_INCLUDE"
- LDFREETYPE2="$EXTRA_FREETYPE2_LIBDIR -lfreetype"
- FREETYPE2DEP=
- using_system_freetype2=yes
+ GDCPPFLAGS="$EXTRA_GD_INCLUDE"
+ LDGD="$EXTRA_GD_LIBDIR -lgd"
+ GDDEP=
+ using_system_gd=yes
fi
fi
@@ -8235,12 +8235,12 @@ LIBPNGDEP!$LIBPNGDEP$ac_delim
LIBT1CPPFLAGS!$LIBT1CPPFLAGS$ac_delim
LDLIBT1!$LDLIBT1$ac_delim
LIBT1DEP!$LIBT1DEP$ac_delim
-GDCPPFLAGS!$GDCPPFLAGS$ac_delim
-LDGD!$LDGD$ac_delim
-GDDEP!$GDDEP$ac_delim
FREETYPE2CPPFLAGS!$FREETYPE2CPPFLAGS$ac_delim
LDFREETYPE2!$LDFREETYPE2$ac_delim
FREETYPE2DEP!$FREETYPE2DEP$ac_delim
+GDCPPFLAGS!$GDCPPFLAGS$ac_delim
+LDGD!$LDGD$ac_delim
+GDDEP!$GDDEP$ac_delim
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
MAINT!$MAINT$ac_delim