comparison configure @ 447:00924eeb2ec8 3.0

Fixed segfault with output outside of a section
author lost@l-w.ca
date Thu, 04 Nov 2010 23:25:18 -0600
parents a9521955554f
children
comparison
equal deleted inserted replaced
446:194787ce2a77 447:00924eeb2ec8
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for LWTools 3.0.1. 3 # Generated by GNU Autoconf 2.67 for LWTools 3.0.2-dev.
4 # 4 #
5 # Report bugs to <lost@l-w.ca>. 5 # Report bugs to <lost@l-w.ca>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Inc. 10 # Foundation, Inc.
11 # 11 #
12 # 12 #
13 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ## 15 ## -------------------- ##
316 } 316 }
317 s/.*/./; q'` 317 s/.*/./; q'`
318 test -d "$as_dir" && break 318 test -d "$as_dir" && break
319 done 319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs" 320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 321 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322 322
323 323
324 } # as_fn_mkdir_p 324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE 325 # as_fn_append VAR VALUE
326 # ---------------------- 326 # ----------------------
356 as_val=`expr "$@" || test $? -eq 1` 356 as_val=`expr "$@" || test $? -eq 1`
357 } 357 }
358 fi # as_fn_arith 358 fi # as_fn_arith
359 359
360 360
361 # as_fn_error ERROR [LINENO LOG_FD] 361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
362 # --------------------------------- 362 # ----------------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0. 365 # script with STATUS, using 1 if that was 0.
366 as_fn_error () 366 as_fn_error ()
367 { 367 {
368 as_status=$?; test $as_status -eq 0 && as_status=1 368 as_status=$1; test $as_status -eq 0 && as_status=1
369 if test "$3"; then 369 if test "$4"; then
370 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 370 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372 fi 372 fi
373 $as_echo "$as_me: error: $1" >&2 373 $as_echo "$as_me: error: $2" >&2
374 as_fn_exit $as_status 374 as_fn_exit $as_status
375 } # as_fn_error 375 } # as_fn_error
376 376
377 if expr a : '\(a\)' >/dev/null 2>&1 && 377 if expr a : '\(a\)' >/dev/null 2>&1 &&
378 test "X`expr 00001 : '.*\(...\)'`" = X001; then 378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
530 530
531 test -n "$DJDIR" || exec 7<&0 </dev/null 531 test -n "$DJDIR" || exec 7<&0 </dev/null
532 exec 6>&1 532 exec 6>&1
533 533
534 # Name of the host. 534 # Name of the host.
535 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 535 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536 # so uname gets run too. 536 # so uname gets run too.
537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 537 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538 538
539 # 539 #
540 # Initializations. 540 # Initializations.
549 MAKEFLAGS= 549 MAKEFLAGS=
550 550
551 # Identity of this package. 551 # Identity of this package.
552 PACKAGE_NAME='LWTools' 552 PACKAGE_NAME='LWTools'
553 PACKAGE_TARNAME='lwtools' 553 PACKAGE_TARNAME='lwtools'
554 PACKAGE_VERSION='3.0.1' 554 PACKAGE_VERSION='3.0.2-dev'
555 PACKAGE_STRING='LWTools 3.0.1' 555 PACKAGE_STRING='LWTools 3.0.2-dev'
556 PACKAGE_BUGREPORT='lost@l-w.ca' 556 PACKAGE_BUGREPORT='lost@l-w.ca'
557 PACKAGE_URL='' 557 PACKAGE_URL=''
558 558
559 # Factoring default headers for most tests. 559 # Factoring default headers for most tests.
560 ac_includes_default="\ 560 ac_includes_default="\
1160 ac_prev= 1160 ac_prev=
1161 continue 1161 continue
1162 fi 1162 fi
1163 1163
1164 case $ac_option in 1164 case $ac_option in
1165 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1165 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1166 *) ac_optarg=yes ;; 1166 *=) ac_optarg= ;;
1167 *) ac_optarg=yes ;;
1167 esac 1168 esac
1168 1169
1169 # Accept the important Cygnus configure options, so we can diagnose typos. 1170 # Accept the important Cygnus configure options, so we can diagnose typos.
1170 1171
1171 case $ac_dashdash$ac_option in 1172 case $ac_dashdash$ac_option in
1206 1207
1207 -disable-* | --disable-*) 1208 -disable-* | --disable-*)
1208 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1209 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1209 # Reject names that are not valid shell variable names. 1210 # Reject names that are not valid shell variable names.
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1211 as_fn_error "invalid feature name: $ac_useropt" 1212 as_fn_error $? "invalid feature name: $ac_useropt"
1212 ac_useropt_orig=$ac_useropt 1213 ac_useropt_orig=$ac_useropt
1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1214 case $ac_user_opts in 1215 case $ac_user_opts in
1215 *" 1216 *"
1216 "enable_$ac_useropt" 1217 "enable_$ac_useropt"
1232 1233
1233 -enable-* | --enable-*) 1234 -enable-* | --enable-*)
1234 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1235 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1235 # Reject names that are not valid shell variable names. 1236 # Reject names that are not valid shell variable names.
1236 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237 as_fn_error "invalid feature name: $ac_useropt" 1238 as_fn_error $? "invalid feature name: $ac_useropt"
1238 ac_useropt_orig=$ac_useropt 1239 ac_useropt_orig=$ac_useropt
1239 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1240 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240 case $ac_user_opts in 1241 case $ac_user_opts in
1241 *" 1242 *"
1242 "enable_$ac_useropt" 1243 "enable_$ac_useropt"
1436 1437
1437 -with-* | --with-*) 1438 -with-* | --with-*)
1438 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1439 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1439 # Reject names that are not valid shell variable names. 1440 # Reject names that are not valid shell variable names.
1440 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1441 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1441 as_fn_error "invalid package name: $ac_useropt" 1442 as_fn_error $? "invalid package name: $ac_useropt"
1442 ac_useropt_orig=$ac_useropt 1443 ac_useropt_orig=$ac_useropt
1443 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1444 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1444 case $ac_user_opts in 1445 case $ac_user_opts in
1445 *" 1446 *"
1446 "with_$ac_useropt" 1447 "with_$ac_useropt"
1452 1453
1453 -without-* | --without-*) 1454 -without-* | --without-*)
1454 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1455 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1455 # Reject names that are not valid shell variable names. 1456 # Reject names that are not valid shell variable names.
1456 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1457 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1457 as_fn_error "invalid package name: $ac_useropt" 1458 as_fn_error $? "invalid package name: $ac_useropt"
1458 ac_useropt_orig=$ac_useropt 1459 ac_useropt_orig=$ac_useropt
1459 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1460 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1460 case $ac_user_opts in 1461 case $ac_user_opts in
1461 *" 1462 *"
1462 "with_$ac_useropt" 1463 "with_$ac_useropt"
1482 ac_prev=x_libraries ;; 1483 ac_prev=x_libraries ;;
1483 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1484 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1484 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1485 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1485 x_libraries=$ac_optarg ;; 1486 x_libraries=$ac_optarg ;;
1486 1487
1487 -*) as_fn_error "unrecognized option: \`$ac_option' 1488 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1488 Try \`$0 --help' for more information." 1489 Try \`$0 --help' for more information"
1489 ;; 1490 ;;
1490 1491
1491 *=*) 1492 *=*)
1492 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1493 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1493 # Reject names that are not valid shell variable names. 1494 # Reject names that are not valid shell variable names.
1494 case $ac_envvar in #( 1495 case $ac_envvar in #(
1495 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1496 '' | [0-9]* | *[!_$as_cr_alnum]* )
1496 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1497 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1497 esac 1498 esac
1498 eval $ac_envvar=\$ac_optarg 1499 eval $ac_envvar=\$ac_optarg
1499 export $ac_envvar ;; 1500 export $ac_envvar ;;
1500 1501
1501 *) 1502 *)
1509 esac 1510 esac
1510 done 1511 done
1511 1512
1512 if test -n "$ac_prev"; then 1513 if test -n "$ac_prev"; then
1513 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1514 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1514 as_fn_error "missing argument to $ac_option" 1515 as_fn_error $? "missing argument to $ac_option"
1515 fi 1516 fi
1516 1517
1517 if test -n "$ac_unrecognized_opts"; then 1518 if test -n "$ac_unrecognized_opts"; then
1518 case $enable_option_checking in 1519 case $enable_option_checking in
1519 no) ;; 1520 no) ;;
1520 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1521 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1521 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1522 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1522 esac 1523 esac
1523 fi 1524 fi
1524 1525
1525 # Check all directory arguments for consistency. 1526 # Check all directory arguments for consistency.
1538 # Be sure to have absolute directory names. 1539 # Be sure to have absolute directory names.
1539 case $ac_val in 1540 case $ac_val in
1540 [\\/$]* | ?:[\\/]* ) continue;; 1541 [\\/$]* | ?:[\\/]* ) continue;;
1541 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1542 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1542 esac 1543 esac
1543 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1544 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1544 done 1545 done
1545 1546
1546 # There might be people who depend on the old broken behavior: `$host' 1547 # There might be people who depend on the old broken behavior: `$host'
1547 # used to hold the argument of --host etc. 1548 # used to hold the argument of --host etc.
1548 # FIXME: To remove some day. 1549 # FIXME: To remove some day.
1552 1553
1553 # FIXME: To remove some day. 1554 # FIXME: To remove some day.
1554 if test "x$host_alias" != x; then 1555 if test "x$host_alias" != x; then
1555 if test "x$build_alias" = x; then 1556 if test "x$build_alias" = x; then
1556 cross_compiling=maybe 1557 cross_compiling=maybe
1557 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1558 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1558 If a cross compiler is detected then cross compile mode will be used." >&2 1559 If a cross compiler is detected then cross compile mode will be used" >&2
1559 elif test "x$build_alias" != "x$host_alias"; then 1560 elif test "x$build_alias" != "x$host_alias"; then
1560 cross_compiling=yes 1561 cross_compiling=yes
1561 fi 1562 fi
1562 fi 1563 fi
1563 1564
1568 1569
1569 1570
1570 ac_pwd=`pwd` && test -n "$ac_pwd" && 1571 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1571 ac_ls_di=`ls -di .` && 1572 ac_ls_di=`ls -di .` &&
1572 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1573 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1573 as_fn_error "working directory cannot be determined" 1574 as_fn_error $? "working directory cannot be determined"
1574 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1575 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1575 as_fn_error "pwd does not report name of working directory" 1576 as_fn_error $? "pwd does not report name of working directory"
1576 1577
1577 1578
1578 # Find the source files, if location was not specified. 1579 # Find the source files, if location was not specified.
1579 if test -z "$srcdir"; then 1580 if test -z "$srcdir"; then
1580 ac_srcdir_defaulted=yes 1581 ac_srcdir_defaulted=yes
1609 else 1610 else
1610 ac_srcdir_defaulted=no 1611 ac_srcdir_defaulted=no
1611 fi 1612 fi
1612 if test ! -r "$srcdir/$ac_unique_file"; then 1613 if test ! -r "$srcdir/$ac_unique_file"; then
1613 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1614 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1614 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1615 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1615 fi 1616 fi
1616 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1617 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1617 ac_abs_confdir=`( 1618 ac_abs_confdir=`(
1618 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1619 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1619 pwd)` 1620 pwd)`
1620 # When building in place, set srcdir=. 1621 # When building in place, set srcdir=.
1621 if test "$ac_abs_confdir" = "$ac_pwd"; then 1622 if test "$ac_abs_confdir" = "$ac_pwd"; then
1622 srcdir=. 1623 srcdir=.
1623 fi 1624 fi
1639 # 1640 #
1640 if test "$ac_init_help" = "long"; then 1641 if test "$ac_init_help" = "long"; then
1641 # Omit some internal or obsolete options to make the list less imposing. 1642 # Omit some internal or obsolete options to make the list less imposing.
1642 # This message is too long to be a string in the A/UX 3.1 sh. 1643 # This message is too long to be a string in the A/UX 3.1 sh.
1643 cat <<_ACEOF 1644 cat <<_ACEOF
1644 \`configure' configures LWTools 3.0.1 to adapt to many kinds of systems. 1645 \`configure' configures LWTools 3.0.2-dev to adapt to many kinds of systems.
1645 1646
1646 Usage: $0 [OPTION]... [VAR=VALUE]... 1647 Usage: $0 [OPTION]... [VAR=VALUE]...
1647 1648
1648 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1649 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1649 VAR=VALUE. See below for descriptions of some of the useful variables. 1650 VAR=VALUE. See below for descriptions of some of the useful variables.
1653 Configuration: 1654 Configuration:
1654 -h, --help display this help and exit 1655 -h, --help display this help and exit
1655 --help=short display options specific to this package 1656 --help=short display options specific to this package
1656 --help=recursive display the short help of all the included packages 1657 --help=recursive display the short help of all the included packages
1657 -V, --version display version information and exit 1658 -V, --version display version information and exit
1658 -q, --quiet, --silent do not print \`checking...' messages 1659 -q, --quiet, --silent do not print \`checking ...' messages
1659 --cache-file=FILE cache test results in FILE [disabled] 1660 --cache-file=FILE cache test results in FILE [disabled]
1660 -C, --config-cache alias for \`--cache-file=config.cache' 1661 -C, --config-cache alias for \`--cache-file=config.cache'
1661 -n, --no-create do not create output files 1662 -n, --no-create do not create output files
1662 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1663 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1663 1664
1709 _ACEOF 1710 _ACEOF
1710 fi 1711 fi
1711 1712
1712 if test -n "$ac_init_help"; then 1713 if test -n "$ac_init_help"; then
1713 case $ac_init_help in 1714 case $ac_init_help in
1714 short | recursive ) echo "Configuration of LWTools 3.0.1:";; 1715 short | recursive ) echo "Configuration of LWTools 3.0.2-dev:";;
1715 esac 1716 esac
1716 cat <<\_ACEOF 1717 cat <<\_ACEOF
1717 1718
1718 Optional Features: 1719 Optional Features:
1719 --disable-option-checking ignore unrecognized --enable/--with options 1720 --disable-option-checking ignore unrecognized --enable/--with options
1796 fi 1797 fi
1797 1798
1798 test -n "$ac_init_help" && exit $ac_status 1799 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then 1800 if $ac_init_version; then
1800 cat <<\_ACEOF 1801 cat <<\_ACEOF
1801 LWTools configure 3.0.1 1802 LWTools configure 3.0.2-dev
1802 generated by GNU Autoconf 2.65 1803 generated by GNU Autoconf 2.67
1803 1804
1804 Copyright (C) 2009 Free Software Foundation, Inc. 1805 Copyright (C) 2010 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation 1806 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it. 1807 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF 1808 _ACEOF
1808 exit 1809 exit
1809 fi 1810 fi
1869 grep -v '^ *+' conftest.err >conftest.er1 1870 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5 1871 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err 1872 mv -f conftest.er1 conftest.err
1872 fi 1873 fi
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } >/dev/null && { 1875 test $ac_status = 0; } > conftest.i && {
1875 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1876 test ! -s conftest.err 1877 test ! -s conftest.err
1877 }; then : 1878 }; then :
1878 ac_retval=0 1879 ac_retval=0
1879 else 1880 else
1893 # the include files in INCLUDES and setting the cache variable VAR 1894 # the include files in INCLUDES and setting the cache variable VAR
1894 # accordingly. 1895 # accordingly.
1895 ac_fn_c_check_header_mongrel () 1896 ac_fn_c_check_header_mongrel ()
1896 { 1897 {
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1899 if eval "test \"\${$3+set}\"" = set; then :
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; } 1901 $as_echo_n "checking for $2... " >&6; }
1901 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1902 if eval "test \"\${$3+set}\"" = set; then :
1902 $as_echo_n "(cached) " >&6 1903 $as_echo_n "(cached) " >&6
1903 fi 1904 fi
1904 eval ac_res=\$$3 1905 eval ac_res=\$$3
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; } 1907 $as_echo "$ac_res" >&6; }
1932 if ac_fn_c_try_cpp "$LINENO"; then : 1933 if ac_fn_c_try_cpp "$LINENO"; then :
1933 ac_header_preproc=yes 1934 ac_header_preproc=yes
1934 else 1935 else
1935 ac_header_preproc=no 1936 ac_header_preproc=no
1936 fi 1937 fi
1937 rm -f conftest.err conftest.$ac_ext 1938 rm -f conftest.err conftest.i conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1939 $as_echo "$ac_header_preproc" >&6; } 1940 $as_echo "$ac_header_preproc" >&6; }
1940 1941
1941 # So? What about this header? 1942 # So? What about this header?
1942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1955 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1956 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1957 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1958 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1959 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960 ( cat <<\_ASBOX 1961 ( $as_echo "## -------------------------- ##
1961 ## -------------------------- ##
1962 ## Report this to lost@l-w.ca ## 1962 ## Report this to lost@l-w.ca ##
1963 ## -------------------------- ## 1963 ## -------------------------- ##"
1964 _ASBOX
1965 ) | sed "s/^/$as_me: WARNING: /" >&2 1964 ) | sed "s/^/$as_me: WARNING: /" >&2
1966 ;; 1965 ;;
1967 esac 1966 esac
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; } 1968 $as_echo_n "checking for $2... " >&6; }
1970 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1969 if eval "test \"\${$3+set}\"" = set; then :
1971 $as_echo_n "(cached) " >&6 1970 $as_echo_n "(cached) " >&6
1972 else 1971 else
1973 eval "$3=\$ac_header_compiler" 1972 eval "$3=\$ac_header_compiler"
1974 fi 1973 fi
1975 eval ac_res=\$$3 1974 eval ac_res=\$$3
2029 ac_fn_c_check_header_compile () 2028 ac_fn_c_check_header_compile ()
2030 { 2029 {
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; } 2032 $as_echo_n "checking for $2... " >&6; }
2034 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2033 if eval "test \"\${$3+set}\"" = set; then :
2035 $as_echo_n "(cached) " >&6 2034 $as_echo_n "(cached) " >&6
2036 else 2035 else
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */ 2037 /* end confdefs.h. */
2039 $4 2038 $4
2105 ac_fn_c_check_func () 2104 ac_fn_c_check_func ()
2106 { 2105 {
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; } 2108 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2109 if eval "test \"\${$3+set}\"" = set; then :
2111 $as_echo_n "(cached) " >&6 2110 $as_echo_n "(cached) " >&6
2112 else 2111 else
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */ 2113 /* end confdefs.h. */
2115 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2114 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2164 $as_echo "$ac_res" >&6; } 2163 $as_echo "$ac_res" >&6; }
2165 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2166 2165
2167 } # ac_fn_c_check_func 2166 } # ac_fn_c_check_func
2168 2167
2169 # ac_fn_c_check_decl LINENO SYMBOL VAR 2168 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2170 # ------------------------------------ 2169 # ---------------------------------------------
2171 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 2170 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2171 # accordingly.
2172 ac_fn_c_check_decl () 2172 ac_fn_c_check_decl ()
2173 { 2173 {
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 2175 as_decl_name=`echo $2|sed 's/ *(.*//'`
2176 $as_echo_n "checking whether $2 is declared... " >&6; } 2176 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2177 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2178 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2179 if eval "test \"\${$3+set}\"" = set; then :
2178 $as_echo_n "(cached) " >&6 2180 $as_echo_n "(cached) " >&6
2179 else 2181 else
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */ 2183 /* end confdefs.h. */
2182 $4 2184 $4
2183 int 2185 int
2184 main () 2186 main ()
2185 { 2187 {
2186 #ifndef $2 2188 #ifndef $as_decl_name
2187 (void) $2; 2189 #ifdef __cplusplus
2190 (void) $as_decl_use;
2191 #else
2192 (void) $as_decl_name;
2193 #endif
2188 #endif 2194 #endif
2189 2195
2190 ; 2196 ;
2191 return 0; 2197 return 0;
2192 } 2198 }
2390 ac_fn_c_check_type () 2396 ac_fn_c_check_type ()
2391 { 2397 {
2392 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2394 $as_echo_n "checking for $2... " >&6; } 2400 $as_echo_n "checking for $2... " >&6; }
2395 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2401 if eval "test \"\${$3+set}\"" = set; then :
2396 $as_echo_n "(cached) " >&6 2402 $as_echo_n "(cached) " >&6
2397 else 2403 else
2398 eval "$3=no" 2404 eval "$3=no"
2399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2400 /* end confdefs.h. */ 2406 /* end confdefs.h. */
2438 } # ac_fn_c_check_type 2444 } # ac_fn_c_check_type
2439 cat >config.log <<_ACEOF 2445 cat >config.log <<_ACEOF
2440 This file contains any messages produced by compilers while 2446 This file contains any messages produced by compilers while
2441 running configure, to aid debugging if configure makes a mistake. 2447 running configure, to aid debugging if configure makes a mistake.
2442 2448
2443 It was created by LWTools $as_me 3.0.1, which was 2449 It was created by LWTools $as_me 3.0.2-dev, which was
2444 generated by GNU Autoconf 2.65. Invocation command line was 2450 generated by GNU Autoconf 2.67. Invocation command line was
2445 2451
2446 $ $0 $@ 2452 $ $0 $@
2447 2453
2448 _ACEOF 2454 _ACEOF
2449 exec 5>>config.log 2455 exec 5>>config.log
2549 trap 'exit_status=$? 2555 trap 'exit_status=$?
2550 # Save into config.log some information that might help in debugging. 2556 # Save into config.log some information that might help in debugging.
2551 { 2557 {
2552 echo 2558 echo
2553 2559
2554 cat <<\_ASBOX 2560 $as_echo "## ---------------- ##
2555 ## ---------------- ##
2556 ## Cache variables. ## 2561 ## Cache variables. ##
2557 ## ---------------- ## 2562 ## ---------------- ##"
2558 _ASBOX
2559 echo 2563 echo
2560 # The following way of writing the cache mishandles newlines in values, 2564 # The following way of writing the cache mishandles newlines in values,
2561 ( 2565 (
2562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2566 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2563 eval ac_val=\$$ac_var 2567 eval ac_val=\$$ac_var
2587 esac | 2591 esac |
2588 sort 2592 sort
2589 ) 2593 )
2590 echo 2594 echo
2591 2595
2592 cat <<\_ASBOX 2596 $as_echo "## ----------------- ##
2593 ## ----------------- ##
2594 ## Output variables. ## 2597 ## Output variables. ##
2595 ## ----------------- ## 2598 ## ----------------- ##"
2596 _ASBOX
2597 echo 2599 echo
2598 for ac_var in $ac_subst_vars 2600 for ac_var in $ac_subst_vars
2599 do 2601 do
2600 eval ac_val=\$$ac_var 2602 eval ac_val=\$$ac_var
2601 case $ac_val in 2603 case $ac_val in
2604 $as_echo "$ac_var='\''$ac_val'\''" 2606 $as_echo "$ac_var='\''$ac_val'\''"
2605 done | sort 2607 done | sort
2606 echo 2608 echo
2607 2609
2608 if test -n "$ac_subst_files"; then 2610 if test -n "$ac_subst_files"; then
2609 cat <<\_ASBOX 2611 $as_echo "## ------------------- ##
2610 ## ------------------- ##
2611 ## File substitutions. ## 2612 ## File substitutions. ##
2612 ## ------------------- ## 2613 ## ------------------- ##"
2613 _ASBOX
2614 echo 2614 echo
2615 for ac_var in $ac_subst_files 2615 for ac_var in $ac_subst_files
2616 do 2616 do
2617 eval ac_val=\$$ac_var 2617 eval ac_val=\$$ac_var
2618 case $ac_val in 2618 case $ac_val in
2622 done | sort 2622 done | sort
2623 echo 2623 echo
2624 fi 2624 fi
2625 2625
2626 if test -s confdefs.h; then 2626 if test -s confdefs.h; then
2627 cat <<\_ASBOX 2627 $as_echo "## ----------- ##
2628 ## ----------- ##
2629 ## confdefs.h. ## 2628 ## confdefs.h. ##
2630 ## ----------- ## 2629 ## ----------- ##"
2631 _ASBOX
2632 echo 2630 echo
2633 cat confdefs.h 2631 cat confdefs.h
2634 echo 2632 echo
2635 fi 2633 fi
2636 test "$ac_signal" != 0 && 2634 test "$ac_signal" != 0 &&
2681 # Let the site file select an alternate cache file if it wants to. 2679 # Let the site file select an alternate cache file if it wants to.
2682 # Prefer an explicitly selected file to automatically selected ones. 2680 # Prefer an explicitly selected file to automatically selected ones.
2683 ac_site_file1=NONE 2681 ac_site_file1=NONE
2684 ac_site_file2=NONE 2682 ac_site_file2=NONE
2685 if test -n "$CONFIG_SITE"; then 2683 if test -n "$CONFIG_SITE"; then
2686 ac_site_file1=$CONFIG_SITE 2684 # We do not want a PATH search for config.site.
2685 case $CONFIG_SITE in #((
2686 -*) ac_site_file1=./$CONFIG_SITE;;
2687 */*) ac_site_file1=$CONFIG_SITE;;
2688 *) ac_site_file1=./$CONFIG_SITE;;
2689 esac
2687 elif test "x$prefix" != xNONE; then 2690 elif test "x$prefix" != xNONE; then
2688 ac_site_file1=$prefix/share/config.site 2691 ac_site_file1=$prefix/share/config.site
2689 ac_site_file2=$prefix/etc/config.site 2692 ac_site_file2=$prefix/etc/config.site
2690 else 2693 else
2691 ac_site_file1=$ac_default_prefix/share/config.site 2694 ac_site_file1=$ac_default_prefix/share/config.site
2696 test "x$ac_site_file" = xNONE && continue 2699 test "x$ac_site_file" = xNONE && continue
2697 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2700 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2699 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2702 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2700 sed 's/^/| /' "$ac_site_file" >&5 2703 sed 's/^/| /' "$ac_site_file" >&5
2701 . "$ac_site_file" 2704 . "$ac_site_file" \
2705 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 as_fn_error $? "failed to load site script $ac_site_file
2708 See \`config.log' for more details" "$LINENO" 5 ; }
2702 fi 2709 fi
2703 done 2710 done
2704 2711
2705 if test -r "$cache_file"; then 2712 if test -r "$cache_file"; then
2706 # Some versions of bash will fail to source /dev/null (special files 2713 # Some versions of bash will fail to source /dev/null (special files
2795 if $ac_cache_corrupted; then 2802 if $ac_cache_corrupted; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2799 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2800 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2807 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2801 fi 2808 fi
2802 ## -------------------- ## 2809 ## -------------------- ##
2803 ## Main body of script. ## 2810 ## Main body of script. ##
2804 ## -------------------- ## 2811 ## -------------------- ##
2805 2812
2812 2819
2813 am__api_version='1.11' 2820 am__api_version='1.11'
2814 2821
2815 ac_aux_dir= 2822 ac_aux_dir=
2816 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2823 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2817 for ac_t in install-sh install.sh shtool; do 2824 if test -f "$ac_dir/install-sh"; then
2818 if test -f "$ac_dir/$ac_t"; then 2825 ac_aux_dir=$ac_dir
2819 ac_aux_dir=$ac_dir 2826 ac_install_sh="$ac_aux_dir/install-sh -c"
2820 ac_install_sh="$ac_aux_dir/$ac_t -c" 2827 break
2821 break 2 2828 elif test -f "$ac_dir/install.sh"; then
2822 fi 2829 ac_aux_dir=$ac_dir
2823 done 2830 ac_install_sh="$ac_aux_dir/install.sh -c"
2831 break
2832 elif test -f "$ac_dir/shtool"; then
2833 ac_aux_dir=$ac_dir
2834 ac_install_sh="$ac_aux_dir/shtool install -c"
2835 break
2836 fi
2824 done 2837 done
2825 if test -z "$ac_aux_dir"; then 2838 if test -z "$ac_aux_dir"; then
2826 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2839 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2827 fi 2840 fi
2828 2841
2829 # These three variables are undocumented and unsupported, 2842 # These three variables are undocumented and unsupported,
2830 # and are intended to be withdrawn in a future Autoconf release. 2843 # and are intended to be withdrawn in a future Autoconf release.
2831 # They can cause serious problems if a builder's source tree is in a directory 2844 # They can cause serious problems if a builder's source tree is in a directory
2937 # name. Accept space and tab only in the latter. 2950 # name. Accept space and tab only in the latter.
2938 am_lf=' 2951 am_lf='
2939 ' 2952 '
2940 case `pwd` in 2953 case `pwd` in
2941 *[\\\"\#\$\&\'\`$am_lf]*) 2954 *[\\\"\#\$\&\'\`$am_lf]*)
2942 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2955 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2943 esac 2956 esac
2944 case $srcdir in 2957 case $srcdir in
2945 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2958 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2946 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2959 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2947 esac 2960 esac
2948 2961
2949 # Do `set' in a subshell so we don't clobber the current shell's 2962 # Do `set' in a subshell so we don't clobber the current shell's
2950 # arguments. Must try -L first in case configure is actually a 2963 # arguments. Must try -L first in case configure is actually a
2951 # symlink; some systems play weird games with the mod time of symlinks 2964 # symlink; some systems play weird games with the mod time of symlinks
2963 2976
2964 # If neither matched, then we have a broken ls. This can happen 2977 # If neither matched, then we have a broken ls. This can happen
2965 # if, for instance, CONFIG_SHELL is bash and it inherits a 2978 # if, for instance, CONFIG_SHELL is bash and it inherits a
2966 # broken ls alias from the environment. This has actually 2979 # broken ls alias from the environment. This has actually
2967 # happened. Such a system could not be considered "sane". 2980 # happened. Such a system could not be considered "sane".
2968 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2981 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2969 alias in your environment" "$LINENO" 5 2982 alias in your environment" "$LINENO" 5
2970 fi 2983 fi
2971 2984
2972 test "$2" = conftest.file 2985 test "$2" = conftest.file
2973 ) 2986 )
2974 then 2987 then
2975 # Ok. 2988 # Ok.
2976 : 2989 :
2977 else 2990 else
2978 as_fn_error "newly created file is older than distributed files! 2991 as_fn_error $? "newly created file is older than distributed files!
2979 Check your system clock" "$LINENO" 5 2992 Check your system clock" "$LINENO" 5
2980 fi 2993 fi
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2982 $as_echo "yes" >&6; } 2995 $as_echo "yes" >&6; }
2983 test "$program_prefix" != NONE && 2996 test "$program_prefix" != NONE &&
3211 3224
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3213 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3226 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3214 set x ${MAKE-make} 3227 set x ${MAKE-make}
3215 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3228 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3216 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 3229 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3217 $as_echo_n "(cached) " >&6 3230 $as_echo_n "(cached) " >&6
3218 else 3231 else
3219 cat >conftest.make <<\_ACEOF 3232 cat >conftest.make <<\_ACEOF
3220 SHELL = /bin/sh 3233 SHELL = /bin/sh
3221 all: 3234 all:
3222 @echo '@@@%%%=$(MAKE)=@@@%%%' 3235 @echo '@@@%%%=$(MAKE)=@@@%%%'
3223 _ACEOF 3236 _ACEOF
3224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3237 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3225 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3238 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3226 *@@@%%%=?*=@@@%%%*) 3239 *@@@%%%=?*=@@@%%%*)
3227 eval ac_cv_prog_make_${ac_make}_set=yes;; 3240 eval ac_cv_prog_make_${ac_make}_set=yes;;
3228 *) 3241 *)
3229 eval ac_cv_prog_make_${ac_make}_set=no;; 3242 eval ac_cv_prog_make_${ac_make}_set=no;;
3253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3266 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3254 # is not polluted with repeated "-I." 3267 # is not polluted with repeated "-I."
3255 am__isrc=' -I$(srcdir)' 3268 am__isrc=' -I$(srcdir)'
3256 # test to see if srcdir already configured 3269 # test to see if srcdir already configured
3257 if test -f $srcdir/config.status; then 3270 if test -f $srcdir/config.status; then
3258 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3271 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3259 fi 3272 fi
3260 fi 3273 fi
3261 3274
3262 # test whether we have cygpath 3275 # test whether we have cygpath
3263 if test -z "$CYGPATH_W"; then 3276 if test -z "$CYGPATH_W"; then
3269 fi 3282 fi
3270 3283
3271 3284
3272 # Define the identity of the package. 3285 # Define the identity of the package.
3273 PACKAGE='lwtools' 3286 PACKAGE='lwtools'
3274 VERSION='3.0.1' 3287 VERSION='3.0.2-dev'
3275 3288
3276 3289
3277 cat >>confdefs.h <<_ACEOF 3290 cat >>confdefs.h <<_ACEOF
3278 #define PACKAGE "$PACKAGE" 3291 #define PACKAGE "$PACKAGE"
3279 _ACEOF 3292 _ACEOF
3609 fi 3622 fi
3610 3623
3611 3624
3612 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3613 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3614 as_fn_error "no acceptable C compiler found in \$PATH 3627 as_fn_error $? "no acceptable C compiler found in \$PATH
3615 See \`config.log' for more details." "$LINENO" 5; } 3628 See \`config.log' for more details" "$LINENO" 5 ; }
3616 3629
3617 # Provide some information about the compiler. 3630 # Provide some information about the compiler.
3618 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3619 set X $ac_compile 3632 set X $ac_compile
3620 ac_compiler=$2 3633 ac_compiler=$2
3724 $as_echo "$as_me: failed program was:" >&5 3737 $as_echo "$as_me: failed program was:" >&5
3725 sed 's/^/| /' conftest.$ac_ext >&5 3738 sed 's/^/| /' conftest.$ac_ext >&5
3726 3739
3727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 { as_fn_set_status 77 3742 as_fn_error 77 "C compiler cannot create executables
3730 as_fn_error "C compiler cannot create executables 3743 See \`config.log' for more details" "$LINENO" 5 ; }
3731 See \`config.log' for more details." "$LINENO" 5; }; }
3732 else 3744 else
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 $as_echo "yes" >&6; } 3746 $as_echo "yes" >&6; }
3735 fi 3747 fi
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3768 esac 3780 esac
3769 done 3781 done
3770 else 3782 else
3771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3772 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3773 as_fn_error "cannot compute suffix of executables: cannot compile and link 3785 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3774 See \`config.log' for more details." "$LINENO" 5; } 3786 See \`config.log' for more details" "$LINENO" 5 ; }
3775 fi 3787 fi
3776 rm -f conftest conftest$ac_cv_exeext 3788 rm -f conftest conftest$ac_cv_exeext
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3778 $as_echo "$ac_cv_exeext" >&6; } 3790 $as_echo "$ac_cv_exeext" >&6; }
3779 3791
3826 if test "$cross_compiling" = maybe; then 3838 if test "$cross_compiling" = maybe; then
3827 cross_compiling=yes 3839 cross_compiling=yes
3828 else 3840 else
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error "cannot run C compiled programs. 3843 as_fn_error $? "cannot run C compiled programs.
3832 If you meant to cross compile, use \`--host'. 3844 If you meant to cross compile, use \`--host'.
3833 See \`config.log' for more details." "$LINENO" 5; } 3845 See \`config.log' for more details" "$LINENO" 5 ; }
3834 fi 3846 fi
3835 fi 3847 fi
3836 fi 3848 fi
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3838 $as_echo "$cross_compiling" >&6; } 3850 $as_echo "$cross_compiling" >&6; }
3879 $as_echo "$as_me: failed program was:" >&5 3891 $as_echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.$ac_ext >&5 3892 sed 's/^/| /' conftest.$ac_ext >&5
3881 3893
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error "cannot compute suffix of object files: cannot compile 3896 as_fn_error $? "cannot compute suffix of object files: cannot compile
3885 See \`config.log' for more details." "$LINENO" 5; } 3897 See \`config.log' for more details" "$LINENO" 5 ; }
3886 fi 3898 fi
3887 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3888 fi 3900 fi
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3890 $as_echo "$ac_cv_objext" >&6; } 3902 $as_echo "$ac_cv_objext" >&6; }
4383 RANLIB="$ac_cv_prog_RANLIB" 4395 RANLIB="$ac_cv_prog_RANLIB"
4384 fi 4396 fi
4385 4397
4386 # Make sure we can run config.sub. 4398 # Make sure we can run config.sub.
4387 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4388 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4400 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4389 4401
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4391 $as_echo_n "checking build system type... " >&6; } 4403 $as_echo_n "checking build system type... " >&6; }
4392 if test "${ac_cv_build+set}" = set; then : 4404 if test "${ac_cv_build+set}" = set; then :
4393 $as_echo_n "(cached) " >&6 4405 $as_echo_n "(cached) " >&6
4394 else 4406 else
4395 ac_build_alias=$build_alias 4407 ac_build_alias=$build_alias
4396 test "x$ac_build_alias" = x && 4408 test "x$ac_build_alias" = x &&
4397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4398 test "x$ac_build_alias" = x && 4410 test "x$ac_build_alias" = x &&
4399 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 4411 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4400 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4412 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4401 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4413 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4402 4414
4403 fi 4415 fi
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4405 $as_echo "$ac_cv_build" >&6; } 4417 $as_echo "$ac_cv_build" >&6; }
4406 case $ac_cv_build in 4418 case $ac_cv_build in
4407 *-*-*) ;; 4419 *-*-*) ;;
4408 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 4420 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4409 esac 4421 esac
4410 build=$ac_cv_build 4422 build=$ac_cv_build
4411 ac_save_IFS=$IFS; IFS='-' 4423 ac_save_IFS=$IFS; IFS='-'
4412 set x $ac_cv_build 4424 set x $ac_cv_build
4413 shift 4425 shift
4428 else 4440 else
4429 if test "x$host_alias" = x; then 4441 if test "x$host_alias" = x; then
4430 ac_cv_host=$ac_cv_build 4442 ac_cv_host=$ac_cv_build
4431 else 4443 else
4432 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4433 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4445 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4434 fi 4446 fi
4435 4447
4436 fi 4448 fi
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4438 $as_echo "$ac_cv_host" >&6; } 4450 $as_echo "$ac_cv_host" >&6; }
4439 case $ac_cv_host in 4451 case $ac_cv_host in
4440 *-*-*) ;; 4452 *-*-*) ;;
4441 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 4453 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4442 esac 4454 esac
4443 host=$ac_cv_host 4455 host=$ac_cv_host
4444 ac_save_IFS=$IFS; IFS='-' 4456 ac_save_IFS=$IFS; IFS='-'
4445 set x $ac_cv_host 4457 set x $ac_cv_host
4446 shift 4458 shift
4495 4507
4496 else 4508 else
4497 # Broken: fails on valid input. 4509 # Broken: fails on valid input.
4498 continue 4510 continue
4499 fi 4511 fi
4500 rm -f conftest.err conftest.$ac_ext 4512 rm -f conftest.err conftest.i conftest.$ac_ext
4501 4513
4502 # OK, works on sane cases. Now check whether nonexistent headers 4514 # OK, works on sane cases. Now check whether nonexistent headers
4503 # can be detected and how. 4515 # can be detected and how.
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */ 4517 /* end confdefs.h. */
4511 else 4523 else
4512 # Passes both tests. 4524 # Passes both tests.
4513 ac_preproc_ok=: 4525 ac_preproc_ok=:
4514 break 4526 break
4515 fi 4527 fi
4516 rm -f conftest.err conftest.$ac_ext 4528 rm -f conftest.err conftest.i conftest.$ac_ext
4517 4529
4518 done 4530 done
4519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4520 rm -f conftest.err conftest.$ac_ext 4532 rm -f conftest.i conftest.err conftest.$ac_ext
4521 if $ac_preproc_ok; then : 4533 if $ac_preproc_ok; then :
4522 break 4534 break
4523 fi 4535 fi
4524 4536
4525 done 4537 done
4554 4566
4555 else 4567 else
4556 # Broken: fails on valid input. 4568 # Broken: fails on valid input.
4557 continue 4569 continue
4558 fi 4570 fi
4559 rm -f conftest.err conftest.$ac_ext 4571 rm -f conftest.err conftest.i conftest.$ac_ext
4560 4572
4561 # OK, works on sane cases. Now check whether nonexistent headers 4573 # OK, works on sane cases. Now check whether nonexistent headers
4562 # can be detected and how. 4574 # can be detected and how.
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */ 4576 /* end confdefs.h. */
4570 else 4582 else
4571 # Passes both tests. 4583 # Passes both tests.
4572 ac_preproc_ok=: 4584 ac_preproc_ok=:
4573 break 4585 break
4574 fi 4586 fi
4575 rm -f conftest.err conftest.$ac_ext 4587 rm -f conftest.err conftest.i conftest.$ac_ext
4576 4588
4577 done 4589 done
4578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4579 rm -f conftest.err conftest.$ac_ext 4591 rm -f conftest.i conftest.err conftest.$ac_ext
4580 if $ac_preproc_ok; then : 4592 if $ac_preproc_ok; then :
4581 4593
4582 else 4594 else
4583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4585 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4597 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4586 See \`config.log' for more details." "$LINENO" 5; } 4598 See \`config.log' for more details" "$LINENO" 5 ; }
4587 fi 4599 fi
4588 4600
4589 ac_ext=c 4601 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS' 4602 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 done 4654 done
4643 done 4655 done
4644 done 4656 done
4645 IFS=$as_save_IFS 4657 IFS=$as_save_IFS
4646 if test -z "$ac_cv_path_GREP"; then 4658 if test -z "$ac_cv_path_GREP"; then
4647 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4659 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4648 fi 4660 fi
4649 else 4661 else
4650 ac_cv_path_GREP=$GREP 4662 ac_cv_path_GREP=$GREP
4651 fi 4663 fi
4652 4664
4708 done 4720 done
4709 done 4721 done
4710 done 4722 done
4711 IFS=$as_save_IFS 4723 IFS=$as_save_IFS
4712 if test -z "$ac_cv_path_EGREP"; then 4724 if test -z "$ac_cv_path_EGREP"; then
4713 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4725 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714 fi 4726 fi
4715 else 4727 else
4716 ac_cv_path_EGREP=$EGREP 4728 ac_cv_path_EGREP=$EGREP
4717 fi 4729 fi
4718 4730
4840 inttypes.h stdint.h unistd.h 4852 inttypes.h stdint.h unistd.h
4841 do : 4853 do :
4842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4843 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4844 " 4856 "
4845 eval as_val=\$$as_ac_Header 4857 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4846 if test "x$as_val" = x""yes; then :
4847 cat >>confdefs.h <<_ACEOF 4858 cat >>confdefs.h <<_ACEOF
4848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4849 _ACEOF 4860 _ACEOF
4850 4861
4851 fi 4862 fi
5069 $as_echo "$ac_cv_os_cray" >&6; } 5080 $as_echo "$ac_cv_os_cray" >&6; }
5070 if test $ac_cv_os_cray = yes; then 5081 if test $ac_cv_os_cray = yes; then
5071 for ac_func in _getb67 GETB67 getb67; do 5082 for ac_func in _getb67 GETB67 getb67; do
5072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5074 eval as_val=\$$as_ac_var 5085 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5075 if test "x$as_val" = x""yes; then :
5076 5086
5077 cat >>confdefs.h <<_ACEOF 5087 cat >>confdefs.h <<_ACEOF
5078 #define CRAY_STACKSEG_END $ac_func 5088 #define CRAY_STACKSEG_END $ac_func
5079 _ACEOF 5089 _ACEOF
5080 5090
5410 5420
5411 for ac_func in $gl_func_list 5421 for ac_func in $gl_func_list
5412 do : 5422 do :
5413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5423 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5424 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5415 eval as_val=\$$as_ac_var 5425 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5416 if test "x$as_val" = x""yes; then :
5417 cat >>confdefs.h <<_ACEOF 5426 cat >>confdefs.h <<_ACEOF
5418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5419 _ACEOF 5428 _ACEOF
5420 5429
5421 fi 5430 fi
5436 5445
5437 for ac_header in $gl_header_list 5446 for ac_header in $gl_header_list
5438 do : 5447 do :
5439 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5440 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5449 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5441 eval as_val=\$$as_ac_Header 5450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5442 if test "x$as_val" = x""yes; then :
5443 cat >>confdefs.h <<_ACEOF 5451 cat >>confdefs.h <<_ACEOF
5444 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5445 _ACEOF 5453 _ACEOF
5446 5454
5447 fi 5455 fi
7811 7819
7812 for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb 7820 for ac_func in snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb
7813 do : 7821 do :
7814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 7822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 7823 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7816 eval as_val=\$$as_ac_var 7824 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
7817 if test "x$as_val" = x""yes; then :
7818 cat >>confdefs.h <<_ACEOF 7825 cat >>confdefs.h <<_ACEOF
7819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 7826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7820 _ACEOF 7827 _ACEOF
7821 7828
7822 fi 7829 fi
7931 7938
7932 fi 7939 fi
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5 7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
7934 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } 7941 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
7935 if test $gl_cv_header_wchar_h_correct_inline = no; then 7942 if test $gl_cv_header_wchar_h_correct_inline = no; then
7936 as_fn_error "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS). 7943 as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
7937 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in 7944 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
7938 C99 mode. You have four options: 7945 C99 mode. You have four options:
7939 - Add the flag -fgnu89-inline to CC and reconfigure, or 7946 - Add the flag -fgnu89-inline to CC and reconfigure, or
7940 - Fix your include files, using parts of 7947 - Fix your include files, using parts of
7941 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or 7948 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
9338 else 9345 else
9339 for ac_header in sys/inttypes.h sys/bitypes.h 9346 for ac_header in sys/inttypes.h sys/bitypes.h
9340 do : 9347 do :
9341 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9342 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 9349 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9343 eval as_val=\$$as_ac_Header 9350 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9344 if test "x$as_val" = x""yes; then :
9345 cat >>confdefs.h <<_ACEOF 9351 cat >>confdefs.h <<_ACEOF
9346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9352 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9347 _ACEOF 9353 _ACEOF
9348 9354
9349 fi 9355 fi
9377 9383
9378 9384
9379 for gltype in ptrdiff_t size_t ; do 9385 for gltype in ptrdiff_t size_t ; do
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
9381 $as_echo_n "checking for bit size of $gltype... " >&6; } 9387 $as_echo_n "checking for bit size of $gltype... " >&6; }
9382 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : 9388 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
9383 $as_echo_n "(cached) " >&6 9389 $as_echo_n "(cached) " >&6
9384 else 9390 else
9385 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 9391 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
9386 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 9392 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
9387 included before <wchar.h>. */ 9393 included before <wchar.h>. */
9422 9428
9423 9429
9424 for gltype in sig_atomic_t wchar_t wint_t ; do 9430 for gltype in sig_atomic_t wchar_t wint_t ; do
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
9426 $as_echo_n "checking for bit size of $gltype... " >&6; } 9432 $as_echo_n "checking for bit size of $gltype... " >&6; }
9427 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; }; then : 9433 if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
9428 $as_echo_n "(cached) " >&6 9434 $as_echo_n "(cached) " >&6
9429 else 9435 else
9430 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " 9436 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" "
9431 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be 9437 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
9432 included before <wchar.h>. */ 9438 included before <wchar.h>. */
9466 9472
9467 9473
9468 for gltype in sig_atomic_t wchar_t wint_t ; do 9474 for gltype in sig_atomic_t wchar_t wint_t ; do
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
9470 $as_echo_n "checking whether $gltype is signed... " >&6; } 9476 $as_echo_n "checking whether $gltype is signed... " >&6; }
9471 if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set"; }; then : 9477 if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then :
9472 $as_echo_n "(cached) " >&6 9478 $as_echo_n "(cached) " >&6
9473 else 9479 else
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */ 9481 /* end confdefs.h. */
9476 9482
9525 9531
9526 9532
9527 for gltype in ptrdiff_t size_t ; do 9533 for gltype in ptrdiff_t size_t ; do
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
9529 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } 9535 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
9530 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : 9536 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
9531 $as_echo_n "(cached) " >&6 9537 $as_echo_n "(cached) " >&6
9532 else 9538 else
9533 eval gl_cv_type_${gltype}_suffix=no 9539 eval gl_cv_type_${gltype}_suffix=no
9534 eval result=\$gl_cv_type_${gltype}_signed 9540 eval result=\$gl_cv_type_${gltype}_signed
9535 if test "$result" = yes; then 9541 if test "$result" = yes; then
9597 9603
9598 9604
9599 for gltype in sig_atomic_t wchar_t wint_t ; do 9605 for gltype in sig_atomic_t wchar_t wint_t ; do
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
9601 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } 9607 $as_echo_n "checking for $gltype integer literal suffix... " >&6; }
9602 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set"; }; then : 9608 if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
9603 $as_echo_n "(cached) " >&6 9609 $as_echo_n "(cached) " >&6
9604 else 9610 else
9605 eval gl_cv_type_${gltype}_suffix=no 9611 eval gl_cv_type_${gltype}_suffix=no
9606 eval result=\$gl_cv_type_${gltype}_signed 9612 eval result=\$gl_cv_type_${gltype}_signed
9607 if test "$result" = yes; then 9613 if test "$result" = yes; then
10827 10833
10828 DEFS=-DHAVE_CONFIG_H 10834 DEFS=-DHAVE_CONFIG_H
10829 10835
10830 ac_libobjs= 10836 ac_libobjs=
10831 ac_ltlibobjs= 10837 ac_ltlibobjs=
10838 U=
10832 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10833 # 1. Remove the extension, and $U if already installed. 10840 # 1. Remove the extension, and $U if already installed.
10834 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10841 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10835 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 10842 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
10836 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10843 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10850 am__EXEEXT_TRUE='#' 10857 am__EXEEXT_TRUE='#'
10851 am__EXEEXT_FALSE= 10858 am__EXEEXT_FALSE=
10852 fi 10859 fi
10853 10860
10854 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10861 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10855 as_fn_error "conditional \"AMDEP\" was never defined. 10862 as_fn_error $? "conditional \"AMDEP\" was never defined.
10856 Usually this means the macro was only invoked conditionally." "$LINENO" 5 10863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10857 fi 10864 fi
10858 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10865 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10859 as_fn_error "conditional \"am__fastdepCC\" was never defined. 10866 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
10860 Usually this means the macro was only invoked conditionally." "$LINENO" 5 10867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10861 fi 10868 fi
10862 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then 10869 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then
10863 as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. 10870 as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined.
10864 Usually this means the macro was only invoked conditionally." "$LINENO" 5 10871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
10865 fi 10872 fi
10866 10873
10867 gl_libobjs= 10874 gl_libobjs=
10868 gl_ltlibobjs= 10875 gl_ltlibobjs=
11040 11047
11041 # CDPATH. 11048 # CDPATH.
11042 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11043 11050
11044 11051
11045 # as_fn_error ERROR [LINENO LOG_FD] 11052 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11046 # --------------------------------- 11053 # ----------------------------------------
11047 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11054 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11048 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11055 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11049 # script with status $?, using 1 if that was 0. 11056 # script with STATUS, using 1 if that was 0.
11050 as_fn_error () 11057 as_fn_error ()
11051 { 11058 {
11052 as_status=$?; test $as_status -eq 0 && as_status=1 11059 as_status=$1; test $as_status -eq 0 && as_status=1
11053 if test "$3"; then 11060 if test "$4"; then
11054 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11061 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11055 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 11062 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11056 fi 11063 fi
11057 $as_echo "$as_me: error: $1" >&2 11064 $as_echo "$as_me: error: $2" >&2
11058 as_fn_exit $as_status 11065 as_fn_exit $as_status
11059 } # as_fn_error 11066 } # as_fn_error
11060 11067
11061 11068
11062 # as_fn_set_status STATUS 11069 # as_fn_set_status STATUS
11248 } 11255 }
11249 s/.*/./; q'` 11256 s/.*/./; q'`
11250 test -d "$as_dir" && break 11257 test -d "$as_dir" && break
11251 done 11258 done
11252 test -z "$as_dirs" || eval "mkdir $as_dirs" 11259 test -z "$as_dirs" || eval "mkdir $as_dirs"
11253 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 11260 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11254 11261
11255 11262
11256 } # as_fn_mkdir_p 11263 } # as_fn_mkdir_p
11257 if mkdir -p . 2>/dev/null; then 11264 if mkdir -p . 2>/dev/null; then
11258 as_mkdir_p='mkdir -p "$as_dir"' 11265 as_mkdir_p='mkdir -p "$as_dir"'
11301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11302 # Save the log message, to keep $0 and so on meaningful, and to 11309 # Save the log message, to keep $0 and so on meaningful, and to
11303 # report actual input values of CONFIG_FILES etc. instead of their 11310 # report actual input values of CONFIG_FILES etc. instead of their
11304 # values after options handling. 11311 # values after options handling.
11305 ac_log=" 11312 ac_log="
11306 This file was extended by LWTools $as_me 3.0.1, which was 11313 This file was extended by LWTools $as_me 3.0.2-dev, which was
11307 generated by GNU Autoconf 2.65. Invocation command line was 11314 generated by GNU Autoconf 2.67. Invocation command line was
11308 11315
11309 CONFIG_FILES = $CONFIG_FILES 11316 CONFIG_FILES = $CONFIG_FILES
11310 CONFIG_HEADERS = $CONFIG_HEADERS 11317 CONFIG_HEADERS = $CONFIG_HEADERS
11311 CONFIG_LINKS = $CONFIG_LINKS 11318 CONFIG_LINKS = $CONFIG_LINKS
11312 CONFIG_COMMANDS = $CONFIG_COMMANDS 11319 CONFIG_COMMANDS = $CONFIG_COMMANDS
11367 11374
11368 _ACEOF 11375 _ACEOF
11369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11370 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11377 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11371 ac_cs_version="\\ 11378 ac_cs_version="\\
11372 LWTools config.status 3.0.1 11379 LWTools config.status 3.0.2-dev
11373 configured by $0, generated by GNU Autoconf 2.65, 11380 configured by $0, generated by GNU Autoconf 2.67,
11374 with options \\"\$ac_cs_config\\" 11381 with options \\"\$ac_cs_config\\"
11375 11382
11376 Copyright (C) 2009 Free Software Foundation, Inc. 11383 Copyright (C) 2010 Free Software Foundation, Inc.
11377 This config.status script is free software; the Free Software Foundation 11384 This config.status script is free software; the Free Software Foundation
11378 gives unlimited permission to copy, distribute and modify it." 11385 gives unlimited permission to copy, distribute and modify it."
11379 11386
11380 ac_pwd='$ac_pwd' 11387 ac_pwd='$ac_pwd'
11381 srcdir='$srcdir' 11388 srcdir='$srcdir'
11389 # The default lists apply if the user does not specify any file. 11396 # The default lists apply if the user does not specify any file.
11390 ac_need_defaults=: 11397 ac_need_defaults=:
11391 while test $# != 0 11398 while test $# != 0
11392 do 11399 do
11393 case $1 in 11400 case $1 in
11394 --*=*) 11401 --*=?*)
11395 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11396 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11404 ac_shift=:
11405 ;;
11406 --*=)
11407 ac_option=`expr "X$1" : 'X\([^=]*\)='`
11408 ac_optarg=
11397 ac_shift=: 11409 ac_shift=:
11398 ;; 11410 ;;
11399 *) 11411 *)
11400 ac_option=$1 11412 ac_option=$1
11401 ac_optarg=$2 11413 ac_optarg=$2
11415 debug=: ;; 11427 debug=: ;;
11416 --file | --fil | --fi | --f ) 11428 --file | --fil | --fi | --f )
11417 $ac_shift 11429 $ac_shift
11418 case $ac_optarg in 11430 case $ac_optarg in
11419 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11432 '') as_fn_error $? "missing file argument" ;;
11420 esac 11433 esac
11421 as_fn_append CONFIG_FILES " '$ac_optarg'" 11434 as_fn_append CONFIG_FILES " '$ac_optarg'"
11422 ac_need_defaults=false;; 11435 ac_need_defaults=false;;
11423 --header | --heade | --head | --hea ) 11436 --header | --heade | --head | --hea )
11424 $ac_shift 11437 $ac_shift
11427 esac 11440 esac
11428 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11441 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11429 ac_need_defaults=false;; 11442 ac_need_defaults=false;;
11430 --he | --h) 11443 --he | --h)
11431 # Conflict between --help and --header 11444 # Conflict between --help and --header
11432 as_fn_error "ambiguous option: \`$1' 11445 as_fn_error $? "ambiguous option: \`$1'
11433 Try \`$0 --help' for more information.";; 11446 Try \`$0 --help' for more information.";;
11434 --help | --hel | -h ) 11447 --help | --hel | -h )
11435 $as_echo "$ac_cs_usage"; exit ;; 11448 $as_echo "$ac_cs_usage"; exit ;;
11436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11437 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11450 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11438 ac_cs_silent=: ;; 11451 ac_cs_silent=: ;;
11439 11452
11440 # This is an error. 11453 # This is an error.
11441 -*) as_fn_error "unrecognized option: \`$1' 11454 -*) as_fn_error $? "unrecognized option: \`$1'
11442 Try \`$0 --help' for more information." ;; 11455 Try \`$0 --help' for more information." ;;
11443 11456
11444 *) as_fn_append ac_config_targets " $1" 11457 *) as_fn_append ac_config_targets " $1"
11445 ac_need_defaults=false ;; 11458 ac_need_defaults=false ;;
11446 11459
11501 "lwlink/Makefile") CONFIG_FILES="$CONFIG_FILES lwlink/Makefile" ;; 11514 "lwlink/Makefile") CONFIG_FILES="$CONFIG_FILES lwlink/Makefile" ;;
11502 "lwar/Makefile") CONFIG_FILES="$CONFIG_FILES lwar/Makefile" ;; 11515 "lwar/Makefile") CONFIG_FILES="$CONFIG_FILES lwar/Makefile" ;;
11503 "lwdisasm/Makefile") CONFIG_FILES="$CONFIG_FILES lwdisasm/Makefile" ;; 11516 "lwdisasm/Makefile") CONFIG_FILES="$CONFIG_FILES lwdisasm/Makefile" ;;
11504 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 11517 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
11505 11518
11506 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11519 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
11507 esac 11520 esac
11508 done 11521 done
11509 11522
11510 11523
11511 # If the user did not use the arguments to specify the items to instantiate, 11524 # If the user did not use the arguments to specify the items to instantiate,
11539 test -n "$tmp" && test -d "$tmp" 11552 test -n "$tmp" && test -d "$tmp"
11540 } || 11553 } ||
11541 { 11554 {
11542 tmp=./conf$$-$RANDOM 11555 tmp=./conf$$-$RANDOM
11543 (umask 077 && mkdir "$tmp") 11556 (umask 077 && mkdir "$tmp")
11544 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 11557 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
11545 11558
11546 # Set up the scripts for CONFIG_FILES section. 11559 # Set up the scripts for CONFIG_FILES section.
11547 # No need to generate them if there are no CONFIG_FILES. 11560 # No need to generate them if there are no CONFIG_FILES.
11548 # This happens for instance with `./config.status config.h'. 11561 # This happens for instance with `./config.status config.h'.
11549 if test -n "$CONFIG_FILES"; then 11562 if test -n "$CONFIG_FILES"; then
11556 if test "x$ac_cr" = x; then 11569 if test "x$ac_cr" = x; then
11557 eval ac_cr=\$\'\\r\' 11570 eval ac_cr=\$\'\\r\'
11558 fi 11571 fi
11559 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 11572 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11560 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 11573 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11561 ac_cs_awk_cr='\r' 11574 ac_cs_awk_cr='\\r'
11562 else 11575 else
11563 ac_cs_awk_cr=$ac_cr 11576 ac_cs_awk_cr=$ac_cr
11564 fi 11577 fi
11565 11578
11566 echo 'BEGIN {' >"$tmp/subs1.awk" && 11579 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11570 { 11583 {
11571 echo "cat >conf$$subs.awk <<_ACEOF" && 11584 echo "cat >conf$$subs.awk <<_ACEOF" &&
11572 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 11585 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11573 echo "_ACEOF" 11586 echo "_ACEOF"
11574 } >conf$$subs.sh || 11587 } >conf$$subs.sh ||
11575 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11588 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11576 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 11589 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11577 ac_delim='%!_!# ' 11590 ac_delim='%!_!# '
11578 for ac_last_try in false false false false false :; do 11591 for ac_last_try in false false false false false :; do
11579 . ./conf$$subs.sh || 11592 . ./conf$$subs.sh ||
11580 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11593 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11581 11594
11582 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 11595 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
11583 if test $ac_delim_n = $ac_delim_num; then 11596 if test $ac_delim_n = $ac_delim_num; then
11584 break 11597 break
11585 elif $ac_last_try; then 11598 elif $ac_last_try; then
11586 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 11599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
11587 else 11600 else
11588 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11589 fi 11602 fi
11590 done 11603 done
11591 rm -f conf$$subs.sh 11604 rm -f conf$$subs.sh
11670 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 11683 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11671 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 11684 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
11672 else 11685 else
11673 cat 11686 cat
11674 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 11687 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
11675 || as_fn_error "could not setup config files machinery" "$LINENO" 5 11688 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
11676 _ACEOF 11689 _ACEOF
11677 11690
11678 # VPATH may cause trouble with some makes, so we remove $(srcdir), 11691 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
11679 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11692 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
11680 # trailing colons and then remove the whole line if VPATH becomes empty 11693 # trailing colons and then remove the whole line if VPATH becomes empty
11681 # (actually we leave an empty line to preserve line numbers). 11694 # (actually we leave an empty line to preserve line numbers).
11682 if test "x$srcdir" = x.; then 11695 if test "x$srcdir" = x.; then
11683 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 11696 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
11684 s/:*\$(srcdir):*/:/ 11697 h
11685 s/:*\${srcdir}:*/:/ 11698 s///
11686 s/:*@srcdir@:*/:/ 11699 s/^/:/
11687 s/^\([^=]*=[ ]*\):*/\1/ 11700 s/[ ]*$/:/
11701 s/:\$(srcdir):/:/g
11702 s/:\${srcdir}:/:/g
11703 s/:@srcdir@:/:/g
11704 s/^:*//
11688 s/:*$// 11705 s/:*$//
11706 x
11707 s/\(=[ ]*\).*/\1/
11708 G
11709 s/\n//
11689 s/^[^=]*=[ ]*$// 11710 s/^[^=]*=[ ]*$//
11690 }' 11711 }'
11691 fi 11712 fi
11692 11713
11693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11711 for ac_last_try in false false :; do 11732 for ac_last_try in false false :; do
11712 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 11733 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
11713 if test -z "$ac_t"; then 11734 if test -z "$ac_t"; then
11714 break 11735 break
11715 elif $ac_last_try; then 11736 elif $ac_last_try; then
11716 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 11737 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
11717 else 11738 else
11718 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11739 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11719 fi 11740 fi
11720 done 11741 done
11721 11742
11796 } 11817 }
11797 { print } 11818 { print }
11798 _ACAWK 11819 _ACAWK
11799 _ACEOF 11820 _ACEOF
11800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11801 as_fn_error "could not setup config headers machinery" "$LINENO" 5 11822 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
11802 fi # test -n "$CONFIG_HEADERS" 11823 fi # test -n "$CONFIG_HEADERS"
11803 11824
11804 11825
11805 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 11826 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11806 shift 11827 shift
11809 case $ac_tag in 11830 case $ac_tag in
11810 :[FHLC]) ac_mode=$ac_tag; continue;; 11831 :[FHLC]) ac_mode=$ac_tag; continue;;
11811 esac 11832 esac
11812 case $ac_mode$ac_tag in 11833 case $ac_mode$ac_tag in
11813 :[FHL]*:*);; 11834 :[FHL]*:*);;
11814 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 11835 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
11815 :[FH]-) ac_tag=-:-;; 11836 :[FH]-) ac_tag=-:-;;
11816 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 11837 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11817 esac 11838 esac
11818 ac_save_IFS=$IFS 11839 ac_save_IFS=$IFS
11819 IFS=: 11840 IFS=:
11837 test -f "$ac_f" || 11858 test -f "$ac_f" ||
11838 case $ac_f in 11859 case $ac_f in
11839 [\\/$]*) false;; 11860 [\\/$]*) false;;
11840 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11861 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11841 esac || 11862 esac ||
11842 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11863 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
11843 esac 11864 esac
11844 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11865 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11845 as_fn_append ac_file_inputs " '$ac_f'" 11866 as_fn_append ac_file_inputs " '$ac_f'"
11846 done 11867 done
11847 11868
11864 *) ac_sed_conf_input=$configure_input;; 11885 *) ac_sed_conf_input=$configure_input;;
11865 esac 11886 esac
11866 11887
11867 case $ac_tag in 11888 case $ac_tag in
11868 *:-:* | *:-) cat >"$tmp/stdin" \ 11889 *:-:* | *:-) cat >"$tmp/stdin" \
11869 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 11890 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
11870 esac 11891 esac
11871 ;; 11892 ;;
11872 esac 11893 esac
11873 11894
11874 ac_dir=`$as_dirname -- "$ac_file" || 11895 ac_dir=`$as_dirname -- "$ac_file" ||
12001 s&@INSTALL@&$ac_INSTALL&;t t 12022 s&@INSTALL@&$ac_INSTALL&;t t
12002 s&@MKDIR_P@&$ac_MKDIR_P&;t t 12023 s&@MKDIR_P@&$ac_MKDIR_P&;t t
12003 $ac_datarootdir_hack 12024 $ac_datarootdir_hack
12004 " 12025 "
12005 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 12026 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12006 || as_fn_error "could not create $ac_file" "$LINENO" 5 12027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12007 12028
12008 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12029 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12009 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12030 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12010 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12031 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12012 which seems to be undefined. Please make sure it is defined." >&5 12033 which seems to be undefined. Please make sure it is defined" >&5
12013 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12034 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12014 which seems to be undefined. Please make sure it is defined." >&2;} 12035 which seems to be undefined. Please make sure it is defined" >&2;}
12015 12036
12016 rm -f "$tmp/stdin" 12037 rm -f "$tmp/stdin"
12017 case $ac_file in 12038 case $ac_file in
12018 -) cat "$tmp/out" && rm -f "$tmp/out";; 12039 -) cat "$tmp/out" && rm -f "$tmp/out";;
12019 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 12040 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12020 esac \ 12041 esac \
12021 || as_fn_error "could not create $ac_file" "$LINENO" 5 12042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12022 ;; 12043 ;;
12023 :H) 12044 :H)
12024 # 12045 #
12025 # CONFIG_HEADER 12046 # CONFIG_HEADER
12026 # 12047 #
12027 if test x"$ac_file" != x-; then 12048 if test x"$ac_file" != x-; then
12028 { 12049 {
12029 $as_echo "/* $configure_input */" \ 12050 $as_echo "/* $configure_input */" \
12030 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 12051 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12031 } >"$tmp/config.h" \ 12052 } >"$tmp/config.h" \
12032 || as_fn_error "could not create $ac_file" "$LINENO" 5 12053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12033 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 12054 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12055 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12035 $as_echo "$as_me: $ac_file is unchanged" >&6;} 12056 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12036 else 12057 else
12037 rm -f "$ac_file" 12058 rm -f "$ac_file"
12038 mv "$tmp/config.h" "$ac_file" \ 12059 mv "$tmp/config.h" "$ac_file" \
12039 || as_fn_error "could not create $ac_file" "$LINENO" 5 12060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12040 fi 12061 fi
12041 else 12062 else
12042 $as_echo "/* $configure_input */" \ 12063 $as_echo "/* $configure_input */" \
12043 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 12064 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12044 || as_fn_error "could not create -" "$LINENO" 5 12065 || as_fn_error $? "could not create -" "$LINENO" 5
12045 fi 12066 fi
12046 # Compute "$ac_file"'s index in $config_headers. 12067 # Compute "$ac_file"'s index in $config_headers.
12047 _am_arg="$ac_file" 12068 _am_arg="$ac_file"
12048 _am_stamp_count=1 12069 _am_stamp_count=1
12049 for _am_header in $config_headers :; do 12070 for _am_header in $config_headers :; do
12189 as_fn_exit 0 12210 as_fn_exit 0
12190 _ACEOF 12211 _ACEOF
12191 ac_clean_files=$ac_clean_files_save 12212 ac_clean_files=$ac_clean_files_save
12192 12213
12193 test $ac_write_fail = 0 || 12214 test $ac_write_fail = 0 ||
12194 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 12215 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12195 12216
12196 12217
12197 # configure is writing to config.log, and then calls config.status. 12218 # configure is writing to config.log, and then calls config.status.
12198 # config.status does its own redirection, appending to config.log. 12219 # config.status does its own redirection, appending to config.log.
12199 # Unfortunately, on DOS this fails, as config.log is still kept open 12220 # Unfortunately, on DOS this fails, as config.log is still kept open
12210 exec 5>/dev/null 12231 exec 5>/dev/null
12211 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 12232 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12212 exec 5>>config.log 12233 exec 5>>config.log
12213 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 12234 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12214 # would make configure fail if this is the last instruction. 12235 # would make configure fail if this is the last instruction.
12215 $ac_cs_success || as_fn_exit $? 12236 $ac_cs_success || as_fn_exit 1
12216 fi 12237 fi
12217 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 12238 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 12239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12219 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 12240 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12220 fi 12241 fi