| … |  | … |  | 
| 713 | fi | 713 | fi | 
| 714 |  | 714 |  | 
| 715 |  | 715 |  | 
| 716 | PACKAGE=psiconv | 716 | PACKAGE=psiconv | 
| 717 |  | 717 |  | 
| 718 | VERSION=0.5.0a | 718 | VERSION=0.6.1 | 
| 719 |  | 719 |  | 
| 720 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 720 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 
| 721 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 721 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 
| 722 | fi | 722 | fi | 
| 723 | cat >> confdefs.h <<EOF | 723 | cat >> confdefs.h <<EOF | 
| … |  | … |  | 
| 1239 | echo "$ac_t""$LD" 1>&6 | 1239 | echo "$ac_t""$LD" 1>&6 | 
| 1240 | else | 1240 | else | 
| 1241 | echo "$ac_t""no" 1>&6 | 1241 | echo "$ac_t""no" 1>&6 | 
| 1242 | fi | 1242 | fi | 
| 1243 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 1243 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 
| 1244 |  |  |  | 
| 1245 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1244 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 
| 1246 | echo "configure:1247: checking if the linker ($LD) is GNU ld" >&5 | 1245 | echo "configure:1246: checking if the linker ($LD) is GNU ld" >&5 | 
| 1247 | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | 1246 | if 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 | 
| 1249 | else | 1248 | else | 
| 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. | 
| 1251 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 1250 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
| … |  | … |  | 
| 1257 |  | 1256 |  | 
| 1258 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 1257 | echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | 
| 1259 |  | 1258 |  | 
| 1260 |  | 1259 |  | 
| 1261 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1260 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 
| 1262 | echo "configure:1263: checking for BSD-compatible nm" >&5 | 1261 | echo "configure:1262: checking for BSD-compatible nm" >&5 | 
| 1263 | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | 1262 | if 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 | 
| 1265 | else | 1264 | else | 
| 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. | 
| … |  | … |  | 
| 1292 | fi | 1291 | fi | 
| 1293 |  | 1292 |  | 
| 1294 | NM="$ac_cv_path_NM" | 1293 | NM="$ac_cv_path_NM" | 
| 1295 | echo "$ac_t""$NM" 1>&6 | 1294 | echo "$ac_t""$NM" 1>&6 | 
| 1296 |  | 1295 |  | 
| 1297 |  |  |  | 
| 1298 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1296 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 
| 1299 | echo "configure:1300: checking whether ln -s works" >&5 | 1297 | echo "configure:1298: checking whether ln -s works" >&5 | 
| 1300 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1298 | if 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 | 
| 1302 | else | 1300 | else | 
| 1303 | rm -f conftestdata | 1301 | rm -f conftestdata | 
| 1304 | if ln -s X conftestdata 2>/dev/null | 1302 | if ln -s X conftestdata 2>/dev/null | 
| … |  | … |  | 
| 1314 | echo "$ac_t""yes" 1>&6 | 1312 | echo "$ac_t""yes" 1>&6 | 
| 1315 | else | 1313 | else | 
| 1316 | echo "$ac_t""no" 1>&6 | 1314 | echo "$ac_t""no" 1>&6 | 
| 1317 | fi | 1315 | fi | 
| 1318 |  | 1316 |  | 
|  |  | 1317 |  | 
|  |  | 1318 | case "$target" in | 
|  |  | 1319 | NONE) lt_target="$host" ;; | 
|  |  | 1320 | *) lt_target="$target" ;; | 
|  |  | 1321 | esac | 
| 1319 |  | 1322 |  | 
| 1320 | # Check for any special flags to pass to ltconfig. | 1323 | # Check for any special flags to pass to ltconfig. | 
| 1321 | libtool_flags="--cache-file=$cache_file" | 1324 | libtool_flags="--cache-file=$cache_file" | 
| 1322 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | 1325 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | 
| 1323 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | 1326 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | 
| … |  | … |  | 
| 1335 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" | 1338 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" | 
| 1336 | test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | 1339 | test 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. | 
| 1340 | case "$host" in | 1343 | case "$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 | 
| 1365 | echo "configure:1366: checking whether the C compiler needs -belf" >&5 | 1368 | echo "configure:1369: checking whether the C compiler needs -belf" >&5 | 
| 1366 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 1369 | if 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 | 
| 1368 | else | 1371 | else | 
| 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 |  | 
| 1373 | int main() { | 1376 | int main() { | 
| 1374 |  | 1377 |  | 
| 1375 | ; return 0; } | 1378 | ; return 0; } | 
| 1376 | EOF | 1379 | EOF | 
| 1377 | if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1380 | if { (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 | 
| 1380 | else | 1383 | else | 
| 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 | 
| … |  | … |  | 
| 1450 | CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ | 1453 | CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ | 
| 1451 | LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ | 1454 | LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ | 
| 1452 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ | 1455 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ | 
| 1453 | DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ | 1456 | DLLTOOL="$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 | 
| 1459 | if test -r "$cache_file"; then | 1462 | if 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 | 
| 1485 | fi | 1488 | fi | 
| 1486 |  | 1489 |  | 
| 1487 |  | 1490 |  | 
| 1488 | echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 | 1491 | echo $ac_n "checking what warning flags to pass to the C compiler""... $ac_c" 1>&6 | 
| 1489 | echo "configure:1490: checking what warning flags to pass to the C compiler" >&5 | 1492 | echo "configure:1493: checking what warning flags to pass to the C compiler" >&5 | 
| 1490 | warnCFLAGS= | 1493 | warnCFLAGS= | 
| 1491 | if test "x$GCC" != xyes; then | 1494 | if test "x$GCC" != xyes; then | 
| 1492 | enable_compile_warnings=no | 1495 | enable_compile_warnings=no | 
| 1493 | fi | 1496 | fi | 
| 1494 | if test "x$enable_compile_warnings" != "xno"; then | 1497 | if test "x$enable_compile_warnings" != "xno"; then | 
| … |  | … |  | 
| 1515 | enable_iso_c=no | 1518 | enable_iso_c=no | 
| 1516 | fi | 1519 | fi | 
| 1517 |  | 1520 |  | 
| 1518 |  | 1521 |  | 
| 1519 | echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 | 1522 | echo $ac_n "checking what language compliance flags to pass to the C compiler""... $ac_c" 1>&6 | 
| 1520 | echo "configure:1521: checking what language compliance flags to pass to the C compiler" >&5 | 1523 | echo "configure:1524: checking what language compliance flags to pass to the C compiler" >&5 | 
| 1521 | complCFLAGS= | 1524 | complCFLAGS= | 
| 1522 | if test "x$enable_iso_c" != "xno"; then | 1525 | if 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\ \	*) ;; | 
| … |  | … |  | 
| 1547 | else | 1550 | else | 
| 1548 | IMAGEMAGICK='yes' | 1551 | IMAGEMAGICK='yes' | 
| 1549 | fi | 1552 | fi | 
| 1550 |  | 1553 |  | 
| 1551 | if test x"$IMAGEMAGICK" != xno ; then | 1554 | if 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 | 
| 1553 | echo "configure:1554: checking for MagickWarning in -lMagick" >&5 | 1556 | echo "configure:1557: checking for ConstituteImage in -lMagick" >&5 | 
| 1554 | ac_lib_var=`echo Magick'_'MagickWarning | sed 'y%./+-%__p_%'` | 1557 | ac_lib_var=`echo Magick'_'ConstituteImage | sed 'y%./+-%__p_%'` | 
| 1555 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1558 | if 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 | 
| 1557 | else | 1560 | else | 
| 1558 | ac_save_LIBS="$LIBS" | 1561 | ac_save_LIBS="$LIBS" | 
| 1559 | LIBS="-lMagick  $LIBS" | 1562 | LIBS="-lMagick  $LIBS" | 
| 1560 | cat > conftest.$ac_ext <<EOF | 1563 | cat > 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.  */ | 
| 1566 | char MagickWarning(); | 1569 | char ConstituteImage(); | 
| 1567 |  | 1570 |  | 
| 1568 | int main() { | 1571 | int main() { | 
| 1569 | MagickWarning() | 1572 | ConstituteImage() | 
| 1570 | ; return 0; } | 1573 | ; return 0; } | 
| 1571 | EOF | 1574 | EOF | 
| 1572 | if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1575 | if { (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" | 
| 1575 | else | 1578 | else | 
| 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 | 
| … |  | … |  | 
| 1588 | else | 1591 | else | 
| 1589 | echo "$ac_t""no" 1>&6 | 1592 | echo "$ac_t""no" 1>&6 | 
| 1590 | IMAGEMAGICK=no | 1593 | IMAGEMAGICK=no | 
| 1591 | fi | 1594 | fi | 
| 1592 |  | 1595 |  | 
|  |  | 1596 | if test x"$IMAGEMAGICK" != xno ; then | 
|  |  | 1597 | echo $ac_n "checking whether GetMagickInfo works""... $ac_c" 1>&6 | 
|  |  | 1598 | echo "configure:1599: checking whether GetMagickInfo works" >&5 | 
|  |  | 1599 | if test "$cross_compiling" = yes; then | 
|  |  | 1600 | IMAGEMAGICK=yes | 
|  |  | 1601 | else | 
|  |  | 1602 | cat > conftest.$ac_ext <<EOF | 
|  |  | 1603 | #line 1604 "configure" | 
|  |  | 1604 | #include "confdefs.h" | 
|  |  | 1605 | #include <magick/magick.h> | 
|  |  | 1606 | int main(void) { return (NULL ==  GetMagickInfo(NULL)) } | 
|  |  | 1607 | EOF | 
|  |  | 1608 | if { (eval echo configure:1609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
|  |  | 1609 | then | 
|  |  | 1610 | IMAGEMAGICK=yes | 
|  |  | 1611 | else | 
|  |  | 1612 | echo "configure: failed program was:" >&5 | 
|  |  | 1613 | cat conftest.$ac_ext >&5 | 
|  |  | 1614 | rm -fr conftest* | 
|  |  | 1615 | IMAGEMAGICK=no | 
|  |  | 1616 | fi | 
|  |  | 1617 | rm -fr conftest* | 
|  |  | 1618 | fi | 
|  |  | 1619 |  | 
|  |  | 1620 | echo "$ac_t""$IMAGEMAGICK" 1>&6 | 
|  |  | 1621 | fi | 
| 1593 | if test x"$IMAGEMAGICK" = xno ; then | 1622 | if test x"$IMAGEMAGICK" = xno ; then | 
| 1594 | echo "configure: warning: ImageMagick support disabled!" 1>&2 | 1623 | echo "configure: warning: ImageMagick support disabled!" 1>&2 | 
| 1595 | fi | 1624 | fi | 
| 1596 | fi | 1625 | fi | 
| 1597 | if test x"$IMAGEMAGICK" = xyes ; then | 1626 | if test x"$IMAGEMAGICK" = xyes ; then | 
| … |  | … |  | 
| 1604 | LIB_MAGICK= | 1633 | LIB_MAGICK= | 
| 1605 | fi | 1634 | fi | 
| 1606 |  | 1635 |  | 
| 1607 |  | 1636 |  | 
| 1608 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1637 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 
| 1609 | echo "configure:1610: checking how to run the C preprocessor" >&5 | 1638 | echo "configure:1639: checking how to run the C preprocessor" >&5 | 
| 1610 | # On Suns, sometimes $CPP names a directory. | 1639 | # On Suns, sometimes $CPP names a directory. | 
| 1611 | if test -n "$CPP" && test -d "$CPP"; then | 1640 | if test -n "$CPP" && test -d "$CPP"; then | 
| 1612 | CPP= | 1641 | CPP= | 
| 1613 | fi | 1642 | fi | 
| 1614 | if test -z "$CPP"; then | 1643 | if test -z "$CPP"; then | 
| … |  | … |  | 
| 1619 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 1648 | # substituted into the Makefile and "${CC-cc}" will confuse make. | 
| 1620 | CPP="${CC-cc} -E" | 1649 | CPP="${CC-cc} -E" | 
| 1621 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1650 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
| 1622 | # not just through cpp. | 1651 | # not just through cpp. | 
| 1623 | cat > conftest.$ac_ext <<EOF | 1652 | cat > conftest.$ac_ext <<EOF | 
| 1624 | #line 1625 "configure" | 1653 | #line 1654 "configure" | 
| 1625 | #include "confdefs.h" | 1654 | #include "confdefs.h" | 
| 1626 | #include <assert.h> | 1655 | #include <assert.h> | 
| 1627 | Syntax Error | 1656 | Syntax Error | 
| 1628 | EOF | 1657 | EOF | 
| 1629 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1658 | ac_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; } | 1659 | { (eval echo configure:1660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1631 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1660 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1632 | if test -z "$ac_err"; then | 1661 | if test -z "$ac_err"; then | 
| 1633 | : | 1662 | : | 
| 1634 | else | 1663 | else | 
| 1635 | echo "$ac_err" >&5 | 1664 | echo "$ac_err" >&5 | 
| 1636 | echo "configure: failed program was:" >&5 | 1665 | echo "configure: failed program was:" >&5 | 
| 1637 | cat conftest.$ac_ext >&5 | 1666 | cat conftest.$ac_ext >&5 | 
| 1638 | rm -rf conftest* | 1667 | rm -rf conftest* | 
| 1639 | CPP="${CC-cc} -E -traditional-cpp" | 1668 | CPP="${CC-cc} -E -traditional-cpp" | 
| 1640 | cat > conftest.$ac_ext <<EOF | 1669 | cat > conftest.$ac_ext <<EOF | 
| 1641 | #line 1642 "configure" | 1670 | #line 1671 "configure" | 
| 1642 | #include "confdefs.h" | 1671 | #include "confdefs.h" | 
| 1643 | #include <assert.h> | 1672 | #include <assert.h> | 
| 1644 | Syntax Error | 1673 | Syntax Error | 
| 1645 | EOF | 1674 | EOF | 
| 1646 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1675 | ac_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; } | 1676 | { (eval echo configure:1677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1648 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1677 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1649 | if test -z "$ac_err"; then | 1678 | if test -z "$ac_err"; then | 
| 1650 | : | 1679 | : | 
| 1651 | else | 1680 | else | 
| 1652 | echo "$ac_err" >&5 | 1681 | echo "$ac_err" >&5 | 
| 1653 | echo "configure: failed program was:" >&5 | 1682 | echo "configure: failed program was:" >&5 | 
| 1654 | cat conftest.$ac_ext >&5 | 1683 | cat conftest.$ac_ext >&5 | 
| 1655 | rm -rf conftest* | 1684 | rm -rf conftest* | 
| 1656 | CPP="${CC-cc} -nologo -E" | 1685 | CPP="${CC-cc} -nologo -E" | 
| 1657 | cat > conftest.$ac_ext <<EOF | 1686 | cat > conftest.$ac_ext <<EOF | 
| 1658 | #line 1659 "configure" | 1687 | #line 1688 "configure" | 
| 1659 | #include "confdefs.h" | 1688 | #include "confdefs.h" | 
| 1660 | #include <assert.h> | 1689 | #include <assert.h> | 
| 1661 | Syntax Error | 1690 | Syntax Error | 
| 1662 | EOF | 1691 | EOF | 
| 1663 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1692 | ac_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; } | 1693 | { (eval echo configure:1694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1665 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1694 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1666 | if test -z "$ac_err"; then | 1695 | if test -z "$ac_err"; then | 
| 1667 | : | 1696 | : | 
| 1668 | else | 1697 | else | 
| 1669 | echo "$ac_err" >&5 | 1698 | echo "$ac_err" >&5 | 
| … |  | … |  | 
| 1684 | ac_cv_prog_CPP="$CPP" | 1713 | ac_cv_prog_CPP="$CPP" | 
| 1685 | fi | 1714 | fi | 
| 1686 | echo "$ac_t""$CPP" 1>&6 | 1715 | echo "$ac_t""$CPP" 1>&6 | 
| 1687 |  | 1716 |  | 
| 1688 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1717 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 
| 1689 | echo "configure:1690: checking for ANSI C header files" >&5 | 1718 | echo "configure:1719: checking for ANSI C header files" >&5 | 
| 1690 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1719 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 
| 1691 | echo $ac_n "(cached) $ac_c" 1>&6 | 1720 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1692 | else | 1721 | else | 
| 1693 | cat > conftest.$ac_ext <<EOF | 1722 | cat > conftest.$ac_ext <<EOF | 
| 1694 | #line 1695 "configure" | 1723 | #line 1724 "configure" | 
| 1695 | #include "confdefs.h" | 1724 | #include "confdefs.h" | 
| 1696 | #include <stdlib.h> | 1725 | #include <stdlib.h> | 
| 1697 | #include <stdarg.h> | 1726 | #include <stdarg.h> | 
| 1698 | #include <string.h> | 1727 | #include <string.h> | 
| 1699 | #include <float.h> | 1728 | #include <float.h> | 
| 1700 | EOF | 1729 | EOF | 
| 1701 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1730 | ac_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; } | 1731 | { (eval echo configure:1732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1703 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1732 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1704 | if test -z "$ac_err"; then | 1733 | if test -z "$ac_err"; then | 
| 1705 | rm -rf conftest* | 1734 | rm -rf conftest* | 
| 1706 | ac_cv_header_stdc=yes | 1735 | ac_cv_header_stdc=yes | 
| 1707 | else | 1736 | else | 
| … |  | … |  | 
| 1714 | rm -f conftest* | 1743 | rm -f conftest* | 
| 1715 |  | 1744 |  | 
| 1716 | if test $ac_cv_header_stdc = yes; then | 1745 | if test $ac_cv_header_stdc = yes; then | 
| 1717 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1746 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| 1718 | cat > conftest.$ac_ext <<EOF | 1747 | cat > conftest.$ac_ext <<EOF | 
| 1719 | #line 1720 "configure" | 1748 | #line 1749 "configure" | 
| 1720 | #include "confdefs.h" | 1749 | #include "confdefs.h" | 
| 1721 | #include <string.h> | 1750 | #include <string.h> | 
| 1722 | EOF | 1751 | EOF | 
| 1723 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1752 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1724 | egrep "memchr" >/dev/null 2>&1; then | 1753 | egrep "memchr" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1732 | fi | 1761 | fi | 
| 1733 |  | 1762 |  | 
| 1734 | if test $ac_cv_header_stdc = yes; then | 1763 | if test $ac_cv_header_stdc = yes; then | 
| 1735 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1764 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| 1736 | cat > conftest.$ac_ext <<EOF | 1765 | cat > conftest.$ac_ext <<EOF | 
| 1737 | #line 1738 "configure" | 1766 | #line 1767 "configure" | 
| 1738 | #include "confdefs.h" | 1767 | #include "confdefs.h" | 
| 1739 | #include <stdlib.h> | 1768 | #include <stdlib.h> | 
| 1740 | EOF | 1769 | EOF | 
| 1741 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1770 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| 1742 | egrep "free" >/dev/null 2>&1; then | 1771 | egrep "free" >/dev/null 2>&1; then | 
| … |  | … |  | 
| 1753 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1782 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| 1754 | if test "$cross_compiling" = yes; then | 1783 | if test "$cross_compiling" = yes; then | 
| 1755 | : | 1784 | : | 
| 1756 | else | 1785 | else | 
| 1757 | cat > conftest.$ac_ext <<EOF | 1786 | cat > conftest.$ac_ext <<EOF | 
| 1758 | #line 1759 "configure" | 1787 | #line 1788 "configure" | 
| 1759 | #include "confdefs.h" | 1788 | #include "confdefs.h" | 
| 1760 | #include <ctype.h> | 1789 | #include <ctype.h> | 
| 1761 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1790 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| 1762 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1791 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| 1763 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1792 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| 1764 | int main () { int i; for (i = 0; i < 256; i++) | 1793 | int main () { int i; for (i = 0; i < 256; i++) | 
| 1765 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1794 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 
| 1766 | exit (0); } | 1795 | exit (0); } | 
| 1767 |  | 1796 |  | 
| 1768 | EOF | 1797 | EOF | 
| 1769 | if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1798 | if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1770 | then | 1799 | then | 
| 1771 | : | 1800 | : | 
| 1772 | else | 1801 | else | 
| 1773 | echo "configure: failed program was:" >&5 | 1802 | echo "configure: failed program was:" >&5 | 
| 1774 | cat conftest.$ac_ext >&5 | 1803 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1791 |  | 1820 |  | 
| 1792 | for ac_hdr in unistd.h | 1821 | for ac_hdr in unistd.h | 
| 1793 | do | 1822 | do | 
| 1794 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1823 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 
| 1795 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1824 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 
| 1796 | echo "configure:1797: checking for $ac_hdr" >&5 | 1825 | echo "configure:1826: checking for $ac_hdr" >&5 | 
| 1797 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1826 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 
| 1798 | echo $ac_n "(cached) $ac_c" 1>&6 | 1827 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1799 | else | 1828 | else | 
| 1800 | cat > conftest.$ac_ext <<EOF | 1829 | cat > conftest.$ac_ext <<EOF | 
| 1801 | #line 1802 "configure" | 1830 | #line 1831 "configure" | 
| 1802 | #include "confdefs.h" | 1831 | #include "confdefs.h" | 
| 1803 | #include <$ac_hdr> | 1832 | #include <$ac_hdr> | 
| 1804 | EOF | 1833 | EOF | 
| 1805 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1834 | ac_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; } | 1835 | { (eval echo configure:1836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
| 1807 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1836 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
| 1808 | if test -z "$ac_err"; then | 1837 | if test -z "$ac_err"; then | 
| 1809 | rm -rf conftest* | 1838 | rm -rf conftest* | 
| 1810 | eval "ac_cv_header_$ac_safe=yes" | 1839 | eval "ac_cv_header_$ac_safe=yes" | 
| 1811 | else | 1840 | else | 
| … |  | … |  | 
| 1829 | fi | 1858 | fi | 
| 1830 | done | 1859 | done | 
| 1831 |  | 1860 |  | 
| 1832 |  | 1861 |  | 
| 1833 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1862 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 
| 1834 | echo "configure:1835: checking for working const" >&5 | 1863 | echo "configure:1864: checking for working const" >&5 | 
| 1835 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 1864 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 
| 1836 | echo $ac_n "(cached) $ac_c" 1>&6 | 1865 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1837 | else | 1866 | else | 
| 1838 | cat > conftest.$ac_ext <<EOF | 1867 | cat > conftest.$ac_ext <<EOF | 
| 1839 | #line 1840 "configure" | 1868 | #line 1869 "configure" | 
| 1840 | #include "confdefs.h" | 1869 | #include "confdefs.h" | 
| 1841 |  | 1870 |  | 
| 1842 | int main() { | 1871 | int main() { | 
| 1843 |  | 1872 |  | 
| 1844 | /* Ultrix mips cc rejects this.  */ | 1873 | /* Ultrix mips cc rejects this.  */ | 
| … |  | … |  | 
| 1883 | const int foo = 10; | 1912 | const int foo = 10; | 
| 1884 | } | 1913 | } | 
| 1885 |  | 1914 |  | 
| 1886 | ; return 0; } | 1915 | ; return 0; } | 
| 1887 | EOF | 1916 | EOF | 
| 1888 | if { (eval echo configure:1889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1917 | if { (eval echo configure:1918: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
| 1889 | rm -rf conftest* | 1918 | rm -rf conftest* | 
| 1890 | ac_cv_c_const=yes | 1919 | ac_cv_c_const=yes | 
| 1891 | else | 1920 | else | 
| 1892 | echo "configure: failed program was:" >&5 | 1921 | echo "configure: failed program was:" >&5 | 
| 1893 | cat conftest.$ac_ext >&5 | 1922 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1904 | EOF | 1933 | EOF | 
| 1905 |  | 1934 |  | 
| 1906 | fi | 1935 | fi | 
| 1907 |  | 1936 |  | 
| 1908 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 1937 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 
| 1909 | echo "configure:1910: checking for size_t" >&5 | 1938 | echo "configure:1939: checking for size_t" >&5 | 
| 1910 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 1939 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 
| 1911 | echo $ac_n "(cached) $ac_c" 1>&6 | 1940 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1912 | else | 1941 | else | 
| 1913 | cat > conftest.$ac_ext <<EOF | 1942 | cat > conftest.$ac_ext <<EOF | 
| 1914 | #line 1915 "configure" | 1943 | #line 1944 "configure" | 
| 1915 | #include "confdefs.h" | 1944 | #include "confdefs.h" | 
| 1916 | #include <sys/types.h> | 1945 | #include <sys/types.h> | 
| 1917 | #if STDC_HEADERS | 1946 | #if STDC_HEADERS | 
| 1918 | #include <stdlib.h> | 1947 | #include <stdlib.h> | 
| 1919 | #include <stddef.h> | 1948 | #include <stddef.h> | 
| … |  | … |  | 
| 1939 | fi | 1968 | fi | 
| 1940 |  | 1969 |  | 
| 1941 |  | 1970 |  | 
| 1942 |  | 1971 |  | 
| 1943 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 1972 | echo $ac_n "checking size of char""... $ac_c" 1>&6 | 
| 1944 | echo "configure:1945: checking size of char" >&5 | 1973 | echo "configure:1974: checking size of char" >&5 | 
| 1945 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 1974 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then | 
| 1946 | echo $ac_n "(cached) $ac_c" 1>&6 | 1975 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1947 | else | 1976 | else | 
| 1948 | if test "$cross_compiling" = yes; then | 1977 | if test "$cross_compiling" = yes; then | 
| 1949 | ac_cv_sizeof_char=1 | 1978 | ac_cv_sizeof_char=1 | 
| 1950 | else | 1979 | else | 
| 1951 | cat > conftest.$ac_ext <<EOF | 1980 | cat > conftest.$ac_ext <<EOF | 
| 1952 | #line 1953 "configure" | 1981 | #line 1982 "configure" | 
| 1953 | #include "confdefs.h" | 1982 | #include "confdefs.h" | 
| 1954 | #include <stdio.h> | 1983 | #include <stdio.h> | 
| 1955 | main() | 1984 | main() | 
| 1956 | { | 1985 | { | 
| 1957 | FILE *f=fopen("conftestval", "w"); | 1986 | FILE *f=fopen("conftestval", "w"); | 
| 1958 | if (!f) exit(1); | 1987 | if (!f) exit(1); | 
| 1959 | fprintf(f, "%d\n", sizeof(char)); | 1988 | fprintf(f, "%d\n", sizeof(char)); | 
| 1960 | exit(0); | 1989 | exit(0); | 
| 1961 | } | 1990 | } | 
| 1962 | EOF | 1991 | EOF | 
| 1963 | if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1992 | if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 1964 | then | 1993 | then | 
| 1965 | ac_cv_sizeof_char=`cat conftestval` | 1994 | ac_cv_sizeof_char=`cat conftestval` | 
| 1966 | else | 1995 | else | 
| 1967 | echo "configure: failed program was:" >&5 | 1996 | echo "configure: failed program was:" >&5 | 
| 1968 | cat conftest.$ac_ext >&5 | 1997 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 1978 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 2007 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 
| 1979 | EOF | 2008 | EOF | 
| 1980 |  | 2009 |  | 
| 1981 |  | 2010 |  | 
| 1982 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 2011 | echo $ac_n "checking size of short""... $ac_c" 1>&6 | 
| 1983 | echo "configure:1984: checking size of short" >&5 | 2012 | echo "configure:2013: checking size of short" >&5 | 
| 1984 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 2013 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then | 
| 1985 | echo $ac_n "(cached) $ac_c" 1>&6 | 2014 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 1986 | else | 2015 | else | 
| 1987 | if test "$cross_compiling" = yes; then | 2016 | if test "$cross_compiling" = yes; then | 
| 1988 | ac_cv_sizeof_short=1 | 2017 | ac_cv_sizeof_short=1 | 
| 1989 | else | 2018 | else | 
| 1990 | cat > conftest.$ac_ext <<EOF | 2019 | cat > conftest.$ac_ext <<EOF | 
| 1991 | #line 1992 "configure" | 2020 | #line 2021 "configure" | 
| 1992 | #include "confdefs.h" | 2021 | #include "confdefs.h" | 
| 1993 | #include <stdio.h> | 2022 | #include <stdio.h> | 
| 1994 | main() | 2023 | main() | 
| 1995 | { | 2024 | { | 
| 1996 | FILE *f=fopen("conftestval", "w"); | 2025 | FILE *f=fopen("conftestval", "w"); | 
| 1997 | if (!f) exit(1); | 2026 | if (!f) exit(1); | 
| 1998 | fprintf(f, "%d\n", sizeof(short)); | 2027 | fprintf(f, "%d\n", sizeof(short)); | 
| 1999 | exit(0); | 2028 | exit(0); | 
| 2000 | } | 2029 | } | 
| 2001 | EOF | 2030 | EOF | 
| 2002 | if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2031 | if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 2003 | then | 2032 | then | 
| 2004 | ac_cv_sizeof_short=`cat conftestval` | 2033 | ac_cv_sizeof_short=`cat conftestval` | 
| 2005 | else | 2034 | else | 
| 2006 | echo "configure: failed program was:" >&5 | 2035 | echo "configure: failed program was:" >&5 | 
| 2007 | cat conftest.$ac_ext >&5 | 2036 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2017 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 2046 | #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| 2018 | EOF | 2047 | EOF | 
| 2019 |  | 2048 |  | 
| 2020 |  | 2049 |  | 
| 2021 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 2050 | echo $ac_n "checking size of int""... $ac_c" 1>&6 | 
| 2022 | echo "configure:2023: checking size of int" >&5 | 2051 | echo "configure:2052: checking size of int" >&5 | 
| 2023 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 2052 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 
| 2024 | echo $ac_n "(cached) $ac_c" 1>&6 | 2053 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2025 | else | 2054 | else | 
| 2026 | if test "$cross_compiling" = yes; then | 2055 | if test "$cross_compiling" = yes; then | 
| 2027 | ac_cv_sizeof_int=2 | 2056 | ac_cv_sizeof_int=2 | 
| 2028 | else | 2057 | else | 
| 2029 | cat > conftest.$ac_ext <<EOF | 2058 | cat > conftest.$ac_ext <<EOF | 
| 2030 | #line 2031 "configure" | 2059 | #line 2060 "configure" | 
| 2031 | #include "confdefs.h" | 2060 | #include "confdefs.h" | 
| 2032 | #include <stdio.h> | 2061 | #include <stdio.h> | 
| 2033 | main() | 2062 | main() | 
| 2034 | { | 2063 | { | 
| 2035 | FILE *f=fopen("conftestval", "w"); | 2064 | FILE *f=fopen("conftestval", "w"); | 
| 2036 | if (!f) exit(1); | 2065 | if (!f) exit(1); | 
| 2037 | fprintf(f, "%d\n", sizeof(int)); | 2066 | fprintf(f, "%d\n", sizeof(int)); | 
| 2038 | exit(0); | 2067 | exit(0); | 
| 2039 | } | 2068 | } | 
| 2040 | EOF | 2069 | EOF | 
| 2041 | if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2070 | if { (eval echo configure:2071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 2042 | then | 2071 | then | 
| 2043 | ac_cv_sizeof_int=`cat conftestval` | 2072 | ac_cv_sizeof_int=`cat conftestval` | 
| 2044 | else | 2073 | else | 
| 2045 | echo "configure: failed program was:" >&5 | 2074 | echo "configure: failed program was:" >&5 | 
| 2046 | cat conftest.$ac_ext >&5 | 2075 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2056 | #define SIZEOF_INT $ac_cv_sizeof_int | 2085 | #define SIZEOF_INT $ac_cv_sizeof_int | 
| 2057 | EOF | 2086 | EOF | 
| 2058 |  | 2087 |  | 
| 2059 |  | 2088 |  | 
| 2060 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 2089 | echo $ac_n "checking size of long""... $ac_c" 1>&6 | 
| 2061 | echo "configure:2062: checking size of long" >&5 | 2090 | echo "configure:2091: checking size of long" >&5 | 
| 2062 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 2091 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then | 
| 2063 | echo $ac_n "(cached) $ac_c" 1>&6 | 2092 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2064 | else | 2093 | else | 
| 2065 | if test "$cross_compiling" = yes; then | 2094 | if test "$cross_compiling" = yes; then | 
| 2066 | ac_cv_sizeof_long=4 | 2095 | ac_cv_sizeof_long=4 | 
| 2067 | else | 2096 | else | 
| 2068 | cat > conftest.$ac_ext <<EOF | 2097 | cat > conftest.$ac_ext <<EOF | 
| 2069 | #line 2070 "configure" | 2098 | #line 2099 "configure" | 
| 2070 | #include "confdefs.h" | 2099 | #include "confdefs.h" | 
| 2071 | #include <stdio.h> | 2100 | #include <stdio.h> | 
| 2072 | main() | 2101 | main() | 
| 2073 | { | 2102 | { | 
| 2074 | FILE *f=fopen("conftestval", "w"); | 2103 | FILE *f=fopen("conftestval", "w"); | 
| 2075 | if (!f) exit(1); | 2104 | if (!f) exit(1); | 
| 2076 | fprintf(f, "%d\n", sizeof(long)); | 2105 | fprintf(f, "%d\n", sizeof(long)); | 
| 2077 | exit(0); | 2106 | exit(0); | 
| 2078 | } | 2107 | } | 
| 2079 | EOF | 2108 | EOF | 
| 2080 | if { (eval echo configure:2081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2109 | if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 
| 2081 | then | 2110 | then | 
| 2082 | ac_cv_sizeof_long=`cat conftestval` | 2111 | ac_cv_sizeof_long=`cat conftestval` | 
| 2083 | else | 2112 | else | 
| 2084 | echo "configure: failed program was:" >&5 | 2113 | echo "configure: failed program was:" >&5 | 
| 2085 | cat conftest.$ac_ext >&5 | 2114 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2096 | EOF | 2125 | EOF | 
| 2097 |  | 2126 |  | 
| 2098 |  | 2127 |  | 
| 2099 |  | 2128 |  | 
| 2100 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 2129 | echo $ac_n "checking for an 8 bit integer type""... $ac_c" 1>&6 | 
| 2101 | echo "configure:2102: checking for an 8 bit integer type" >&5 | 2130 | echo "configure:2131: checking for an 8 bit integer type" >&5 | 
| 2102 | if test $ac_cv_sizeof_char -ge 1 ; then | 2131 | if test $ac_cv_sizeof_char -ge 1 ; then | 
| 2103 | INT_8_BIT=char | 2132 | INT_8_BIT=char | 
| 2104 | echo "$ac_t""char" 1>&6 | 2133 | echo "$ac_t""char" 1>&6 | 
| 2105 | elif test $ac_cv_sizeof_short -ge 1 ; then | 2134 | elif test $ac_cv_sizeof_short -ge 1 ; then | 
| 2106 | INT_8_BIT=short | 2135 | INT_8_BIT=short | 
| … |  | … |  | 
| 2114 | else | 2143 | else | 
| 2115 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 2144 | { echo "configure: error: No integer type of at least 8 bits found" 1>&2; exit 1; } | 
| 2116 | fi | 2145 | fi | 
| 2117 |  | 2146 |  | 
| 2118 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 2147 | echo $ac_n "checking for a 16 bit integer type""... $ac_c" 1>&6 | 
| 2119 | echo "configure:2120: checking for a 16 bit integer type" >&5 | 2148 | echo "configure:2149: checking for a 16 bit integer type" >&5 | 
| 2120 | if test $ac_cv_sizeof_char -ge 2 ; then | 2149 | if test $ac_cv_sizeof_char -ge 2 ; then | 
| 2121 | INT_16_BIT=char | 2150 | INT_16_BIT=char | 
| 2122 | echo "$ac_t""char" 1>&6 | 2151 | echo "$ac_t""char" 1>&6 | 
| 2123 | elif test $ac_cv_sizeof_short -ge 2 ; then | 2152 | elif test $ac_cv_sizeof_short -ge 2 ; then | 
| 2124 | INT_16_BIT=short | 2153 | INT_16_BIT=short | 
| … |  | … |  | 
| 2132 | else | 2161 | else | 
| 2133 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 2162 | { echo "configure: error: No integer type of at least 16 bits found" 1>&2; exit 1; } | 
| 2134 | fi | 2163 | fi | 
| 2135 |  | 2164 |  | 
| 2136 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 2165 | echo $ac_n "checking for a 32 bit integer type""... $ac_c" 1>&6 | 
| 2137 | echo "configure:2138: checking for a 32 bit integer type" >&5 | 2166 | echo "configure:2167: checking for a 32 bit integer type" >&5 | 
| 2138 | if test $ac_cv_sizeof_char -ge 4 ; then | 2167 | if test $ac_cv_sizeof_char -ge 4 ; then | 
| 2139 | INT_32_BIT=char | 2168 | INT_32_BIT=char | 
| 2140 | echo "$ac_t""char" 1>&6 | 2169 | echo "$ac_t""char" 1>&6 | 
| 2141 | elif test $ac_cv_sizeof_short -ge 4 ; then | 2170 | elif test $ac_cv_sizeof_short -ge 4 ; then | 
| 2142 | INT_32_BIT=short | 2171 | INT_32_BIT=short | 
| … |  | … |  | 
| 2154 |  | 2183 |  | 
| 2155 |  | 2184 |  | 
| 2156 |  | 2185 |  | 
| 2157 |  | 2186 |  | 
| 2158 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 2187 | echo $ac_n "checking for vprintf""... $ac_c" 1>&6 | 
| 2159 | echo "configure:2160: checking for vprintf" >&5 | 2188 | echo "configure:2189: checking for vprintf" >&5 | 
| 2160 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 2189 | if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then | 
| 2161 | echo $ac_n "(cached) $ac_c" 1>&6 | 2190 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2162 | else | 2191 | else | 
| 2163 | cat > conftest.$ac_ext <<EOF | 2192 | cat > conftest.$ac_ext <<EOF | 
| 2164 | #line 2165 "configure" | 2193 | #line 2194 "configure" | 
| 2165 | #include "confdefs.h" | 2194 | #include "confdefs.h" | 
| 2166 | /* System header to define __stub macros and hopefully few prototypes, | 2195 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2167 | which can conflict with char vprintf(); below.  */ | 2196 | which can conflict with char vprintf(); below.  */ | 
| 2168 | #include <assert.h> | 2197 | #include <assert.h> | 
| 2169 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2198 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2182 | vprintf(); | 2211 | vprintf(); | 
| 2183 | #endif | 2212 | #endif | 
| 2184 |  | 2213 |  | 
| 2185 | ; return 0; } | 2214 | ; return 0; } | 
| 2186 | EOF | 2215 | EOF | 
| 2187 | if { (eval echo configure:2188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2216 | if { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2188 | rm -rf conftest* | 2217 | rm -rf conftest* | 
| 2189 | eval "ac_cv_func_vprintf=yes" | 2218 | eval "ac_cv_func_vprintf=yes" | 
| 2190 | else | 2219 | else | 
| 2191 | echo "configure: failed program was:" >&5 | 2220 | echo "configure: failed program was:" >&5 | 
| 2192 | cat conftest.$ac_ext >&5 | 2221 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2206 | echo "$ac_t""no" 1>&6 | 2235 | echo "$ac_t""no" 1>&6 | 
| 2207 | fi | 2236 | fi | 
| 2208 |  | 2237 |  | 
| 2209 | if test "$ac_cv_func_vprintf" != yes; then | 2238 | if test "$ac_cv_func_vprintf" != yes; then | 
| 2210 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 2239 | echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 | 
| 2211 | echo "configure:2212: checking for _doprnt" >&5 | 2240 | echo "configure:2241: checking for _doprnt" >&5 | 
| 2212 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 2241 | if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then | 
| 2213 | echo $ac_n "(cached) $ac_c" 1>&6 | 2242 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2214 | else | 2243 | else | 
| 2215 | cat > conftest.$ac_ext <<EOF | 2244 | cat > conftest.$ac_ext <<EOF | 
| 2216 | #line 2217 "configure" | 2245 | #line 2246 "configure" | 
| 2217 | #include "confdefs.h" | 2246 | #include "confdefs.h" | 
| 2218 | /* System header to define __stub macros and hopefully few prototypes, | 2247 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2219 | which can conflict with char _doprnt(); below.  */ | 2248 | which can conflict with char _doprnt(); below.  */ | 
| 2220 | #include <assert.h> | 2249 | #include <assert.h> | 
| 2221 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2250 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2234 | _doprnt(); | 2263 | _doprnt(); | 
| 2235 | #endif | 2264 | #endif | 
| 2236 |  | 2265 |  | 
| 2237 | ; return 0; } | 2266 | ; return 0; } | 
| 2238 | EOF | 2267 | EOF | 
| 2239 | if { (eval echo configure:2240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2268 | if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2240 | rm -rf conftest* | 2269 | rm -rf conftest* | 
| 2241 | eval "ac_cv_func__doprnt=yes" | 2270 | eval "ac_cv_func__doprnt=yes" | 
| 2242 | else | 2271 | else | 
| 2243 | echo "configure: failed program was:" >&5 | 2272 | echo "configure: failed program was:" >&5 | 
| 2244 | cat conftest.$ac_ext >&5 | 2273 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2261 | fi | 2290 | fi | 
| 2262 |  | 2291 |  | 
| 2263 | for ac_func in strdup | 2292 | for ac_func in strdup | 
| 2264 | do | 2293 | do | 
| 2265 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2294 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2266 | echo "configure:2267: checking for $ac_func" >&5 | 2295 | echo "configure:2296: checking for $ac_func" >&5 | 
| 2267 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2296 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2268 | echo $ac_n "(cached) $ac_c" 1>&6 | 2297 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2269 | else | 2298 | else | 
| 2270 | cat > conftest.$ac_ext <<EOF | 2299 | cat > conftest.$ac_ext <<EOF | 
| 2271 | #line 2272 "configure" | 2300 | #line 2301 "configure" | 
| 2272 | #include "confdefs.h" | 2301 | #include "confdefs.h" | 
| 2273 | /* System header to define __stub macros and hopefully few prototypes, | 2302 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2274 | which can conflict with char $ac_func(); below.  */ | 2303 | which can conflict with char $ac_func(); below.  */ | 
| 2275 | #include <assert.h> | 2304 | #include <assert.h> | 
| 2276 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2305 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2289 | $ac_func(); | 2318 | $ac_func(); | 
| 2290 | #endif | 2319 | #endif | 
| 2291 |  | 2320 |  | 
| 2292 | ; return 0; } | 2321 | ; return 0; } | 
| 2293 | EOF | 2322 | EOF | 
| 2294 | if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2323 | if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2295 | rm -rf conftest* | 2324 | rm -rf conftest* | 
| 2296 | eval "ac_cv_func_$ac_func=yes" | 2325 | eval "ac_cv_func_$ac_func=yes" | 
| 2297 | else | 2326 | else | 
| 2298 | echo "configure: failed program was:" >&5 | 2327 | echo "configure: failed program was:" >&5 | 
| 2299 | cat conftest.$ac_ext >&5 | 2328 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2318 |  | 2347 |  | 
| 2319 |  | 2348 |  | 
| 2320 | for ac_func in getopt_long | 2349 | for ac_func in getopt_long | 
| 2321 | do | 2350 | do | 
| 2322 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2351 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 
| 2323 | echo "configure:2324: checking for $ac_func" >&5 | 2352 | echo "configure:2353: checking for $ac_func" >&5 | 
| 2324 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2353 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 
| 2325 | echo $ac_n "(cached) $ac_c" 1>&6 | 2354 | echo $ac_n "(cached) $ac_c" 1>&6 | 
| 2326 | else | 2355 | else | 
| 2327 | cat > conftest.$ac_ext <<EOF | 2356 | cat > conftest.$ac_ext <<EOF | 
| 2328 | #line 2329 "configure" | 2357 | #line 2358 "configure" | 
| 2329 | #include "confdefs.h" | 2358 | #include "confdefs.h" | 
| 2330 | /* System header to define __stub macros and hopefully few prototypes, | 2359 | /* System header to define __stub macros and hopefully few prototypes, | 
| 2331 | which can conflict with char $ac_func(); below.  */ | 2360 | which can conflict with char $ac_func(); below.  */ | 
| 2332 | #include <assert.h> | 2361 | #include <assert.h> | 
| 2333 | /* Override any gcc2 internal prototype to avoid an error.  */ | 2362 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
| … |  | … |  | 
| 2346 | $ac_func(); | 2375 | $ac_func(); | 
| 2347 | #endif | 2376 | #endif | 
| 2348 |  | 2377 |  | 
| 2349 | ; return 0; } | 2378 | ; return 0; } | 
| 2350 | EOF | 2379 | EOF | 
| 2351 | if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2380 | if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
| 2352 | rm -rf conftest* | 2381 | rm -rf conftest* | 
| 2353 | eval "ac_cv_func_$ac_func=yes" | 2382 | eval "ac_cv_func_$ac_func=yes" | 
| 2354 | else | 2383 | else | 
| 2355 | echo "configure: failed program was:" >&5 | 2384 | echo "configure: failed program was:" >&5 | 
| 2356 | cat conftest.$ac_ext >&5 | 2385 | cat conftest.$ac_ext >&5 | 
| … |  | … |  | 
| 2618 | s%@build_cpu@%$build_cpu%g | 2647 | s%@build_cpu@%$build_cpu%g | 
| 2619 | s%@build_vendor@%$build_vendor%g | 2648 | s%@build_vendor@%$build_vendor%g | 
| 2620 | s%@build_os@%$build_os%g | 2649 | s%@build_os@%$build_os%g | 
| 2621 | s%@RANLIB@%$RANLIB%g | 2650 | s%@RANLIB@%$RANLIB%g | 
| 2622 | s%@CC@%$CC%g | 2651 | s%@CC@%$CC%g | 
| 2623 | s%@LD@%$LD%g |  |  | 
| 2624 | s%@NM@%$NM%g |  |  | 
| 2625 | s%@LN_S@%$LN_S%g | 2652 | s%@LN_S@%$LN_S%g | 
| 2626 | s%@LIBTOOL@%$LIBTOOL%g | 2653 | s%@LIBTOOL@%$LIBTOOL%g | 
| 2627 | s%@cflags_set@%$cflags_set%g | 2654 | s%@cflags_set@%$cflags_set%g | 
| 2628 | s%@LIB_MAGICK@%$LIB_MAGICK%g | 2655 | s%@LIB_MAGICK@%$LIB_MAGICK%g | 
| 2629 | s%@CPP@%$CPP%g | 2656 | s%@CPP@%$CPP%g |