Changeset 2466

Show
Ignore:
Timestamp:
10/14/03 11:16:04 (5 years ago)
Author:
dan
Message:

Added Apache version detection and set -DNEED_NONBLOCKING_STDERR when
Apache 2.x is found (bug 458)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/branch-4-0/mapserver/configure

    r2289 r2466  
    7777  --with-curl-config=PATH Specify path to curl-config." 
    7878ac_help="$ac_help 
     79  --with-httpd            Specify path to 'httpd' executable." 
     80ac_help="$ac_help 
    7981  --enable-ignore-missing-data   Ignore missing data file errors at runtime 
    8082                                 (enabled by default). 
     
    624626set dummy gcc; ac_word=$2 
    625627echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    626 echo "configure:627: checking for $ac_word" >&5 
     628echo "configure:629: checking for $ac_word" >&5 
    627629if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    628630  echo $ac_n "(cached) $ac_c" 1>&6 
     
    654656set dummy cc; ac_word=$2 
    655657echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    656 echo "configure:657: checking for $ac_word" >&5 
     658echo "configure:659: checking for $ac_word" >&5 
    657659if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    658660  echo $ac_n "(cached) $ac_c" 1>&6 
     
    705707set dummy cl; ac_word=$2 
    706708echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    707 echo "configure:708: checking for $ac_word" >&5 
     709echo "configure:710: checking for $ac_word" >&5 
    708710if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 
    709711  echo $ac_n "(cached) $ac_c" 1>&6 
     
    737739 
    738740echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    739 echo "configure:740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
     741echo "configure:742: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 
    740742 
    741743ac_ext=c 
     
    748750cat > conftest.$ac_ext << EOF 
    749751 
    750 #line 751 "configure" 
     752#line 753 "configure" 
    751753#include "confdefs.h" 
    752754 
    753755main(){return(0);} 
    754756EOF 
    755 if { (eval echo configure:756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     757if { (eval echo configure:758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    756758  ac_cv_prog_cc_works=yes 
    757759  # If we can't run a trivial program, we are probably using a cross compiler. 
     
    779781fi 
    780782echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    781 echo "configure:782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
     783echo "configure:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 
    782784echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 
    783785cross_compiling=$ac_cv_prog_cc_cross 
    784786 
    785787echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 
    786 echo "configure:787: checking whether we are using GNU C" >&5 
     788echo "configure:789: checking whether we are using GNU C" >&5 
    787789if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 
    788790  echo $ac_n "(cached) $ac_c" 1>&6 
     
    793795#endif 
    794796EOF 
    795 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
     797if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    796798  ac_cv_prog_gcc=yes 
    797799else 
     
    812814CFLAGS= 
    813815echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 
    814 echo "configure:815: checking whether ${CC-cc} accepts -g" >&5 
     816echo "configure:817: checking whether ${CC-cc} accepts -g" >&5 
    815817if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 
    816818  echo $ac_n "(cached) $ac_c" 1>&6 
     
    848850set dummy $ac_prog; ac_word=$2 
    849851echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    850 echo "configure:851: checking for $ac_word" >&5 
     852echo "configure:853: checking for $ac_word" >&5 
    851853if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 
    852854  echo $ac_n "(cached) $ac_c" 1>&6 
     
    880882 
    881883echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 
    882 echo "configure:883: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
     884echo "configure:885: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 
    883885 
    884886ac_ext=C 
     
    891893cat > conftest.$ac_ext << EOF 
    892894 
    893 #line 894 "configure" 
     895#line 896 "configure" 
    894896#include "confdefs.h" 
    895897 
    896898int main(){return(0);} 
    897899EOF 
    898 if { (eval echo configure:899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     900if { (eval echo configure:901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    899901  ac_cv_prog_cxx_works=yes 
    900902  # If we can't run a trivial program, we are probably using a cross compiler. 
     
    922924fi 
    923925echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 
    924 echo "configure:925: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
     926echo "configure:927: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 
    925927echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 
    926928cross_compiling=$ac_cv_prog_cxx_cross 
    927929 
    928930echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 
    929 echo "configure:930: checking whether we are using GNU C++" >&5 
     931echo "configure:932: checking whether we are using GNU C++" >&5 
    930932if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 
    931933  echo $ac_n "(cached) $ac_c" 1>&6 
     
    936938#endif 
    937939EOF 
    938 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
     940if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 
    939941  ac_cv_prog_gxx=yes 
    940942else 
     
    955957CXXFLAGS= 
    956958echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 
    957 echo "configure:958: checking whether ${CXX-g++} accepts -g" >&5 
     959echo "configure:960: checking whether ${CXX-g++} accepts -g" >&5 
    958960if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 
    959961  echo $ac_n "(cached) $ac_c" 1>&6 
     
    986988fi 
    987989 
    988 for ac_declaration in \ 
    989    ''\ 
    990    '#include <stdlib.h>' \ 
    991    'extern "C" void std::exit (int) throw (); using std::exit;' \ 
    992    'extern "C" void std::exit (int); using std::exit;' \ 
    993    'extern "C" void exit (int) throw ();' \ 
    994    'extern "C" void exit (int);' \ 
    995    'void exit (int);' 
    996 do 
    997   cat > conftest.$ac_ext <<EOF 
    998 #line 999 "configure" 
    999 #include "confdefs.h" 
    1000 #include <stdlib.h> 
    1001 $ac_declaration 
    1002 int main() { 
    1003 exit (42); 
    1004 ; return 0; } 
    1005 EOF 
    1006 if { (eval echo configure:1007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1007   : 
    1008 else 
    1009   echo "configure: failed program was:" >&5 
    1010   cat conftest.$ac_ext >&5 
    1011   rm -rf conftest* 
    1012   continue 
    1013 fi 
    1014 rm -f conftest* 
    1015   cat > conftest.$ac_ext <<EOF 
    1016 #line 1017 "configure" 
    1017 #include "confdefs.h" 
    1018 $ac_declaration 
    1019 int main() { 
    1020 exit (42); 
    1021 ; return 0; } 
    1022 EOF 
    1023 if { (eval echo configure:1024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 
    1024   rm -rf conftest* 
    1025   break 
    1026 else 
    1027   echo "configure: failed program was:" >&5 
    1028   cat conftest.$ac_ext >&5 
    1029 fi 
    1030 rm -f conftest* 
    1031 done 
    1032 if test -n "$ac_declaration"; then 
    1033   echo '#ifdef __cplusplus' >>confdefs.h 
    1034   echo $ac_declaration      >>confdefs.h 
    1035   echo '#endif'             >>confdefs.h 
    1036 fi 
    1037  
    1038  
    1039990# Extract the first word of "ranlib", so it can be a program name with args. 
    1040991set dummy ranlib; ac_word=$2 
    1041992echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    1042 echo "configure:1043: checking for $ac_word" >&5 
     993echo "configure:994: checking for $ac_word" >&5 
    1043994if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 
    1044995  echo $ac_n "(cached) $ac_c" 1>&6 
     
    10701021set dummy flex; ac_word=$2 
    10711022echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    1072 echo "configure:1073: checking for $ac_word" >&5 
     1023echo "configure:1024: checking for $ac_word" >&5 
    10731024if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then 
    10741025  echo $ac_n "(cached) $ac_c" 1>&6 
     
    11041055  esac 
    11051056  echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 
    1106 echo "configure:1107: checking for yywrap in -l$ac_lib" >&5 
     1057echo "configure:1058: checking for yywrap in -l$ac_lib" >&5 
    11071058ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 
    11081059if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    11121063LIBS="-l$ac_lib  $LIBS" 
    11131064cat > conftest.$ac_ext <<EOF 
    1114 #line 1115 "configure" 
     1065#line 1066 "configure" 
    11151066#include "confdefs.h" 
    11161067/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    11231074; return 0; } 
    11241075EOF 
    1125 if { (eval echo configure:1126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1076if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    11261077  rm -rf conftest* 
    11271078  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    11501101set dummy $ac_prog; ac_word=$2 
    11511102echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    1152 echo "configure:1153: checking for $ac_word" >&5 
     1103echo "configure:1104: checking for $ac_word" >&5 
    11531104if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then 
    11541105  echo $ac_n "(cached) $ac_c" 1>&6 
     
    11821133 
    11831134  echo $ac_n "checking if compiler supports -R""... $ac_c" 1>&6 
    1184 echo "configure:1185: checking if compiler supports -R" >&5 
     1135echo "configure:1136: checking if compiler supports -R" >&5 
    11851136  if eval "test \"`echo '$''{'php_cv_cc_dashr'+set}'`\" = set"; then 
    11861137  echo $ac_n "(cached) $ac_c" 1>&6 
     
    11901141        LIBS="-R /usr/lib ${LIBS}" 
    11911142        cat > conftest.$ac_ext <<EOF 
    1192 #line 1193 "configure" 
     1143#line 1144 "configure" 
    11931144#include "confdefs.h" 
    11941145 
     
    11971148; return 0; } 
    11981149EOF 
    1199 if { (eval echo configure:1200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1150if { (eval echo configure:1151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    12001151  rm -rf conftest* 
    12011152  php_cv_cc_dashr=yes 
     
    12171168  if test -z "$ld_runpath_switch" ; then 
    12181169        echo $ac_n "checking if compiler supports -Wl,-rpath,""... $ac_c" 1>&6 
    1219 echo "configure:1220: checking if compiler supports -Wl,-rpath," >&5 
     1170echo "configure:1171: checking if compiler supports -Wl,-rpath," >&5 
    12201171        if eval "test \"`echo '$''{'php_cv_cc_rpath'+set}'`\" = set"; then 
    12211172  echo $ac_n "(cached) $ac_c" 1>&6 
     
    12251176                LIBS="-Wl,-rpath,/usr/lib ${LIBS}" 
    12261177                cat > conftest.$ac_ext <<EOF 
    1227 #line 1228 "configure" 
     1178#line 1179 "configure" 
    12281179#include "confdefs.h" 
    12291180 
     
    12321183; return 0; } 
    12331184EOF 
    1234 if { (eval echo configure:1235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1185if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    12351186  rm -rf conftest* 
    12361187  php_cv_cc_rpath=yes 
     
    12531204  if test -z "$ld_runpath_switch" ; then 
    12541205        echo $ac_n "checking if compiler supports -Wl,-R""... $ac_c" 1>&6 
    1255 echo "configure:1256: checking if compiler supports -Wl,-R" >&5 
     1206echo "configure:1207: checking if compiler supports -Wl,-R" >&5 
    12561207        if eval "test \"`echo '$''{'php_cv_cc_dashwlr'+set}'`\" = set"; then 
    12571208  echo $ac_n "(cached) $ac_c" 1>&6 
     
    12611212                LIBS="-Wl,-R/usr/lib ${LIBS}" 
    12621213                cat > conftest.$ac_ext <<EOF 
    1263 #line 1264 "configure" 
     1214#line 1215 "configure" 
    12641215#include "confdefs.h" 
    12651216 
     
    12681219; return 0; } 
    12691220EOF 
    1270 if { (eval echo configure:1271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1221if { (eval echo configure:1222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    12711222  rm -rf conftest* 
    12721223  php_cv_cc_dashwlr=yes 
     
    12951246 
    12961247echo $ac_n "checking for exp in -lm""... $ac_c" 1>&6 
    1297 echo "configure:1298: checking for exp in -lm" >&5 
     1248echo "configure:1249: checking for exp in -lm" >&5 
    12981249ac_lib_var=`echo m'_'exp | sed 'y%./+-%__p_%'` 
    12991250if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    13031254LIBS="-lm  $LIBS" 
    13041255cat > conftest.$ac_ext <<EOF 
    1305 #line 1306 "configure" 
     1256#line 1257 "configure" 
    13061257#include "confdefs.h" 
    13071258/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    13141265; return 0; } 
    13151266EOF 
    1316 if { (eval echo configure:1317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1267if { (eval echo configure:1268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    13171268  rm -rf conftest* 
    13181269  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    13371288 
    13381289echo $ac_n "checking for __gxx_personality_v0 in -lstdc++""... $ac_c" 1>&6 
    1339 echo "configure:1340: checking for __gxx_personality_v0 in -lstdc++" >&5 
     1290echo "configure:1291: checking for __gxx_personality_v0 in -lstdc++" >&5 
    13401291ac_lib_var=`echo stdc++'_'__gxx_personality_v0 | sed 'y%./+-%__p_%'` 
    13411292if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    13451296LIBS="-lstdc++  $LIBS" 
    13461297cat > conftest.$ac_ext <<EOF 
    1347 #line 1348 "configure" 
     1298#line 1299 "configure" 
    13481299#include "confdefs.h" 
    13491300/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    13561307; return 0; } 
    13571308EOF 
    1358 if { (eval echo configure:1359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1309if { (eval echo configure:1310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    13591310  rm -rf conftest* 
    13601311  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    13811332 
    13821333echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 
    1383 echo "configure:1384: checking how to run the C preprocessor" >&5 
     1334echo "configure:1335: checking how to run the C preprocessor" >&5 
    13841335# On Suns, sometimes $CPP names a directory. 
    13851336if test -n "$CPP" && test -d "$CPP"; then 
     
    13961347  # not just through cpp. 
    13971348  cat > conftest.$ac_ext <<EOF 
    1398 #line 1399 "configure" 
     1349#line 1350 "configure" 
    13991350#include "confdefs.h" 
    14001351#include <assert.h> 
     
    14021353EOF 
    14031354ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1404 { (eval echo configure:1405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     1355{ (eval echo configure:1356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    14051356ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    14061357if test -z "$ac_err"; then 
     
    14131364  CPP="${CC-cc} -E -traditional-cpp" 
    14141365  cat > conftest.$ac_ext <<EOF 
    1415 #line 1416 "configure" 
     1366#line 1367 "configure" 
    14161367#include "confdefs.h" 
    14171368#include <assert.h> 
     
    14191370EOF 
    14201371ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1421 { (eval echo configure:1422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     1372{ (eval echo configure:1373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    14221373ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    14231374if test -z "$ac_err"; then 
     
    14301381  CPP="${CC-cc} -nologo -E" 
    14311382  cat > conftest.$ac_ext <<EOF 
    1432 #line 1433 "configure" 
     1383#line 1384 "configure" 
    14331384#include "confdefs.h" 
    14341385#include <assert.h> 
     
    14361387EOF 
    14371388ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1438 { (eval echo configure:1439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     1389{ (eval echo configure:1390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    14391390ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    14401391if test -z "$ac_err"; then 
     
    14611412 
    14621413echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 
    1463 echo "configure:1464: checking for ANSI C header files" >&5 
     1414echo "configure:1415: checking for ANSI C header files" >&5 
    14641415if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 
    14651416  echo $ac_n "(cached) $ac_c" 1>&6 
    14661417else 
    14671418  cat > conftest.$ac_ext <<EOF 
    1468 #line 1469 "configure" 
     1419#line 1420 "configure" 
    14691420#include "confdefs.h" 
    14701421#include <stdlib.h> 
     
    14741425EOF 
    14751426ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 
    1476 { (eval echo configure:1477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
     1427{ (eval echo configure:1428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 
    14771428ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 
    14781429if test -z "$ac_err"; then 
     
    14911442  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
    14921443cat > conftest.$ac_ext <<EOF 
    1493 #line 1494 "configure" 
     1444#line 1445 "configure" 
    14941445#include "confdefs.h" 
    14951446#include <string.h> 
     
    15091460  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
    15101461cat > conftest.$ac_ext <<EOF 
    1511 #line 1512 "configure" 
     1462#line 1463 "configure" 
    15121463#include "confdefs.h" 
    15131464#include <stdlib.h> 
     
    15301481else 
    15311482  cat > conftest.$ac_ext <<EOF 
    1532 #line 1533 "configure" 
     1483#line 1484 "configure" 
    15331484#include "confdefs.h" 
    15341485#include <ctype.h> 
     
    15411492 
    15421493EOF 
    1543 if { (eval echo configure:1544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     1494if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    15441495then 
    15451496  : 
     
    15661517 
    15671518echo $ac_n "checking for strcasecmp""... $ac_c" 1>&6 
    1568 echo "configure:1569: checking for strcasecmp" >&5 
     1519echo "configure:1520: checking for strcasecmp" >&5 
    15691520if eval "test \"`echo '$''{'ac_cv_func_strcasecmp'+set}'`\" = set"; then 
    15701521  echo $ac_n "(cached) $ac_c" 1>&6 
    15711522else 
    15721523  cat > conftest.$ac_ext <<EOF 
    1573 #line 1574 "configure" 
     1524#line 1525 "configure" 
    15741525#include "confdefs.h" 
    15751526/* System header to define __stub macros and hopefully few prototypes, 
     
    15941545; return 0; } 
    15951546EOF 
    1596 if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1547if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    15971548  rm -rf conftest* 
    15981549  eval "ac_cv_func_strcasecmp=yes" 
     
    16151566 
    16161567echo $ac_n "checking for strncasecmp""... $ac_c" 1>&6 
    1617 echo "configure:1618: checking for strncasecmp" >&5 
     1568echo "configure:1569: checking for strncasecmp" >&5 
    16181569if eval "test \"`echo '$''{'ac_cv_func_strncasecmp'+set}'`\" = set"; then 
    16191570  echo $ac_n "(cached) $ac_c" 1>&6 
    16201571else 
    16211572  cat > conftest.$ac_ext <<EOF 
    1622 #line 1623 "configure" 
     1573#line 1574 "configure" 
    16231574#include "confdefs.h" 
    16241575/* System header to define __stub macros and hopefully few prototypes, 
     
    16431594; return 0; } 
    16441595EOF 
    1645 if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1596if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    16461597  rm -rf conftest* 
    16471598  eval "ac_cv_func_strncasecmp=yes" 
     
    16641615 
    16651616echo $ac_n "checking for strdup""... $ac_c" 1>&6 
    1666 echo "configure:1667: checking for strdup" >&5 
     1617echo "configure:1618: checking for strdup" >&5 
    16671618if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then 
    16681619  echo $ac_n "(cached) $ac_c" 1>&6 
    16691620else 
    16701621  cat > conftest.$ac_ext <<EOF 
    1671 #line 1672 "configure" 
     1622#line 1623 "configure" 
    16721623#include "confdefs.h" 
    16731624/* System header to define __stub macros and hopefully few prototypes, 
     
    16921643; return 0; } 
    16931644EOF 
    1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1645if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    16951646  rm -rf conftest* 
    16961647  eval "ac_cv_func_strdup=yes" 
     
    17191670 
    17201671echo "checking whether we should include JPEG support..." 1>&6 
    1721 echo "configure:1722: checking whether we should include JPEG support..." >&5 
     1672echo "configure:1673: checking whether we should include JPEG support..." >&5 
    17221673# Check whether --with-jpeg or --without-jpeg was given. 
    17231674if test "${with_jpeg+set}" = set; then 
     
    17891740 
    17901741    echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 
    1791 echo "configure:1792: checking for jpeg_read_header in -ljpeg" >&5 
     1742echo "configure:1743: checking for jpeg_read_header in -ljpeg" >&5 
    17921743ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` 
    17931744if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    17971748LIBS="-ljpeg  $LIBS" 
    17981749cat > conftest.$ac_ext <<EOF 
    1799 #line 1800 "configure" 
     1750#line 1751 "configure" 
    18001751#include "confdefs.h" 
    18011752/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    18081759; return 0; } 
    18091760EOF 
    1810 if { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1761if { (eval echo configure:1762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    18111762  rm -rf conftest* 
    18121763  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    18421793 
    18431794  echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6 
    1844 echo "configure:1845: checking for jpeg_read_header in -ljpeg" >&5 
     1795echo "configure:1796: checking for jpeg_read_header in -ljpeg" >&5 
    18451796ac_lib_var=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'` 
    18461797if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    18501801LIBS="-ljpeg  $LIBS" 
    18511802cat > conftest.$ac_ext <<EOF 
    1852 #line 1853 "configure" 
     1803#line 1804 "configure" 
    18531804#include "confdefs.h" 
    18541805/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    18611812; return 0; } 
    18621813EOF 
    1863 if { (eval echo configure:1864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     1814if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    18641815  rm -rf conftest* 
    18651816  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    19221873 
    19231874echo "checking where FreeType 2.x is installed..." 1>&6 
    1924 echo "configure:1925: checking where FreeType 2.x is installed..." >&5 
     1875echo "configure:1876: checking where FreeType 2.x is installed..." >&5 
    19251876FT_LIB='' 
    19261877FT_BIN='' 
     
    19351886set dummy freetype-config; ac_word=$2 
    19361887echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 
    1937 echo "configure:1938: checking for $ac_word" >&5 
     1888echo "configure:1889: checking for $ac_word" >&5 
    19381889if eval "test \"`echo '$''{'ac_cv_path_FT_BIN'+set}'`\" = set"; then 
    19391890  echo $ac_n "(cached) $ac_c" 1>&6 
     
    20331984else 
    20341985    echo $ac_n "checking for FT_Init_FreeType in -lfreetype""... $ac_c" 1>&6 
    2035 echo "configure:2036: checking for FT_Init_FreeType in -lfreetype" >&5 
     1986echo "configure:1987: checking for FT_Init_FreeType in -lfreetype" >&5 
    20361987ac_lib_var=`echo freetype'_'FT_Init_FreeType | sed 'y%./+-%__p_%'` 
    20371988if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    20411992LIBS="-lfreetype  $LIBS" 
    20421993cat > conftest.$ac_ext <<EOF 
    2043 #line 2044 "configure" 
     1994#line 1995 "configure" 
    20441995#include "confdefs.h" 
    20451996/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    20522003; return 0; } 
    20532004EOF 
    2054 if { (eval echo configure:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2005if { (eval echo configure:2006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    20552006  rm -rf conftest* 
    20562007  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    21012052 
    21022053echo "checking where Zlib is installed..." 1>&6 
    2103 echo "configure:2104: checking where Zlib is installed..." >&5 
     2054echo "configure:2055: checking where Zlib is installed..." >&5 
    21042055ZL_LIB='' 
    21052056 
     
    21382089   
    21392090  echo $ac_n "checking for zlibVersion in -lz""... $ac_c" 1>&6 
    2140 echo "configure:2141: checking for zlibVersion in -lz" >&5 
     2091echo "configure:2092: checking for zlibVersion in -lz" >&5 
    21412092ac_lib_var=`echo z'_'zlibVersion | sed 'y%./+-%__p_%'` 
    21422093if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    21462097LIBS="-lz  $LIBS" 
    21472098cat > conftest.$ac_ext <<EOF 
    2148 #line 2149 "configure" 
     2099#line 2100 "configure" 
    21492100#include "confdefs.h" 
    21502101/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    21572108; return 0; } 
    21582109EOF 
    2159 if { (eval echo configure:2160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2110if { (eval echo configure:2111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    21602111  rm -rf conftest* 
    21612112  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    22072158 
    22082159echo "checking where PNG is installed..." 1>&6 
    2209 echo "configure:2210: checking where PNG is installed..." >&5 
     2160echo "configure:2161: checking where PNG is installed..." >&5 
    22102161PNG_LIB='' 
    22112162 
     
    22442195   
    22452196  echo $ac_n "checking for png_init_io in -lpng""... $ac_c" 1>&6 
    2246 echo "configure:2247: checking for png_init_io in -lpng" >&5 
     2197echo "configure:2198: checking for png_init_io in -lpng" >&5 
    22472198ac_lib_var=`echo png'_'png_init_io | sed 'y%./+-%__p_%'` 
    22482199if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    22522203LIBS="-lpng $ZL_LIB $LIBS" 
    22532204cat > conftest.$ac_ext <<EOF 
    2254 #line 2255 "configure" 
     2205#line 2206 "configure" 
    22552206#include "confdefs.h" 
    22562207/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    22632214; return 0; } 
    22642215EOF 
    2265 if { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2216if { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    22662217  rm -rf conftest* 
    22672218  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    23142265 
    23152266  echo "checking where libXpm is installed..." 1>&6 
    2316 echo "configure:2317: checking where libXpm is installed..." >&5 
     2267echo "configure:2268: checking where libXpm is installed..." >&5 
    23172268  XPM_LIB='' 
    23182269 
     
    23512302     
    23522303    echo $ac_n "checking for XpmFreeXpmImage in -lXpm""... $ac_c" 1>&6 
    2353 echo "configure:2354: checking for XpmFreeXpmImage in -lXpm" >&5 
     2304echo "configure:2305: checking for XpmFreeXpmImage in -lXpm" >&5 
    23542305ac_lib_var=`echo Xpm'_'XpmFreeXpmImage | sed 'y%./+-%__p_%'` 
    23552306if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    23592310LIBS="-lXpm -lX11 $LIBS" 
    23602311cat > conftest.$ac_ext <<EOF 
    2361 #line 2362 "configure" 
     2312#line 2313 "configure" 
    23622313#include "confdefs.h" 
    23632314/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    23702321; return 0; } 
    23712322EOF 
    2372 if { (eval echo configure:2373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2323if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    23732324  rm -rf conftest* 
    23742325  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    24222373 
    24232374echo "checking where libiconv is installed..." 1>&6 
    2424 echo "configure:2425: checking where libiconv is installed..." >&5 
     2375echo "configure:2376: checking where libiconv is installed..." >&5 
    24252376ICONV_LIB='' 
    24262377 
     
    24592410   
    24602411  echo $ac_n "checking for libiconv_open in -liconv""... $ac_c" 1>&6 
    2461 echo "configure:2462: checking for libiconv_open in -liconv" >&5 
     2412echo "configure:2413: checking for libiconv_open in -liconv" >&5 
    24622413ac_lib_var=`echo iconv'_'libiconv_open | sed 'y%./+-%__p_%'` 
    24632414if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    24672418LIBS="-liconv  $LIBS" 
    24682419cat > conftest.$ac_ext <<EOF 
    2469 #line 2470 "configure" 
     2420#line 2421 "configure" 
    24702421#include "confdefs.h" 
    24712422/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    24782429; return 0; } 
    24792430EOF 
    2480 if { (eval echo configure:2481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2431if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    24812432  rm -rf conftest* 
    24822433  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    25382489 
    25392490echo "checking for GD 2.0.12 or higher..." 1>&6 
    2540 echo "configure:2541: checking for GD 2.0.12 or higher..." >&5 
     2491echo "configure:2492: checking for GD 2.0.12 or higher..." >&5 
    25412492# Check whether --with-gd or --without-gd was given. 
    25422493if test "${with_gd+set}" = set; then 
     
    25802531 
    25812532    echo $ac_n "checking for gdImageSetAntiAliased in -lgd""... $ac_c" 1>&6 
    2582 echo "configure:2583: checking for gdImageSetAntiAliased in -lgd" >&5 
     2533echo "configure:2534: checking for gdImageSetAntiAliased in -lgd" >&5 
    25832534ac_lib_var=`echo gd'_'gdImageSetAntiAliased | sed 'y%./+-%__p_%'` 
    25842535if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    25882539LIBS="-lgd $GD_XTRA_LIBS -L$GD_LIBDIR $LIBS" 
    25892540cat > conftest.$ac_ext <<EOF 
    2590 #line 2591 "configure" 
     2541#line 2542 "configure" 
    25912542#include "confdefs.h" 
    25922543/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    25992550; return 0; } 
    26002551EOF 
    2601 if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2552if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    26022553  rm -rf conftest* 
    26032554  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    26232574        unset ac_cv_lib_gd_gdImageSetAntiAliased 
    26242575    echo "checking whether GD needs libiconv..." 1>&6 
    2625 echo "configure:2626: checking whether GD needs libiconv..." >&5 
     2576echo "configure:2577: checking whether GD needs libiconv..." >&5 
    26262577    echo $ac_n "checking for gdImageSetAntiAliased in -lgd""... $ac_c" 1>&6 
    2627 echo "configure:2628: checking for gdImageSetAntiAliased in -lgd" >&5 
     2578echo "configure:2579: checking for gdImageSetAntiAliased in -lgd" >&5 
    26282579ac_lib_var=`echo gd'_'gdImageSetAntiAliased | sed 'y%./+-%__p_%'` 
    26292580if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    26332584LIBS="-lgd $GD_XTRA_LIBS -L$GD_LIBDIR $ICONV_LIB $LIBS" 
    26342585cat > conftest.$ac_ext <<EOF 
    2635 #line 2636 "configure" 
     2586#line 2587 "configure" 
    26362587#include "confdefs.h" 
    26372588/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    26442595; return 0; } 
    26452596EOF 
    2646 if { (eval echo configure:2647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2597if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    26472598  rm -rf conftest* 
    26482599  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    27062657 
    27072658        echo $ac_n "checking for gdImageSetAntiAliased in -lgd""... $ac_c" 1>&6 
    2708 echo "configure:2709: checking for gdImageSetAntiAliased in -lgd" >&5 
     2659echo "configure:2660: checking for gdImageSetAntiAliased in -lgd" >&5 
    27092660ac_lib_var=`echo gd'_'gdImageSetAntiAliased | sed 'y%./+-%__p_%'` 
    27102661if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    27142665LIBS="-lgd $GD_XTRA_LIBS $LIBS" 
    27152666cat > conftest.$ac_ext <<EOF 
    2716 #line 2717 "configure" 
     2667#line 2668 "configure" 
    27172668#include "confdefs.h" 
    27182669/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    27252676; return 0; } 
    27262677EOF 
    2727 if { (eval echo configure:2728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2678if { (eval echo configure:2679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    27282679  rm -rf conftest* 
    27292680  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    27482699    if test "$IS_GD2" = "false" -a -n "$ICONV_LIB"; then 
    27492700            echo "checking whether GD needs libiconv..." 1>&6 
    2750 echo "configure:2751: checking whether GD needs libiconv..." >&5 
     2701echo "configure:2702: checking whether GD needs libiconv..." >&5 
    27512702      unset ac_cv_lib_gd_gdImageSetAntiAliased 
    27522703      echo $ac_n "checking for gdImageSetAntiAliased in -lgd""... $ac_c" 1>&6 
    2753 echo "configure:2754: checking for gdImageSetAntiAliased in -lgd" >&5 
     2704echo "configure:2705: checking for gdImageSetAntiAliased in -lgd" >&5 
    27542705ac_lib_var=`echo gd'_'gdImageSetAntiAliased | sed 'y%./+-%__p_%'` 
    27552706if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    27592710LIBS="-lgd $GD_XTRA_LIBS $ICONV_LIB $LIBS" 
    27602711cat > conftest.$ac_ext <<EOF 
    2761 #line 2762 "configure" 
     2712#line 2713 "configure" 
    27622713#include "confdefs.h" 
    27632714/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    27702721; return 0; } 
    27712722EOF 
    2772 if { (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2723if { (eval echo configure:2724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    27732724  rm -rf conftest* 
    27742725  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    28462797 
    28472798  echo $ac_n "checking for gdImageGif in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    2848 echo "configure:2849: checking for gdImageGif in -l$GD_CHECKLIB" >&5 
     2799echo "configure:2800: checking for gdImageGif in -l$GD_CHECKLIB" >&5 
    28492800ac_lib_var=`echo $GD_CHECKLIB'_'gdImageGif | sed 'y%./+-%__p_%'` 
    28502801if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    28542805LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    28552806cat > conftest.$ac_ext <<EOF 
    2856 #line 2857 "configure" 
     2807#line 2808 "configure" 
    28572808#include "confdefs.h" 
    28582809/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    28652816; return 0; } 
    28662817EOF 
    2867 if { (eval echo configure:2868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2818if { (eval echo configure:2819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    28682819  rm -rf conftest* 
    28692820  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    28862837 
    28872838  echo $ac_n "checking for gdImagePng in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    2888 echo "configure:2889: checking for gdImagePng in -l$GD_CHECKLIB" >&5 
     2839echo "configure:2840: checking for gdImagePng in -l$GD_CHECKLIB" >&5 
    28892840ac_lib_var=`echo $GD_CHECKLIB'_'gdImagePng | sed 'y%./+-%__p_%'` 
    28902841if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    28942845LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    28952846cat > conftest.$ac_ext <<EOF 
    2896 #line 2897 "configure" 
     2847#line 2848 "configure" 
    28972848#include "confdefs.h" 
    28982849/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    29052856; return 0; } 
    29062857EOF 
    2907 if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2858if { (eval echo configure:2859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    29082859  rm -rf conftest* 
    29092860  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    29262877 
    29272878  echo $ac_n "checking for gdImageJpeg in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    2928 echo "configure:2929: checking for gdImageJpeg in -l$GD_CHECKLIB" >&5 
     2879echo "configure:2880: checking for gdImageJpeg in -l$GD_CHECKLIB" >&5 
    29292880ac_lib_var=`echo $GD_CHECKLIB'_'gdImageJpeg | sed 'y%./+-%__p_%'` 
    29302881if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    29342885LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    29352886cat > conftest.$ac_ext <<EOF 
    2936 #line 2937 "configure" 
     2887#line 2888 "configure" 
    29372888#include "confdefs.h" 
    29382889/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    29452896; return 0; } 
    29462897EOF 
    2947 if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2898if { (eval echo configure:2899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    29482899  rm -rf conftest* 
    29492900  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    29662917 
    29672918  echo $ac_n "checking for gdImageWBMP in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    2968 echo "configure:2969: checking for gdImageWBMP in -l$GD_CHECKLIB" >&5 
     2919echo "configure:2920: checking for gdImageWBMP in -l$GD_CHECKLIB" >&5 
    29692920ac_lib_var=`echo $GD_CHECKLIB'_'gdImageWBMP | sed 'y%./+-%__p_%'` 
    29702921if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    29742925LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    29752926cat > conftest.$ac_ext <<EOF 
    2976 #line 2977 "configure" 
     2927#line 2928 "configure" 
    29772928#include "confdefs.h" 
    29782929/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    29852936; return 0; } 
    29862937EOF 
    2987 if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2938if { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    29882939  rm -rf conftest* 
    29892940  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    30072958 
    30082959    echo $ac_n "checking for gdImageStringFT in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    3009 echo "configure:3010: checking for gdImageStringFT in -l$GD_CHECKLIB" >&5 
     2960echo "configure:2961: checking for gdImageStringFT in -l$GD_CHECKLIB" >&5 
    30102961ac_lib_var=`echo $GD_CHECKLIB'_'gdImageStringFT | sed 'y%./+-%__p_%'` 
    30112962if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    30152966LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    30162967cat > conftest.$ac_ext <<EOF 
    3017 #line 3018 "configure" 
     2968#line 2969 "configure" 
    30182969#include "confdefs.h" 
    30192970/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    30262977; return 0; } 
    30272978EOF 
    3028 if { (eval echo configure:3029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     2979if { (eval echo configure:2980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    30292980  rm -rf conftest* 
    30302981  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    30482999 
    30493000    echo $ac_n "checking for gdImageGifPtr in -l$GD_CHECKLIB""... $ac_c" 1>&6 
    3050 echo "configure:3051: checking for gdImageGifPtr in -l$GD_CHECKLIB" >&5 
     3001echo "configure:3002: checking for gdImageGifPtr in -l$GD_CHECKLIB" >&5 
    30513002ac_lib_var=`echo $GD_CHECKLIB'_'gdImageGifPtr | sed 'y%./+-%__p_%'` 
    30523003if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    30563007LIBS="-l$GD_CHECKLIB $GD_STATIC $GD_LIB $GD_XTRA_LIBS $LIBS" 
    30573008cat > conftest.$ac_ext <<EOF 
    3058 #line 3059 "configure" 
     3009#line 3010 "configure" 
    30593010#include "confdefs.h" 
    30603011/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    30673018; return 0; } 
    30683019EOF 
    3069 if { (eval echo configure:3070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3020if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    30703021  rm -rf conftest* 
    30713022  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    30943045       
    30953046    echo $ac_n "checking for gdImageCreate in -lgd""... $ac_c" 1>&6 
    3096 echo "configure:3097: checking for gdImageCreate in -lgd" >&5 
     3047echo "configure:3048: checking for gdImageCreate in -lgd" >&5 
    30973048ac_lib_var=`echo gd'_'gdImageCreate | sed 'y%./+-%__p_%'` 
    30983049if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    31023053LIBS="-lgd $GD_XTRA_LIBS $LIBS" 
    31033054cat > conftest.$ac_ext <<EOF 
    3104 #line 3105 "configure" 
     3055#line 3056 "configure" 
    31053056#include "confdefs.h" 
    31063057/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    31133064; return 0; } 
    31143065EOF 
    3115 if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3066if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    31163067  rm -rf conftest* 
    31173068  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    31383089 
    31393090    echo $ac_n "checking for gdImageGif in -lgd""... $ac_c" 1>&6 
    3140 echo "configure:3141: checking for gdImageGif in -lgd" >&5 
     3091echo "configure:3092: checking for gdImageGif in -lgd" >&5 
    31413092ac_lib_var=`echo gd'_'gdImageGif | sed 'y%./+-%__p_%'` 
    31423093if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
     
    31463097LIBS="-lgd $GD_LIB $GD_XTRA_LIBS $LIBS" 
    31473098cat > conftest.$ac_ext <<EOF 
    3148 #line 3149 "configure" 
     3099#line 3100 "configure" 
    31493100#include "confdefs.h" 
    31503101/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    31573108; return 0; } 
    31583109EOF 
    3159 if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     3110if { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    31603111  rm -rf conftest* 
    31613112  eval "ac_cv_lib_$ac_lib_var=yes" 
     
    31783129 
    31793130  echo $ac_n "checking for gdImagePng in -lgd""... $ac_c" 1>&6 
    3180 echo "configure:3181: checking for gdImagePng in -lgd" >&5