/[public]/psiconv/trunk/configure
ViewVC logotype

Diff of /psiconv/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 46 Revision 49
1239 echo "$ac_t""$LD" 1>&6 1239 echo "$ac_t""$LD" 1>&6
1240else 1240else
1241 echo "$ac_t""no" 1>&6 1241 echo "$ac_t""no" 1>&6
1242fi 1242fi
1243test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1243test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1244
1245echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1244echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1246echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5 1245echo "configure:1246: checking if the linker ($LD) is GNU ld" >&5
1247if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then 1246if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1248 echo $ac_n "(cached) $ac_c" 1>&6 1247 echo $ac_n "(cached) $ac_c" 1>&6
1249else 1248else
1250 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1249 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1251if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1250if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1257 1256
1258echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1257echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1259 1258
1260 1259
1261echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1260echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1262echo "configure:1263: checking for BSD-compatible nm" >&5 1261echo "configure:1262: checking for BSD-compatible nm" >&5
1263if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then 1262if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1264 echo $ac_n "(cached) $ac_c" 1>&6 1263 echo $ac_n "(cached) $ac_c" 1>&6
1265else 1264else
1266 if test -n "$NM"; then 1265 if test -n "$NM"; then
1267 # Let the user override the test. 1266 # Let the user override the test.
1292fi 1291fi
1293 1292
1294NM="$ac_cv_path_NM" 1293NM="$ac_cv_path_NM"
1295echo "$ac_t""$NM" 1>&6 1294echo "$ac_t""$NM" 1>&6
1296 1295
1297
1298echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1296echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1299echo "configure:1300: checking whether ln -s works" >&5 1297echo "configure:1298: checking whether ln -s works" >&5
1300if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1298if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1301 echo $ac_n "(cached) $ac_c" 1>&6 1299 echo $ac_n "(cached) $ac_c" 1>&6
1302else 1300else
1303 rm -f conftestdata 1301 rm -f conftestdata
1304if ln -s X conftestdata 2>/dev/null 1302if ln -s X conftestdata 2>/dev/null
1314 echo "$ac_t""yes" 1>&6 1312 echo "$ac_t""yes" 1>&6
1315else 1313else
1316 echo "$ac_t""no" 1>&6 1314 echo "$ac_t""no" 1>&6
1317fi 1315fi
1318 1316
1317
1318case "$target" in
1319NONE) lt_target="$host" ;;
1320*) lt_target="$target" ;;
1321esac
1319 1322
1320# Check for any special flags to pass to ltconfig. 1323# Check for any special flags to pass to ltconfig.
1321libtool_flags="--cache-file=$cache_file" 1324libtool_flags="--cache-file=$cache_file"
1322test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" 1325test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1323test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" 1326test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1335test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1338test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
1336test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1339test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
1337 1340
1338# Some flags need to be propagated to the compiler or linker for good 1341# Some flags need to be propagated to the compiler or linker for good
1339# libtool support. 1342# libtool support.
1340case "$host" in 1343case "$lt_target" in
1341*-*-irix6*) 1344*-*-irix6*)
1342 # Find out which ABI we are using. 1345 # Find out which ABI we are using.
1343 echo '#line 1344 "configure"' > conftest.$ac_ext 1346 echo '#line 1347 "configure"' > conftest.$ac_ext
1344 if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1347 if { (eval echo configure:1348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1345 case "`/usr/bin/file conftest.o`" in 1348 case "`/usr/bin/file conftest.o`" in
1346 *32-bit*) 1349 *32-bit*)
1347 LD="${LD-ld} -32" 1350 LD="${LD-ld} -32"
1348 ;; 1351 ;;
1349 *N32*) 1352 *N32*)
1360*-*-sco3.2v5*) 1363*-*-sco3.2v5*)
1361 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1364 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1362 SAVE_CFLAGS="$CFLAGS" 1365 SAVE_CFLAGS="$CFLAGS"
1363 CFLAGS="$CFLAGS -belf" 1366 CFLAGS="$CFLAGS -belf"
1364 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1367 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1365echo "configure:1366: checking whether the C compiler needs -belf" >&5 1368echo "configure:1369: checking whether the C compiler needs -belf" >&5
1366if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1369if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1367 echo $ac_n "(cached) $ac_c" 1>&6 1370 echo $ac_n "(cached) $ac_c" 1>&6
1368else 1371else
1369 cat > conftest.$ac_ext <<EOF 1372 cat > conftest.$ac_ext <<EOF
1370#line 1371 "configure" 1373#line 1374 "configure"
1371#include "confdefs.h" 1374#include "confdefs.h"
1372 1375
1373int main() { 1376int main() {
1374 1377
1375; return 0; } 1378; return 0; }
1376EOF 1379EOF
1377if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1380if { (eval echo configure:1381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1378 rm -rf conftest* 1381 rm -rf conftest*
1379 lt_cv_cc_needs_belf=yes 1382 lt_cv_cc_needs_belf=yes
1380else 1383else
1381 echo "configure: failed program was:" >&5 1384 echo "configure: failed program was:" >&5
1382 cat conftest.$ac_ext >&5 1385 cat conftest.$ac_ext >&5
1450CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ 1453CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
1451LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ 1454LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
1452LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ 1455LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
1453DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ 1456DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
1454${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 1457${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
1455$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ 1458$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
1456|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } 1459|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1457 1460
1458# Reload cache, that may have been modified by ltconfig 1461# Reload cache, that may have been modified by ltconfig
1459if test -r "$cache_file"; then 1462if test -r "$cache_file"; then
1460 echo "loading cache $cache_file" 1463 echo "loading cache $cache_file"
1484 enable_compile_warnings=minimum 1487 enable_compile_warnings=minimum
1485fi 1488fi
1486 1489
1487 1490
1488echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 1491echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6
1489echo "configure:1490: checking what warning flags to pass to the C compiler" >&5 1492echo "configure:1493: checking what warning flags to pass to the C compiler" >&5
1490warnCFLAGS= 1493warnCFLAGS=
1491if test "x$GCC" != xyes; then 1494if test "x$GCC" != xyes; then
1492 enable_compile_warnings=no 1495 enable_compile_warnings=no
1493fi 1496fi
1494if test "x$enable_compile_warnings" != "xno"; then 1497if test "x$enable_compile_warnings" != "xno"; then
1515 enable_iso_c=no 1518 enable_iso_c=no
1516fi 1519fi
1517 1520
1518 1521
1519echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 1522echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6
1520echo "configure:1521: checking what language compliance flags to pass to the C compiler" >&5 1523echo "configure:1524: checking what language compliance flags to pass to the C compiler" >&5
1521complCFLAGS= 1524complCFLAGS=
1522if test "x$enable_iso_c" != "xno"; then 1525if test "x$enable_iso_c" != "xno"; then
1523 if test "x$GCC" = "xyes"; then 1526 if test "x$GCC" = "xyes"; then
1524 case " $CFLAGS " in 1527 case " $CFLAGS " in
1525 *\ \ -ansi\ \ *) ;; 1528 *\ \ -ansi\ \ *) ;;
1547else 1550else
1548 IMAGEMAGICK='yes' 1551 IMAGEMAGICK='yes'
1549fi 1552fi
1550 1553
1551if test x"$IMAGEMAGICK" != xno ; then 1554if test x"$IMAGEMAGICK" != xno ; then
1552 echo $ac_n "checking for MagickWarning in -lMagick""... $ac_c" 1>&6 1555 echo $ac_n "checking for ConstituteImage in -lMagick""... $ac_c" 1>&6
1553echo "configure:1554: checking for MagickWarning in -lMagick" >&5 1556echo "configure:1557: checking for ConstituteImage in -lMagick" >&5
1554ac_lib_var=`echo Magick'_'MagickWarning | sed 'y%./+-%__p_%'` 1557ac_lib_var=`echo Magick'_'ConstituteImage | sed 'y%./+-%__p_%'`
1555if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1558if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1556 echo $ac_n "(cached) $ac_c" 1>&6 1559 echo $ac_n "(cached) $ac_c" 1>&6
1557else 1560else
1558 ac_save_LIBS="$LIBS" 1561 ac_save_LIBS="$LIBS"
1559LIBS="-lMagick $LIBS" 1562LIBS="-lMagick $LIBS"
1560cat > conftest.$ac_ext <<EOF 1563cat > conftest.$ac_ext <<EOF
1561#line 1562 "configure" 1564#line 1565 "configure"
1562#include "confdefs.h" 1565#include "confdefs.h"
1563/* Override any gcc2 internal prototype to avoid an error. */ 1566/* Override any gcc2 internal prototype to avoid an error. */
1564/* We use char because int might match the return type of a gcc2 1567/* We use char because int might match the return type of a gcc2
1565 builtin and then its argument prototype would still apply. */ 1568 builtin and then its argument prototype would still apply. */
1566char MagickWarning(); 1569char ConstituteImage();
1567 1570
1568int main() { 1571int main() {
1569MagickWarning() 1572ConstituteImage()
1570; return 0; } 1573; return 0; }
1571EOF 1574EOF
1572if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1575if { (eval echo configure:1576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1573 rm -rf conftest* 1576 rm -rf conftest*
1574 eval "ac_cv_lib_$ac_lib_var=yes" 1577 eval "ac_cv_lib_$ac_lib_var=yes"
1575else 1578else
1576 echo "configure: failed program was:" >&5 1579 echo "configure: failed program was:" >&5
1577 cat conftest.$ac_ext >&5 1580 cat conftest.$ac_ext >&5
1604 LIB_MAGICK= 1607 LIB_MAGICK=
1605fi 1608fi
1606 1609
1607 1610
1608echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1611echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1609echo "configure:1610: checking how to run the C preprocessor" >&5 1612echo "configure:1613: checking how to run the C preprocessor" >&5
1610# On Suns, sometimes $CPP names a directory. 1613# On Suns, sometimes $CPP names a directory.
1611if test -n "$CPP" && test -d "$CPP"; then 1614if test -n "$CPP" && test -d "$CPP"; then
1612 CPP= 1615 CPP=
1613fi 1616fi
1614if test -z "$CPP"; then 1617if test -z "$CPP"; then
1619 # substituted into the Makefile and "${CC-cc}" will confuse make. 1622 # substituted into the Makefile and "${CC-cc}" will confuse make.
1620 CPP="${CC-cc} -E" 1623 CPP="${CC-cc} -E"
1621 # On the NeXT, cc -E runs the code through the compiler's parser, 1624 # On the NeXT, cc -E runs the code through the compiler's parser,
1622 # not just through cpp. 1625 # not just through cpp.
1623 cat > conftest.$ac_ext <<EOF 1626 cat > conftest.$ac_ext <<EOF
1624#line 1625 "configure" 1627#line 1628 "configure"
1625#include "confdefs.h" 1628#include "confdefs.h"
1626#include <assert.h> 1629#include <assert.h>
1627Syntax Error 1630Syntax Error
1628EOF 1631EOF
1629ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1632ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1630{ (eval echo configure:1631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1633{ (eval echo configure:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1631ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1634ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1632if test -z "$ac_err"; then 1635if test -z "$ac_err"; then
1633 : 1636 :
1634else 1637else
1635 echo "$ac_err" >&5 1638 echo "$ac_err" >&5
1636 echo "configure: failed program was:" >&5 1639 echo "configure: failed program was:" >&5
1637 cat conftest.$ac_ext >&5 1640 cat conftest.$ac_ext >&5
1638 rm -rf conftest* 1641 rm -rf conftest*
1639 CPP="${CC-cc} -E -traditional-cpp" 1642 CPP="${CC-cc} -E -traditional-cpp"
1640 cat > conftest.$ac_ext <<EOF 1643 cat > conftest.$ac_ext <<EOF
1641#line 1642 "configure" 1644#line 1645 "configure"
1642#include "confdefs.h" 1645#include "confdefs.h"
1643#include <assert.h> 1646#include <assert.h>
1644Syntax Error 1647Syntax Error
1645EOF 1648EOF
1646ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1649ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1647{ (eval echo configure:1648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1650{ (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1648ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1651ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1649if test -z "$ac_err"; then 1652if test -z "$ac_err"; then
1650 : 1653 :
1651else 1654else
1652 echo "$ac_err" >&5 1655 echo "$ac_err" >&5
1653 echo "configure: failed program was:" >&5 1656 echo "configure: failed program was:" >&5
1654 cat conftest.$ac_ext >&5 1657 cat conftest.$ac_ext >&5
1655 rm -rf conftest* 1658 rm -rf conftest*
1656 CPP="${CC-cc} -nologo -E" 1659 CPP="${CC-cc} -nologo -E"
1657 cat > conftest.$ac_ext <<EOF 1660 cat > conftest.$ac_ext <<EOF
1658#line 1659 "configure" 1661#line 1662 "configure"
1659#include "confdefs.h" 1662#include "confdefs.h"
1660#include <assert.h> 1663#include <assert.h>
1661Syntax Error 1664Syntax Error
1662EOF 1665EOF
1663ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1666ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1664{ (eval echo configure:1665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1667{ (eval echo configure:1668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1665ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1668ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1666if test -z "$ac_err"; then 1669if test -z "$ac_err"; then
1667 : 1670 :
1668else 1671else
1669 echo "$ac_err" >&5 1672 echo "$ac_err" >&5
1684 ac_cv_prog_CPP="$CPP" 1687 ac_cv_prog_CPP="$CPP"
1685fi 1688fi
1686echo "$ac_t""$CPP" 1>&6 1689echo "$ac_t""$CPP" 1>&6
1687 1690
1688echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1691echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1689echo "configure:1690: checking for ANSI C header files" >&5 1692echo "configure:1693: checking for ANSI C header files" >&5
1690if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1693if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1691 echo $ac_n "(cached) $ac_c" 1>&6 1694 echo $ac_n "(cached) $ac_c" 1>&6
1692else 1695else
1693 cat > conftest.$ac_ext <<EOF 1696 cat > conftest.$ac_ext <<EOF
1694#line 1695 "configure" 1697#line 1698 "configure"
1695#include "confdefs.h" 1698#include "confdefs.h"
1696#include <stdlib.h> 1699#include <stdlib.h>
1697#include <stdarg.h> 1700#include <stdarg.h>
1698#include <string.h> 1701#include <string.h>
1699#include <float.h> 1702#include <float.h>
1700EOF 1703EOF
1701ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1704ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1702{ (eval echo configure:1703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1705{ (eval echo configure:1706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1703ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1706ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1704if test -z "$ac_err"; then 1707if test -z "$ac_err"; then
1705 rm -rf conftest* 1708 rm -rf conftest*
1706 ac_cv_header_stdc=yes 1709 ac_cv_header_stdc=yes
1707else 1710else
1714rm -f conftest* 1717rm -f conftest*
1715 1718
1716if test $ac_cv_header_stdc = yes; then 1719if test $ac_cv_header_stdc = yes; then
1717 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1718cat > conftest.$ac_ext <<EOF 1721cat > conftest.$ac_ext <<EOF
1719#line 1720 "configure" 1722#line 1723 "configure"
1720#include "confdefs.h" 1723#include "confdefs.h"
1721#include <string.h> 1724#include <string.h>
1722EOF 1725EOF
1723if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1726if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1724 egrep "memchr" >/dev/null 2>&1; then 1727 egrep "memchr" >/dev/null 2>&1; then
1732fi 1735fi
1733 1736
1734if test $ac_cv_header_stdc = yes; then 1737if test $ac_cv_header_stdc = yes; then
1735 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1738 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1736cat > conftest.$ac_ext <<EOF 1739cat > conftest.$ac_ext <<EOF
1737#line 1738 "configure" 1740#line 1741 "configure"
1738#include "confdefs.h" 1741#include "confdefs.h"
1739#include <stdlib.h> 1742#include <stdlib.h>
1740EOF 1743EOF
1741if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1744if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1742 egrep "free" >/dev/null 2>&1; then 1745 egrep "free" >/dev/null 2>&1; then
1753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1754if test "$cross_compiling" = yes; then 1757if test "$cross_compiling" = yes; then
1755 : 1758 :
1756else 1759else
1757 cat > conftest.$ac_ext <<EOF 1760 cat > conftest.$ac_ext <<EOF
1758#line 1759 "configure" 1761#line 1762 "configure"
1759#include "confdefs.h" 1762#include "confdefs.h"
1760#include <ctype.h> 1763#include <ctype.h>
1761#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1764#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1762#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1765#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1763#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1766#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1764int main () { int i; for (i = 0; i < 256; i++) 1767int main () { int i; for (i = 0; i < 256; i++)
1765if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1768if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1766exit (0); } 1769exit (0); }
1767 1770
1768EOF 1771EOF
1769if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1772if { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1770then 1773then
1771 : 1774 :
1772else 1775else
1773 echo "configure: failed program was:" >&5 1776 echo "configure: failed program was:" >&5
1774 cat conftest.$ac_ext >&5 1777 cat conftest.$ac_ext >&5
1791 1794
1792for ac_hdr in unistd.h 1795for ac_hdr in unistd.h
1793do 1796do
1794ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1797ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1795echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1798echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1796echo "configure:1797: checking for $ac_hdr" >&5 1799echo "configure:1800: checking for $ac_hdr" >&5
1797if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1800if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1798 echo $ac_n "(cached) $ac_c" 1>&6 1801 echo $ac_n "(cached) $ac_c" 1>&6
1799else 1802else
1800 cat > conftest.$ac_ext <<EOF 1803 cat > conftest.$ac_ext <<EOF
1801#line 1802 "configure" 1804#line 1805 "configure"
1802#include "confdefs.h" 1805#include "confdefs.h"
1803#include <$ac_hdr> 1806#include <$ac_hdr>
1804EOF 1807EOF
1805ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1808ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1806{ (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1809{ (eval echo configure:1810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1807ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1810ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1808if test -z "$ac_err"; then 1811if test -z "$ac_err"; then
1809 rm -rf conftest* 1812 rm -rf conftest*
1810 eval "ac_cv_header_$ac_safe=yes" 1813 eval "ac_cv_header_$ac_safe=yes"
1811else 1814else
1829fi 1832fi
1830done 1833done
1831 1834
1832 1835
1833echo $ac_n "checking for working const""... $ac_c" 1>&6 1836echo $ac_n "checking for working const""... $ac_c" 1>&6
1834echo "configure:1835: checking for working const" >&5 1837echo "configure:1838: checking for working const" >&5
1835if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1838if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6 1839 echo $ac_n "(cached) $ac_c" 1>&6
1837else 1840else
1838 cat > conftest.$ac_ext <<EOF 1841 cat > conftest.$ac_ext <<EOF
1839#line 1840 "configure" 1842#line 1843 "configure"
1840#include "confdefs.h" 1843#include "confdefs.h"
1841 1844
1842int main() { 1845int main() {
1843 1846
1844/* Ultrix mips cc rejects this. */ 1847/* Ultrix mips cc rejects this. */
1883 const int foo = 10; 1886 const int foo = 10;
1884} 1887}
1885 1888
1886; return 0; } 1889; return 0; }
1887EOF 1890EOF
1888if { (eval echo configure:1889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1891if { (eval echo configure:1892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1889 rm -rf conftest* 1892 rm -rf conftest*
1890 ac_cv_c_const=yes 1893 ac_cv_c_const=yes
1891else 1894else
1892 echo "configure: failed program was:" >&5 1895 echo "configure: failed program was:" >&5
1893 cat conftest.$ac_ext >&5 1896 cat conftest.$ac_ext >&5
1904EOF 1907EOF
1905 1908
1906fi 1909fi
1907 1910
1908echo $ac_n "checking for size_t""... $ac_c" 1>&6 1911echo $ac_n "checking for size_t""... $ac_c" 1>&6
1909echo "configure:1910: checking for size_t" >&5 1912echo "configure:1913: checking for size_t" >&5
1910if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1913if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1911 echo $ac_n "(cached) $ac_c" 1>&6 1914 echo $ac_n "(cached) $ac_c" 1>&6
1912else 1915else
1913 cat > conftest.$ac_ext <<EOF 1916 cat > conftest.$ac_ext <<EOF
1914#line 1915 "configure" 1917#line 1918 "configure"
1915#include "confdefs.h" 1918#include "confdefs.h"
1916#include <sys/types.h> 1919#include <sys/types.h>
1917#if STDC_HEADERS 1920#if STDC_HEADERS
1918#include <stdlib.h> 1921#include <stdlib.h>
1919#include <stddef.h> 1922#include <stddef.h>
1939fi 1942fi
1940 1943
1941 1944
1942 1945
1943echo $ac_n "checking size of char""... $ac_c" 1>&6 1946echo $ac_n "checking size of char""... $ac_c" 1>&6
1944echo "configure:1945: checking size of char" >&5 1947echo "configure:1948: checking size of char" >&5
1945if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 1948if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
1946 echo $ac_n "(cached) $ac_c" 1>&6 1949 echo $ac_n "(cached) $ac_c" 1>&6
1947else 1950else
1948 if test "$cross_compiling" = yes; then 1951 if test "$cross_compiling" = yes; then
1949 ac_cv_sizeof_char=1 1952 ac_cv_sizeof_char=1
1950else 1953else
1951 cat > conftest.$ac_ext <<EOF 1954 cat > conftest.$ac_ext <<EOF
1952#line 1953 "configure" 1955#line 1956 "configure"
1953#include "confdefs.h" 1956#include "confdefs.h"
1954#include <stdio.h> 1957#include <stdio.h>
1955main() 1958main()
1956{ 1959{
1957 FILE *f=fopen("conftestval", "w"); 1960 FILE *f=fopen("conftestval", "w");
1958 if (!f) exit(1); 1961 if (!f) exit(1);
1959 fprintf(f, "%d\n", sizeof(char)); 1962 fprintf(f, "%d\n", sizeof(char));
1960 exit(0); 1963 exit(0);
1961} 1964}
1962EOF 1965EOF
1963if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1966if { (eval echo configure:1967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1964then 1967then
1965 ac_cv_sizeof_char=`cat conftestval` 1968 ac_cv_sizeof_char=`cat conftestval`
1966else 1969else
1967 echo "configure: failed program was:" >&5 1970 echo "configure: failed program was:" >&5
1968 cat conftest.$ac_ext >&5 1971 cat conftest.$ac_ext >&5
1978#define SIZEOF_CHAR $ac_cv_sizeof_char 1981#define SIZEOF_CHAR $ac_cv_sizeof_char
1979EOF 1982EOF
1980 1983
1981 1984
1982echo $ac_n "checking size of short""... $ac_c" 1>&6 1985echo $ac_n "checking size of short""... $ac_c" 1>&6
1983echo "configure:1984: checking size of short" >&5 1986echo "configure:1987: checking size of short" >&5
1984if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 1987if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
1985 echo $ac_n "(cached) $ac_c" 1>&6 1988 echo $ac_n "(cached) $ac_c" 1>&6
1986else 1989else
1987 if test "$cross_compiling" = yes; then 1990 if test "$cross_compiling" = yes; then
1988 ac_cv_sizeof_short=1 1991 ac_cv_sizeof_short=1
1989else 1992else
1990 cat > conftest.$ac_ext <<EOF 1993 cat > conftest.$ac_ext <<EOF
1991#line 1992 "configure" 1994#line 1995 "configure"
1992#include "confdefs.h" 1995#include "confdefs.h"
1993#include <stdio.h> 1996#include <stdio.h>
1994main() 1997main()
1995{ 1998{
1996 FILE *f=fopen("conftestval", "w"); 1999 FILE *f=fopen("conftestval", "w");
1997 if (!f) exit(1); 2000 if (!f) exit(1);
1998 fprintf(f, "%d\n", sizeof(short)); 2001 fprintf(f, "%d\n", sizeof(short));
1999 exit(0); 2002 exit(0);
2000} 2003}
2001EOF 2004EOF
2002if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2005if { (eval echo configure:2006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2003then 2006then
2004 ac_cv_sizeof_short=`cat conftestval` 2007 ac_cv_sizeof_short=`cat conftestval`
2005else 2008else
2006 echo "configure: failed program was:" >&5 2009 echo "configure: failed program was:" >&5
2007 cat conftest.$ac_ext >&5 2010 cat conftest.$ac_ext >&5
2017#define SIZEOF_SHORT $ac_cv_sizeof_short 2020#define SIZEOF_SHORT $ac_cv_sizeof_short
2018EOF 2021EOF
2019 2022
2020 2023
2021echo $ac_n "checking size of int""... $ac_c" 1>&6 2024echo $ac_n "checking size of int""... $ac_c" 1>&6
2022echo "configure:2023: checking size of int" >&5 2025echo "configure:2026: checking size of int" >&5
2023if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 2026if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
2024 echo $ac_n "(cached) $ac_c" 1>&6 2027 echo $ac_n "(cached) $ac_c" 1>&6
2025else 2028else
2026 if test "$cross_compiling" = yes; then 2029 if test "$cross_compiling" = yes; then
2027 ac_cv_sizeof_int=2 2030 ac_cv_sizeof_int=2
2028else 2031else
2029 cat > conftest.$ac_ext <<EOF 2032 cat > conftest.$ac_ext <<EOF
2030#line 2031 "configure" 2033#line 2034 "configure"
2031#include "confdefs.h" 2034#include "confdefs.h"
2032#include <stdio.h> 2035#include <stdio.h>
2033main() 2036main()
2034{ 2037{
2035 FILE *f=fopen("conftestval", "w"); 2038 FILE *f=fopen("conftestval", "w");
2036 if (!f) exit(1); 2039 if (!f) exit(1);
2037 fprintf(f, "%d\n", sizeof(int)); 2040 fprintf(f, "%d\n", sizeof(int));
2038 exit(0); 2041 exit(0);
2039} 2042}
2040EOF 2043EOF
2041if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2044if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2042then 2045then
2043 ac_cv_sizeof_int=`cat conftestval` 2046 ac_cv_sizeof_int=`cat conftestval`
2044else 2047else
2045 echo "configure: failed program was:" >&5 2048 echo "configure: failed program was:" >&5
2046 cat conftest.$ac_ext >&5 2049 cat conftest.$ac_ext >&5
2056#define SIZEOF_INT $ac_cv_sizeof_int 2059#define SIZEOF_INT $ac_cv_sizeof_int
2057EOF 2060EOF
2058 2061
2059 2062
2060echo $ac_n "checking size of long""... $ac_c" 1>&6 2063echo $ac_n "checking size of long""... $ac_c" 1>&6
2061echo "configure:2062: checking size of long" >&5 2064echo "configure:2065: checking size of long" >&5
2062if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 2065if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
2063 echo $ac_n "(cached) $ac_c" 1>&6 2066 echo $ac_n "(cached) $ac_c" 1>&6
2064else 2067else
2065 if test "$cross_compiling" = yes; then 2068 if test "$cross_compiling" = yes; then
2066 ac_cv_sizeof_long=4 2069 ac_cv_sizeof_long=4
2067else 2070else
2068 cat > conftest.$ac_ext <<EOF 2071 cat > conftest.$ac_ext <<EOF
2069#line 2070 "configure" 2072#line 2073 "configure"
2070#include "confdefs.h" 2073#include "confdefs.h"
2071#include <stdio.h> 2074#include <stdio.h>
2072main() 2075main()
2073{ 2076{
2074 FILE *f=fopen("conftestval", "w"); 2077 FILE *f=fopen("conftestval", "w");
2075 if (!f) exit(1); 2078 if (!f) exit(1);
2076 fprintf(f, "%d\n", sizeof(long)); 2079 fprintf(f, "%d\n", sizeof(long));
2077 exit(0); 2080 exit(0);
2078} 2081}
2079EOF 2082EOF
2080if { (eval echo configure:2081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2083if { (eval echo configure:2084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2081then 2084then
2082 ac_cv_sizeof_long=`cat conftestval` 2085 ac_cv_sizeof_long=`cat conftestval`
2083else 2086else
2084 echo "configure: failed program was:" >&5 2087 echo "configure: failed program was:" >&5
2085 cat conftest.$ac_ext >&5 2088 cat conftest.$ac_ext >&5
2096EOF 2099EOF
2097 2100
2098 2101
2099 2102
2100echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 2103echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6
2101echo "configure:2102: checking for an 8 bit integer type" >&5 2104echo "configure:2105: checking for an 8 bit integer type" >&5
2102if test $ac_cv_sizeof_char -ge 1 ; then 2105if test $ac_cv_sizeof_char -ge 1 ; then
2103 INT_8_BIT=char 2106 INT_8_BIT=char
2104 echo "$ac_t""char" 1>&6 2107 echo "$ac_t""char" 1>&6
2105elif test $ac_cv_sizeof_short -ge 1 ; then 2108elif test $ac_cv_sizeof_short -ge 1 ; then
2106 INT_8_BIT=short 2109 INT_8_BIT=short
2114else 2117else
2115 { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } 2118 { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; }
2116fi 2119fi
2117 2120
2118echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 2121echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6
2119echo "configure:2120: checking for a 16 bit integer type" >&5 2122echo "configure:2123: checking for a 16 bit integer type" >&5
2120if test $ac_cv_sizeof_char -ge 2 ; then 2123if test $ac_cv_sizeof_char -ge 2 ; then
2121 INT_16_BIT=char 2124 INT_16_BIT=char
2122 echo "$ac_t""char" 1>&6 2125 echo "$ac_t""char" 1>&6
2123elif test $ac_cv_sizeof_short -ge 2 ; then 2126elif test $ac_cv_sizeof_short -ge 2 ; then
2124 INT_16_BIT=short 2127 INT_16_BIT=short
2132else 2135else
2133 { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } 2136 { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; }
2134fi 2137fi
2135 2138
2136echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 2139echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6
2137echo "configure:2138: checking for a 32 bit integer type" >&5 2140echo "configure:2141: checking for a 32 bit integer type" >&5
2138if test $ac_cv_sizeof_char -ge 4 ; then 2141if test $ac_cv_sizeof_char -ge 4 ; then
2139 INT_32_BIT=char 2142 INT_32_BIT=char
2140 echo "$ac_t""char" 1>&6 2143 echo "$ac_t""char" 1>&6
2141elif test $ac_cv_sizeof_short -ge 4 ; then 2144elif test $ac_cv_sizeof_short -ge 4 ; then
2142 INT_32_BIT=short 2145 INT_32_BIT=short
2154 2157
2155 2158
2156 2159
2157 2160
2158echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2161echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2159echo "configure:2160: checking for vprintf" >&5 2162echo "configure:2163: checking for vprintf" >&5
2160if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2163if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2161 echo $ac_n "(cached) $ac_c" 1>&6 2164 echo $ac_n "(cached) $ac_c" 1>&6
2162else 2165else
2163 cat > conftest.$ac_ext <<EOF 2166 cat > conftest.$ac_ext <<EOF
2164#line 2165 "configure" 2167#line 2168 "configure"
2165#include "confdefs.h" 2168#include "confdefs.h"
2166/* System header to define __stub macros and hopefully few prototypes, 2169/* System header to define __stub macros and hopefully few prototypes,
2167 which can conflict with char vprintf(); below. */ 2170 which can conflict with char vprintf(); below. */
2168#include <assert.h> 2171#include <assert.h>
2169/* Override any gcc2 internal prototype to avoid an error. */ 2172/* Override any gcc2 internal prototype to avoid an error. */
2182vprintf(); 2185vprintf();
2183#endif 2186#endif
2184 2187
2185; return 0; } 2188; return 0; }
2186EOF 2189EOF
2187if { (eval echo configure:2188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2190if { (eval echo configure:2191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2188 rm -rf conftest* 2191 rm -rf conftest*
2189 eval "ac_cv_func_vprintf=yes" 2192 eval "ac_cv_func_vprintf=yes"
2190else 2193else
2191 echo "configure: failed program was:" >&5 2194 echo "configure: failed program was:" >&5
2192 cat conftest.$ac_ext >&5 2195 cat conftest.$ac_ext >&5
2206 echo "$ac_t""no" 1>&6 2209 echo "$ac_t""no" 1>&6
2207fi 2210fi
2208 2211
2209if test "$ac_cv_func_vprintf" != yes; then 2212if test "$ac_cv_func_vprintf" != yes; then
2210echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2213echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2211echo "configure:2212: checking for _doprnt" >&5 2214echo "configure:2215: checking for _doprnt" >&5
2212if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2215if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2213 echo $ac_n "(cached) $ac_c" 1>&6 2216 echo $ac_n "(cached) $ac_c" 1>&6
2214else 2217else
2215 cat > conftest.$ac_ext <<EOF 2218 cat > conftest.$ac_ext <<EOF
2216#line 2217 "configure" 2219#line 2220 "configure"
2217#include "confdefs.h" 2220#include "confdefs.h"
2218/* System header to define __stub macros and hopefully few prototypes, 2221/* System header to define __stub macros and hopefully few prototypes,
2219 which can conflict with char _doprnt(); below. */ 2222 which can conflict with char _doprnt(); below. */
2220#include <assert.h> 2223#include <assert.h>
2221/* Override any gcc2 internal prototype to avoid an error. */ 2224/* Override any gcc2 internal prototype to avoid an error. */
2234_doprnt(); 2237_doprnt();
2235#endif 2238#endif
2236 2239
2237; return 0; } 2240; return 0; }
2238EOF 2241EOF
2239if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2242if { (eval echo configure:2243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2240 rm -rf conftest* 2243 rm -rf conftest*
2241 eval "ac_cv_func__doprnt=yes" 2244 eval "ac_cv_func__doprnt=yes"
2242else 2245else
2243 echo "configure: failed program was:" >&5 2246 echo "configure: failed program was:" >&5
2244 cat conftest.$ac_ext >&5 2247 cat conftest.$ac_ext >&5
2261fi 2264fi
2262 2265
2263for ac_func in strdup 2266for ac_func in strdup
2264do 2267do
2265echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2268echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2266echo "configure:2267: checking for $ac_func" >&5 2269echo "configure:2270: checking for $ac_func" >&5
2267if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2270if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2268 echo $ac_n "(cached) $ac_c" 1>&6 2271 echo $ac_n "(cached) $ac_c" 1>&6
2269else 2272else
2270 cat > conftest.$ac_ext <<EOF 2273 cat > conftest.$ac_ext <<EOF
2271#line 2272 "configure" 2274#line 2275 "configure"
2272#include "confdefs.h" 2275#include "confdefs.h"
2273/* System header to define __stub macros and hopefully few prototypes, 2276/* System header to define __stub macros and hopefully few prototypes,
2274 which can conflict with char $ac_func(); below. */ 2277 which can conflict with char $ac_func(); below. */
2275#include <assert.h> 2278#include <assert.h>
2276/* Override any gcc2 internal prototype to avoid an error. */ 2279/* Override any gcc2 internal prototype to avoid an error. */
2289$ac_func(); 2292$ac_func();
2290#endif 2293#endif
2291 2294
2292; return 0; } 2295; return 0; }
2293EOF 2296EOF
2294if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2297if { (eval echo configure:2298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2295 rm -rf conftest* 2298 rm -rf conftest*
2296 eval "ac_cv_func_$ac_func=yes" 2299 eval "ac_cv_func_$ac_func=yes"
2297else 2300else
2298 echo "configure: failed program was:" >&5 2301 echo "configure: failed program was:" >&5
2299 cat conftest.$ac_ext >&5 2302 cat conftest.$ac_ext >&5
2318 2321
2319 2322
2320for ac_func in getopt_long 2323for ac_func in getopt_long
2321do 2324do
2322echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2325echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2323echo "configure:2324: checking for $ac_func" >&5 2326echo "configure:2327: checking for $ac_func" >&5
2324if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2327if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2325 echo $ac_n "(cached) $ac_c" 1>&6 2328 echo $ac_n "(cached) $ac_c" 1>&6
2326else 2329else
2327 cat > conftest.$ac_ext <<EOF 2330 cat > conftest.$ac_ext <<EOF
2328#line 2329 "configure" 2331#line 2332 "configure"
2329#include "confdefs.h" 2332#include "confdefs.h"
2330/* System header to define __stub macros and hopefully few prototypes, 2333/* System header to define __stub macros and hopefully few prototypes,
2331 which can conflict with char $ac_func(); below. */ 2334 which can conflict with char $ac_func(); below. */
2332#include <assert.h> 2335#include <assert.h>
2333/* Override any gcc2 internal prototype to avoid an error. */ 2336/* Override any gcc2 internal prototype to avoid an error. */
2346$ac_func(); 2349$ac_func();
2347#endif 2350#endif
2348 2351
2349; return 0; } 2352; return 0; }
2350EOF 2353EOF
2351if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2354if { (eval echo configure:2355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2352 rm -rf conftest* 2355 rm -rf conftest*
2353 eval "ac_cv_func_$ac_func=yes" 2356 eval "ac_cv_func_$ac_func=yes"
2354else 2357else
2355 echo "configure: failed program was:" >&5 2358 echo "configure: failed program was:" >&5
2356 cat conftest.$ac_ext >&5 2359 cat conftest.$ac_ext >&5
2618s%@build_cpu@%$build_cpu%g 2621s%@build_cpu@%$build_cpu%g
2619s%@build_vendor@%$build_vendor%g 2622s%@build_vendor@%$build_vendor%g
2620s%@build_os@%$build_os%g 2623s%@build_os@%$build_os%g
2621s%@RANLIB@%$RANLIB%g 2624s%@RANLIB@%$RANLIB%g
2622s%@CC@%$CC%g 2625s%@CC@%$CC%g
2623s%@LD@%$LD%g
2624s%@NM@%$NM%g
2625s%@LN_S@%$LN_S%g 2626s%@LN_S@%$LN_S%g
2626s%@LIBTOOL@%$LIBTOOL%g 2627s%@LIBTOOL@%$LIBTOOL%g
2627s%@cflags_set@%$cflags_set%g 2628s%@cflags_set@%$cflags_set%g
2628s%@LIB_MAGICK@%$LIB_MAGICK%g 2629s%@LIB_MAGICK@%$LIB_MAGICK%g
2629s%@CPP@%$CPP%g 2630s%@CPP@%$CPP%g

Legend:
Removed from v.46  
changed lines
  Added in v.49

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26