configure (60484) | configure (61843) |
---|---|
1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. | 1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. |
4# Generated automatically using autoconf version 2.13.1 | 4# Generated automatically using autoconf version 2.13 |
5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Defaults: 11ac_help= 12ac_default_prefix=/usr/local --- 336 unchanged lines hidden (view full) --- 349 ac_prev=target ;; 350 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 351 target="$ac_optarg" ;; 352 353 -v | -verbose | --verbose | --verbos | --verbo | --verb) 354 verbose=yes ;; 355 356 -version | --version | --versio | --versi | --vers) | 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Defaults: 11ac_help= 12ac_default_prefix=/usr/local --- 336 unchanged lines hidden (view full) --- 349 ac_prev=target ;; 350 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 351 target="$ac_optarg" ;; 352 353 -v | -verbose | --verbose | --verbos | --verbo | --verb) 354 verbose=yes ;; 355 356 -version | --version | --versio | --versi | --vers) |
357 echo "configure generated by autoconf version 2.13.1" | 357 echo "configure generated by autoconf version 2.13" |
358 exit 0 ;; 359 360 -with-* | --with-*) 361 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 362 # Reject names that are not valid shell variable names. 363 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 365 fi --- 143 unchanged lines hidden (view full) --- 509 if test -r "$ac_site_file"; then 510 echo "loading site script $ac_site_file" 511 . "$ac_site_file" 512 fi 513done 514 515if test -r "$cache_file"; then 516 echo "loading cache $cache_file" | 358 exit 0 ;; 359 360 -with-* | --with-*) 361 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 362 # Reject names that are not valid shell variable names. 363 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 365 fi --- 143 unchanged lines hidden (view full) --- 509 if test -r "$ac_site_file"; then 510 echo "loading site script $ac_site_file" 511 . "$ac_site_file" 512 fi 513done 514 515if test -r "$cache_file"; then 516 echo "loading cache $cache_file" |
517 test -f "$cache_file" && . $cache_file | 517 . $cache_file |
518else 519 echo "creating cache $cache_file" 520 > $cache_file 521fi 522 523ac_ext=c 524# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 525ac_cpp='$CPP $CPPFLAGS' --- 27 unchanged lines hidden (view full) --- 553 ac_aux_dir=$ac_dir 554 ac_install_sh="$ac_aux_dir/install.sh -c" 555 break 556 fi 557done 558if test -z "$ac_aux_dir"; then 559 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 560fi | 518else 519 echo "creating cache $cache_file" 520 > $cache_file 521fi 522 523ac_ext=c 524# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 525ac_cpp='$CPP $CPPFLAGS' --- 27 unchanged lines hidden (view full) --- 553 ac_aux_dir=$ac_dir 554 ac_install_sh="$ac_aux_dir/install.sh -c" 555 break 556 fi 557done 558if test -z "$ac_aux_dir"; then 559 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 560fi |
561ac_config_guess="$SHELL $ac_aux_dir/config.guess" 562ac_config_sub="$SHELL $ac_aux_dir/config.sub" 563ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 561ac_config_guess=$ac_aux_dir/config.guess 562ac_config_sub=$ac_aux_dir/config.sub 563ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
564 565 | 564 565 |
566echo $ac_n "checking host system type""... $ac_c" 1>&6 567echo "configure:568: checking host system type" >&5 568if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then 569 570# Make sure we can run config.sub. 571 if $ac_config_sub sun4 >/dev/null 2>&1; then : 572 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 573 fi 574 575 ac_cv_host_alias=$host 576 case "$ac_cv_host_alias" in 577 NONE) 578 case $nonopt in 579 NONE) 580 if ac_cv_host_alias=`$ac_config_guess`; then : 581 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 582 fi ;; 583 *) ac_cv_host_alias=$nonopt ;; 584 esac ;; 585 esac 586 587 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` 588 ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 589 ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 590 ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 591else 592 echo $ac_n "(cached) $ac_c" 1>&6 593fi 594 595echo "$ac_t""$ac_cv_host" 1>&6 596 597host=$ac_cv_host 598host_alias=$ac_cv_host_alias 599host_cpu=$ac_cv_host_cpu 600host_vendor=$ac_cv_host_vendor 601host_os=$ac_cv_host_os 602 603 604 605 606 607echo $ac_n "checking target system type""... $ac_c" 1>&6 608echo "configure:609: checking target system type" >&5 609if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then 610 611# Make sure we can run config.sub. 612 if $ac_config_sub sun4 >/dev/null 2>&1; then : 613 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 614 fi 615 616 ac_cv_target_alias=$target 617 case "$ac_cv_target_alias" in 618 NONE) 619 case $nonopt in 620 NONE) 621 ac_cv_target_alias=$host_alias ;; 622 623 *) ac_cv_target_alias=$nonopt ;; 624 esac ;; 625 esac 626 627 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` 628 ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 629 ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 630 ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 631else 632 echo $ac_n "(cached) $ac_c" 1>&6 633fi 634 635echo "$ac_t""$ac_cv_target" 1>&6 636 637target=$ac_cv_target 638target_alias=$ac_cv_target_alias 639target_cpu=$ac_cv_target_cpu 640target_vendor=$ac_cv_target_vendor 641target_os=$ac_cv_target_os 642 643 644 645 646 647echo $ac_n "checking build system type""... $ac_c" 1>&6 648echo "configure:649: checking build system type" >&5 649if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then 650 651# Make sure we can run config.sub. 652 if $ac_config_sub sun4 >/dev/null 2>&1; then : 653 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 654 fi 655 656 ac_cv_build_alias=$build 657 case "$ac_cv_build_alias" in 658 NONE) 659 case $nonopt in 660 NONE) 661 ac_cv_build_alias=$host_alias ;; 662 663 *) ac_cv_build_alias=$nonopt ;; 664 esac ;; 665 esac 666 667 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` 668 ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 669 ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 670 ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 671else 672 echo $ac_n "(cached) $ac_c" 1>&6 673fi 674 675echo "$ac_t""$ac_cv_build" 1>&6 676 677build=$ac_cv_build 678build_alias=$ac_cv_build_alias 679build_cpu=$ac_cv_build_cpu 680build_vendor=$ac_cv_build_vendor 681build_os=$ac_cv_build_os 682 683 684 685 686 | |
687# Do some error checking and defaulting for the host and target type. 688# The inputs are: 689# configure --host=HOST --target=TARGET --build=BUILD NONOPT 690# 691# The rules are: 692# 1. You are not allowed to specify --host, --target, and nonopt at the 693# same time. 694# 2. Host defaults to nonopt. --- 4 unchanged lines hidden (view full) --- 699 700# The aliases save the names the user supplied, while $host etc. 701# will get canonicalized. 702case $host---$target---$nonopt in 703NONE---*---* | *---NONE---* | *---*---NONE) ;; 704*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 705esac 706 | 566# Do some error checking and defaulting for the host and target type. 567# The inputs are: 568# configure --host=HOST --target=TARGET --build=BUILD NONOPT 569# 570# The rules are: 571# 1. You are not allowed to specify --host, --target, and nonopt at the 572# same time. 573# 2. Host defaults to nonopt. --- 4 unchanged lines hidden (view full) --- 578 579# The aliases save the names the user supplied, while $host etc. 580# will get canonicalized. 581case $host---$target---$nonopt in 582NONE---*---* | *---NONE---* | *---*---NONE) ;; 583*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; 584esac 585 |
586 587# Make sure we can run config.sub. 588if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 589else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 590fi 591 592echo $ac_n "checking host system type""... $ac_c" 1>&6 593echo "configure:594: checking host system type" >&5 594 595host_alias=$host 596case "$host_alias" in 597NONE) 598 case $nonopt in 599 NONE) 600 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 601 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } 602 fi ;; 603 *) host_alias=$nonopt ;; 604 esac ;; 605esac 606 607host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 608host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 609host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 610host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 611echo "$ac_t""$host" 1>&6 612 613echo $ac_n "checking target system type""... $ac_c" 1>&6 614echo "configure:615: checking target system type" >&5 615 616target_alias=$target 617case "$target_alias" in 618NONE) 619 case $nonopt in 620 NONE) target_alias=$host_alias ;; 621 *) target_alias=$nonopt ;; 622 esac ;; 623esac 624 625target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 626target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 627target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 628target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 629echo "$ac_t""$target" 1>&6 630 631echo $ac_n "checking build system type""... $ac_c" 1>&6 632echo "configure:633: checking build system type" >&5 633 634build_alias=$build 635case "$build_alias" in 636NONE) 637 case $nonopt in 638 NONE) build_alias=$host_alias ;; 639 *) build_alias=$nonopt ;; 640 esac ;; 641esac 642 643build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` 644build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 645build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 646build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 647echo "$ac_t""$build" 1>&6 648 |
|
707test "$host_alias" != "$target_alias" && 708 test "$program_prefix$program_suffix$program_transform_name" = \ 709 NONENONEs,x,x, && 710 program_prefix=${target_alias}- 711 712 713# Find a good install program. We prefer a C program (faster), 714# so one script is as good as another. But avoid the broken or 715# incompatible versions: 716# SysV /etc/install, /usr/sbin/install 717# SunOS /usr/etc/install 718# IRIX /sbin/install 719# AIX /bin/install 720# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 721# AFS /usr/afsws/bin/install, which mishandles nonexistent args 722# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 723# ./install, which can be erroneously created by make from ./install.sh. 724echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 649test "$host_alias" != "$target_alias" && 650 test "$program_prefix$program_suffix$program_transform_name" = \ 651 NONENONEs,x,x, && 652 program_prefix=${target_alias}- 653 654 655# Find a good install program. We prefer a C program (faster), 656# so one script is as good as another. But avoid the broken or 657# incompatible versions: 658# SysV /etc/install, /usr/sbin/install 659# SunOS /usr/etc/install 660# IRIX /sbin/install 661# AIX /bin/install 662# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 663# AFS /usr/afsws/bin/install, which mishandles nonexistent args 664# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 665# ./install, which can be erroneously created by make from ./install.sh. 666echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
725echo "configure:726: checking for a BSD compatible install" >&5 | 667echo "configure:668: checking for a BSD compatible install" >&5 |
726if test -z "$INSTALL"; then | 668if test -z "$INSTALL"; then |
727if eval "test \"\${ac_cv_path_install+set}\" = set"; then | 669if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
728 echo $ac_n "(cached) $ac_c" 1>&6 729else 730 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 731 for ac_dir in $PATH; do 732 # Account for people who put trailing slashes in PATH elements. 733 case "$ac_dir/" in 734 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 735 *) 736 # OSF1 and SCO ODT 3.0 have their own names for install. 737 # Don't use installbsd from OSF since it installs stuff as root 738 # by default. 739 for ac_prog in ginstall scoinst install; do 740 if test -f $ac_dir/$ac_prog; then 741 if test $ac_prog = install && 742 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 743 # AIX install. It has an incompatible calling convention. 744 : | 670 echo $ac_n "(cached) $ac_c" 1>&6 671else 672 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 673 for ac_dir in $PATH; do 674 # Account for people who put trailing slashes in PATH elements. 675 case "$ac_dir/" in 676 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 677 *) 678 # OSF1 and SCO ODT 3.0 have their own names for install. 679 # Don't use installbsd from OSF since it installs stuff as root 680 # by default. 681 for ac_prog in ginstall scoinst install; do 682 if test -f $ac_dir/$ac_prog; then 683 if test $ac_prog = install && 684 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 685 # AIX install. It has an incompatible calling convention. 686 : |
745 elif test $ac_prog = install && 746 grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then 747 # program-specific install script used by HP pwplus--don't use. 748 : | |
749 else 750 ac_cv_path_install="$ac_dir/$ac_prog -c" 751 break 2 752 fi 753 fi 754 done 755 ;; 756 esac --- 12 unchanged lines hidden (view full) --- 769 fi 770fi 771echo "$ac_t""$INSTALL" 1>&6 772 773# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 774# It thinks the first close brace ends the variable substitution. 775test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 776 | 687 else 688 ac_cv_path_install="$ac_dir/$ac_prog -c" 689 break 2 690 fi 691 fi 692 done 693 ;; 694 esac --- 12 unchanged lines hidden (view full) --- 707 fi 708fi 709echo "$ac_t""$INSTALL" 1>&6 710 711# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 712# It thinks the first close brace ends the variable substitution. 713test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 714 |
777test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 715test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
778 779test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 780 781echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 716 717test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 718 719echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
782echo "configure:783: checking whether build environment is sane" >&5 | 720echo "configure:721: checking whether build environment is sane" >&5 |
783# Just in case 784sleep 1 785echo timestamp > conftestfile 786# Do `set' in a subshell so we don't clobber the current shell's 787# arguments. Must try -L first in case configure is actually a 788# symlink; some systems play weird games with the mod time of symlinks 789# (eg FreeBSD returns the mod time of the symlink's containing 790# directory). --- 31 unchanged lines hidden (view full) --- 822 # Double any \ or $. echo might interpret backslashes. 823 cat <<\EOF_SED > conftestsed 824s,\\,\\\\,g; s,\$,$$,g 825EOF_SED 826 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 827 rm -f conftestsed 828fi 829test "$program_prefix" != NONE && | 721# Just in case 722sleep 1 723echo timestamp > conftestfile 724# Do `set' in a subshell so we don't clobber the current shell's 725# arguments. Must try -L first in case configure is actually a 726# symlink; some systems play weird games with the mod time of symlinks 727# (eg FreeBSD returns the mod time of the symlink's containing 728# directory). --- 31 unchanged lines hidden (view full) --- 760 # Double any \ or $. echo might interpret backslashes. 761 cat <<\EOF_SED > conftestsed 762s,\\,\\\\,g; s,\$,$$,g 763EOF_SED 764 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" 765 rm -f conftestsed 766fi 767test "$program_prefix" != NONE && |
830 program_transform_name="s,^,${program_prefix},;$program_transform_name" | 768 program_transform_name="s,^,${program_prefix},; $program_transform_name" |
831# Use a double $ so make ignores it. 832test "$program_suffix" != NONE && | 769# Use a double $ so make ignores it. 770test "$program_suffix" != NONE && |
833 program_transform_name="s,\$\$,${program_suffix},;$program_transform_name" | 771 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
834 835# sed with no file args requires a program. 836test "$program_transform_name" = "" && program_transform_name="s,x,x," 837 838echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 772 773# sed with no file args requires a program. 774test "$program_transform_name" = "" && program_transform_name="s,x,x," 775 776echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
839echo "configure:840: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 777echo "configure:778: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
840set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 778set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
841if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 779if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
842 echo $ac_n "(cached) $ac_c" 1>&6 843else 844 cat > conftestmake <<\EOF 845all: 846 @echo 'ac_maketemp="${MAKE}"' 847EOF 848# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 849eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` --- 10 unchanged lines hidden (view full) --- 860else 861 echo "$ac_t""no" 1>&6 862 SET_MAKE="MAKE=${MAKE-make}" 863fi 864 865 866PACKAGE=ld 867 | 780 echo $ac_n "(cached) $ac_c" 1>&6 781else 782 cat > conftestmake <<\EOF 783all: 784 @echo 'ac_maketemp="${MAKE}"' 785EOF 786# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 787eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` --- 10 unchanged lines hidden (view full) --- 798else 799 echo "$ac_t""no" 1>&6 800 SET_MAKE="MAKE=${MAKE-make}" 801fi 802 803 804PACKAGE=ld 805 |
868VERSION=2.9.5 | 806VERSION=2.10 |
869 870if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 871 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 872fi 873cat >> confdefs.h <<EOF 874#define PACKAGE "$PACKAGE" 875EOF 876 877cat >> confdefs.h <<EOF 878#define VERSION "$VERSION" 879EOF 880 881 882 883missing_dir=`cd $ac_aux_dir && pwd` 884echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 807 808if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 809 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 810fi 811cat >> confdefs.h <<EOF 812#define PACKAGE "$PACKAGE" 813EOF 814 815cat >> confdefs.h <<EOF 816#define VERSION "$VERSION" 817EOF 818 819 820 821missing_dir=`cd $ac_aux_dir && pwd` 822echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
885echo "configure:886: checking for working aclocal" >&5 | 823echo "configure:824: checking for working aclocal" >&5 |
886# Run test in a subshell; some versions of sh will print an error if 887# an executable is not found, even if stderr is redirected. 888# Redirect stdin to placate older versions of autoconf. Sigh. 889if (aclocal --version) < /dev/null > /dev/null 2>&1; then 890 ACLOCAL=aclocal 891 echo "$ac_t""found" 1>&6 892else 893 ACLOCAL="$missing_dir/missing aclocal" 894 echo "$ac_t""missing" 1>&6 895fi 896 897echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 824# Run test in a subshell; some versions of sh will print an error if 825# an executable is not found, even if stderr is redirected. 826# Redirect stdin to placate older versions of autoconf. Sigh. 827if (aclocal --version) < /dev/null > /dev/null 2>&1; then 828 ACLOCAL=aclocal 829 echo "$ac_t""found" 1>&6 830else 831 ACLOCAL="$missing_dir/missing aclocal" 832 echo "$ac_t""missing" 1>&6 833fi 834 835echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
898echo "configure:899: checking for working autoconf" >&5 | 836echo "configure:837: checking for working autoconf" >&5 |
899# Run test in a subshell; some versions of sh will print an error if 900# an executable is not found, even if stderr is redirected. 901# Redirect stdin to placate older versions of autoconf. Sigh. 902if (autoconf --version) < /dev/null > /dev/null 2>&1; then 903 AUTOCONF=autoconf 904 echo "$ac_t""found" 1>&6 905else 906 AUTOCONF="$missing_dir/missing autoconf" 907 echo "$ac_t""missing" 1>&6 908fi 909 910echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 837# Run test in a subshell; some versions of sh will print an error if 838# an executable is not found, even if stderr is redirected. 839# Redirect stdin to placate older versions of autoconf. Sigh. 840if (autoconf --version) < /dev/null > /dev/null 2>&1; then 841 AUTOCONF=autoconf 842 echo "$ac_t""found" 1>&6 843else 844 AUTOCONF="$missing_dir/missing autoconf" 845 echo "$ac_t""missing" 1>&6 846fi 847 848echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
911echo "configure:912: checking for working automake" >&5 | 849echo "configure:850: checking for working automake" >&5 |
912# Run test in a subshell; some versions of sh will print an error if 913# an executable is not found, even if stderr is redirected. 914# Redirect stdin to placate older versions of autoconf. Sigh. 915if (automake --version) < /dev/null > /dev/null 2>&1; then 916 AUTOMAKE=automake 917 echo "$ac_t""found" 1>&6 918else 919 AUTOMAKE="$missing_dir/missing automake" 920 echo "$ac_t""missing" 1>&6 921fi 922 923echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 850# Run test in a subshell; some versions of sh will print an error if 851# an executable is not found, even if stderr is redirected. 852# Redirect stdin to placate older versions of autoconf. Sigh. 853if (automake --version) < /dev/null > /dev/null 2>&1; then 854 AUTOMAKE=automake 855 echo "$ac_t""found" 1>&6 856else 857 AUTOMAKE="$missing_dir/missing automake" 858 echo "$ac_t""missing" 1>&6 859fi 860 861echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
924echo "configure:925: checking for working autoheader" >&5 | 862echo "configure:863: checking for working autoheader" >&5 |
925# Run test in a subshell; some versions of sh will print an error if 926# an executable is not found, even if stderr is redirected. 927# Redirect stdin to placate older versions of autoconf. Sigh. 928if (autoheader --version) < /dev/null > /dev/null 2>&1; then 929 AUTOHEADER=autoheader 930 echo "$ac_t""found" 1>&6 931else 932 AUTOHEADER="$missing_dir/missing autoheader" 933 echo "$ac_t""missing" 1>&6 934fi 935 936echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 863# Run test in a subshell; some versions of sh will print an error if 864# an executable is not found, even if stderr is redirected. 865# Redirect stdin to placate older versions of autoconf. Sigh. 866if (autoheader --version) < /dev/null > /dev/null 2>&1; then 867 AUTOHEADER=autoheader 868 echo "$ac_t""found" 1>&6 869else 870 AUTOHEADER="$missing_dir/missing autoheader" 871 echo "$ac_t""missing" 1>&6 872fi 873 874echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
937echo "configure:938: checking for working makeinfo" >&5 | 875echo "configure:876: checking for working makeinfo" >&5 |
938# Run test in a subshell; some versions of sh will print an error if 939# an executable is not found, even if stderr is redirected. 940# Redirect stdin to placate older versions of autoconf. Sigh. 941if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 942 MAKEINFO=makeinfo 943 echo "$ac_t""found" 1>&6 944else 945 MAKEINFO="$missing_dir/missing makeinfo" --- 69 unchanged lines hidden (view full) --- 1015esac 1016else 1017 enable_fast_install=yes 1018fi 1019 1020# Extract the first word of "ranlib", so it can be a program name with args. 1021set dummy ranlib; ac_word=$2 1022echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 876# Run test in a subshell; some versions of sh will print an error if 877# an executable is not found, even if stderr is redirected. 878# Redirect stdin to placate older versions of autoconf. Sigh. 879if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 880 MAKEINFO=makeinfo 881 echo "$ac_t""found" 1>&6 882else 883 MAKEINFO="$missing_dir/missing makeinfo" --- 69 unchanged lines hidden (view full) --- 953esac 954else 955 enable_fast_install=yes 956fi 957 958# Extract the first word of "ranlib", so it can be a program name with args. 959set dummy ranlib; ac_word=$2 960echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1023echo "configure:1024: checking for $ac_word" >&5 1024if eval "test \"\${ac_cv_prog_RANLIB+set}\" = set"; then | 961echo "configure:962: checking for $ac_word" >&5 962if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
1025 echo $ac_n "(cached) $ac_c" 1>&6 1026else 1027 if test -n "$RANLIB"; then 1028 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1029else 1030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1031 ac_dummy="$PATH" 1032 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 1045 echo "$ac_t""$RANLIB" 1>&6 1046else 1047 echo "$ac_t""no" 1>&6 1048fi 1049 1050# Extract the first word of "gcc", so it can be a program name with args. 1051set dummy gcc; ac_word=$2 1052echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 963 echo $ac_n "(cached) $ac_c" 1>&6 964else 965 if test -n "$RANLIB"; then 966 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 967else 968 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 969 ac_dummy="$PATH" 970 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 983 echo "$ac_t""$RANLIB" 1>&6 984else 985 echo "$ac_t""no" 1>&6 986fi 987 988# Extract the first word of "gcc", so it can be a program name with args. 989set dummy gcc; ac_word=$2 990echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1053echo "configure:1054: checking for $ac_word" >&5 1054if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 991echo "configure:992: checking for $ac_word" >&5 992if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1055 echo $ac_n "(cached) $ac_c" 1>&6 1056else 1057 if test -n "$CC"; then 1058 ac_cv_prog_CC="$CC" # Let the user override the test. 1059else 1060 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1061 ac_dummy="$PATH" 1062 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 1075else 1076 echo "$ac_t""no" 1>&6 1077fi 1078 1079if test -z "$CC"; then 1080 # Extract the first word of "cc", so it can be a program name with args. 1081set dummy cc; ac_word=$2 1082echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 993 echo $ac_n "(cached) $ac_c" 1>&6 994else 995 if test -n "$CC"; then 996 ac_cv_prog_CC="$CC" # Let the user override the test. 997else 998 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 999 ac_dummy="$PATH" 1000 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 1013else 1014 echo "$ac_t""no" 1>&6 1015fi 1016 1017if test -z "$CC"; then 1018 # Extract the first word of "cc", so it can be a program name with args. 1019set dummy cc; ac_word=$2 1020echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1083echo "configure:1084: checking for $ac_word" >&5 1084if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 1021echo "configure:1022: checking for $ac_word" >&5 1022if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1085 echo $ac_n "(cached) $ac_c" 1>&6 1086else 1087 if test -n "$CC"; then 1088 ac_cv_prog_CC="$CC" # Let the user override the test. 1089else 1090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1091 ac_prog_rejected=no 1092 ac_dummy="$PATH" --- 29 unchanged lines hidden (view full) --- 1122if test -n "$CC"; then 1123 echo "$ac_t""$CC" 1>&6 1124else 1125 echo "$ac_t""no" 1>&6 1126fi 1127 1128 if test -z "$CC"; then 1129 case "`uname -s`" in | 1023 echo $ac_n "(cached) $ac_c" 1>&6 1024else 1025 if test -n "$CC"; then 1026 ac_cv_prog_CC="$CC" # Let the user override the test. 1027else 1028 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1029 ac_prog_rejected=no 1030 ac_dummy="$PATH" --- 29 unchanged lines hidden (view full) --- 1060if test -n "$CC"; then 1061 echo "$ac_t""$CC" 1>&6 1062else 1063 echo "$ac_t""no" 1>&6 1064fi 1065 1066 if test -z "$CC"; then 1067 case "`uname -s`" in |
1130 *win32* | *WIN32* | *CYGWIN*) | 1068 *win32* | *WIN32*) |
1131 # Extract the first word of "cl", so it can be a program name with args. 1132set dummy cl; ac_word=$2 1133echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1069 # Extract the first word of "cl", so it can be a program name with args. 1070set dummy cl; ac_word=$2 1071echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1134echo "configure:1135: checking for $ac_word" >&5 1135if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 1072echo "configure:1073: checking for $ac_word" >&5 1073if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1136 echo $ac_n "(cached) $ac_c" 1>&6 1137else 1138 if test -n "$CC"; then 1139 ac_cv_prog_CC="$CC" # Let the user override the test. 1140else 1141 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1142 ac_dummy="$PATH" 1143 for ac_dir in $ac_dummy; do --- 13 unchanged lines hidden (view full) --- 1157 echo "$ac_t""no" 1>&6 1158fi 1159 ;; 1160 esac 1161 fi 1162 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1163fi 1164 | 1074 echo $ac_n "(cached) $ac_c" 1>&6 1075else 1076 if test -n "$CC"; then 1077 ac_cv_prog_CC="$CC" # Let the user override the test. 1078else 1079 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1080 ac_dummy="$PATH" 1081 for ac_dir in $ac_dummy; do --- 13 unchanged lines hidden (view full) --- 1095 echo "$ac_t""no" 1>&6 1096fi 1097 ;; 1098 esac 1099 fi 1100 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1101fi 1102 |
1165echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1166echo "configure:1167: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 | 1103echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1104echo "configure:1105: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1167 1168ac_ext=c 1169# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1170ac_cpp='$CPP $CPPFLAGS' 1171ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1172ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1173cross_compiling=$ac_cv_prog_cc_cross 1174 1175cat > conftest.$ac_ext << EOF 1176 | 1105 1106ac_ext=c 1107# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1108ac_cpp='$CPP $CPPFLAGS' 1109ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1110ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1111cross_compiling=$ac_cv_prog_cc_cross 1112 1113cat > conftest.$ac_ext << EOF 1114 |
1177#line 1178 "configure" | 1115#line 1116 "configure" |
1178#include "confdefs.h" 1179 1180main(){return(0);} 1181EOF | 1116#include "confdefs.h" 1117 1118main(){return(0);} 1119EOF |
1182if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1120if { (eval echo configure:1121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1183 ac_cv_prog_cc_works=yes 1184 # If we can't run a trivial program, we are probably using a cross compiler. 1185 if (./conftest; exit) 2>/dev/null; then 1186 ac_cv_prog_cc_cross=no 1187 else 1188 ac_cv_prog_cc_cross=yes 1189 fi 1190else --- 8 unchanged lines hidden (view full) --- 1199ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1200ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1201cross_compiling=$ac_cv_prog_cc_cross 1202 1203echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1204if test $ac_cv_prog_cc_works = no; then 1205 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1206fi | 1121 ac_cv_prog_cc_works=yes 1122 # If we can't run a trivial program, we are probably using a cross compiler. 1123 if (./conftest; exit) 2>/dev/null; then 1124 ac_cv_prog_cc_cross=no 1125 else 1126 ac_cv_prog_cc_cross=yes 1127 fi 1128else --- 8 unchanged lines hidden (view full) --- 1137ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1138ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1139cross_compiling=$ac_cv_prog_cc_cross 1140 1141echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1142if test $ac_cv_prog_cc_works = no; then 1143 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1144fi |
1207echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1208echo "configure:1209: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1145echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1146echo "configure:1147: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1209echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1210cross_compiling=$ac_cv_prog_cc_cross 1211 1212echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1147echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1148cross_compiling=$ac_cv_prog_cc_cross 1149 1150echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1213echo "configure:1214: checking whether we are using GNU C" >&5 1214if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then | 1151echo "configure:1152: checking whether we are using GNU C" >&5 1152if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1215 echo $ac_n "(cached) $ac_c" 1>&6 1216else 1217 cat > conftest.c <<EOF 1218#ifdef __GNUC__ 1219 yes; 1220#endif 1221EOF | 1153 echo $ac_n "(cached) $ac_c" 1>&6 1154else 1155 cat > conftest.c <<EOF 1156#ifdef __GNUC__ 1157 yes; 1158#endif 1159EOF |
1222if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1160if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1223 ac_cv_prog_gcc=yes 1224else 1225 ac_cv_prog_gcc=no 1226fi 1227fi 1228 1229echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1230 1231if test $ac_cv_prog_gcc = yes; then 1232 GCC=yes 1233else 1234 GCC= 1235fi 1236 1237ac_test_CFLAGS="${CFLAGS+set}" 1238ac_save_CFLAGS="$CFLAGS" 1239CFLAGS= 1240echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1161 ac_cv_prog_gcc=yes 1162else 1163 ac_cv_prog_gcc=no 1164fi 1165fi 1166 1167echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1168 1169if test $ac_cv_prog_gcc = yes; then 1170 GCC=yes 1171else 1172 GCC= 1173fi 1174 1175ac_test_CFLAGS="${CFLAGS+set}" 1176ac_save_CFLAGS="$CFLAGS" 1177CFLAGS= 1178echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1241echo "configure:1242: checking whether ${CC-cc} accepts -g" >&5 1242if eval "test \"\${ac_cv_prog_cc_g+set}\" = set"; then | 1179echo "configure:1180: checking whether ${CC-cc} accepts -g" >&5 1180if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1243 echo $ac_n "(cached) $ac_c" 1>&6 1244else 1245 echo 'void f(){}' > conftest.c 1246if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1247 ac_cv_prog_cc_g=yes 1248else 1249 ac_cv_prog_cc_g=no 1250fi --- 25 unchanged lines hidden (view full) --- 1276else 1277 with_gnu_ld=no 1278fi 1279 1280ac_prog=ld 1281if test "$ac_cv_prog_gcc" = yes; then 1282 # Check if gcc -print-prog-name=ld gives a path. 1283 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 1181 echo $ac_n "(cached) $ac_c" 1>&6 1182else 1183 echo 'void f(){}' > conftest.c 1184if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1185 ac_cv_prog_cc_g=yes 1186else 1187 ac_cv_prog_cc_g=no 1188fi --- 25 unchanged lines hidden (view full) --- 1214else 1215 with_gnu_ld=no 1216fi 1217 1218ac_prog=ld 1219if test "$ac_cv_prog_gcc" = yes; then 1220 # Check if gcc -print-prog-name=ld gives a path. 1221 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
1284echo "configure:1285: checking for ld used by GCC" >&5 | 1222echo "configure:1223: checking for ld used by GCC" >&5 |
1285 ac_prog=`($CC -print-prog-name=ld) 2>&5` 1286 case "$ac_prog" in 1287 # Accept absolute paths. 1288 [\\/]* | [A-Za-z]:[\\/]*) 1289 re_direlt='/[^/][^/]*/\.\./' 1290 # Canonicalize the path of ld 1291 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 1292 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do --- 7 unchanged lines hidden (view full) --- 1300 ;; 1301 *) 1302 # If it is relative, then search for the first ld in PATH. 1303 with_gnu_ld=unknown 1304 ;; 1305 esac 1306elif test "$with_gnu_ld" = yes; then 1307 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 1223 ac_prog=`($CC -print-prog-name=ld) 2>&5` 1224 case "$ac_prog" in 1225 # Accept absolute paths. 1226 [\\/]* | [A-Za-z]:[\\/]*) 1227 re_direlt='/[^/][^/]*/\.\./' 1228 # Canonicalize the path of ld 1229 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 1230 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do --- 7 unchanged lines hidden (view full) --- 1238 ;; 1239 *) 1240 # If it is relative, then search for the first ld in PATH. 1241 with_gnu_ld=unknown 1242 ;; 1243 esac 1244elif test "$with_gnu_ld" = yes; then 1245 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
1308echo "configure:1309: checking for GNU ld" >&5 | 1246echo "configure:1247: checking for GNU ld" >&5 |
1309else 1310 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 1247else 1248 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
1311echo "configure:1312: checking for non-GNU ld" >&5 | 1249echo "configure:1250: checking for non-GNU ld" >&5 |
1312fi | 1250fi |
1313if eval "test \"\${ac_cv_path_LD+set}\" = set"; then | 1251if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then |
1314 echo $ac_n "(cached) $ac_c" 1>&6 1315else 1316 if test -z "$LD"; then 1317 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1318 for ac_dir in $PATH; do 1319 test -z "$ac_dir" && ac_dir=. 1320 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1321 ac_cv_path_LD="$ac_dir/$ac_prog" --- 16 unchanged lines hidden (view full) --- 1338LD="$ac_cv_path_LD" 1339if test -n "$LD"; then 1340 echo "$ac_t""$LD" 1>&6 1341else 1342 echo "$ac_t""no" 1>&6 1343fi 1344test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1345echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1252 echo $ac_n "(cached) $ac_c" 1>&6 1253else 1254 if test -z "$LD"; then 1255 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1256 for ac_dir in $PATH; do 1257 test -z "$ac_dir" && ac_dir=. 1258 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 1259 ac_cv_path_LD="$ac_dir/$ac_prog" --- 16 unchanged lines hidden (view full) --- 1276LD="$ac_cv_path_LD" 1277if test -n "$LD"; then 1278 echo "$ac_t""$LD" 1>&6 1279else 1280 echo "$ac_t""no" 1>&6 1281fi 1282test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1283echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
1346echo "configure:1347: checking if the linker ($LD) is GNU ld" >&5 1347if eval "test \"\${ac_cv_prog_gnu_ld+set}\" = set"; then | 1284echo "configure:1285: checking if the linker ($LD) is GNU ld" >&5 1285if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
1348 echo $ac_n "(cached) $ac_c" 1>&6 1349else 1350 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1351if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1352 ac_cv_prog_gnu_ld=yes 1353else 1354 ac_cv_prog_gnu_ld=no 1355fi 1356fi 1357 1358echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1359 1360 1361echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1286 echo $ac_n "(cached) $ac_c" 1>&6 1287else 1288 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1289if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1290 ac_cv_prog_gnu_ld=yes 1291else 1292 ac_cv_prog_gnu_ld=no 1293fi 1294fi 1295 1296echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1297 1298 1299echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
1362echo "configure:1363: checking for BSD-compatible nm" >&5 1363if eval "test \"\${ac_cv_path_NM+set}\" = set"; then | 1300echo "configure:1301: checking for BSD-compatible nm" >&5 1301if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then |
1364 echo $ac_n "(cached) $ac_c" 1>&6 1365else 1366 if test -n "$NM"; then 1367 # Let the user override the test. 1368 ac_cv_path_NM="$NM" 1369else 1370 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1371 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do --- 18 unchanged lines hidden (view full) --- 1390 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm 1391fi 1392fi 1393 1394NM="$ac_cv_path_NM" 1395echo "$ac_t""$NM" 1>&6 1396 1397echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1302 echo $ac_n "(cached) $ac_c" 1>&6 1303else 1304 if test -n "$NM"; then 1305 # Let the user override the test. 1306 ac_cv_path_NM="$NM" 1307else 1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1309 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do --- 18 unchanged lines hidden (view full) --- 1328 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm 1329fi 1330fi 1331 1332NM="$ac_cv_path_NM" 1333echo "$ac_t""$NM" 1>&6 1334 1335echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1398echo "configure:1399: checking whether ln -s works" >&5 1399if eval "test \"\${ac_cv_prog_LN_S+set}\" = set"; then | 1336echo "configure:1337: checking whether ln -s works" >&5 1337if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
1400 echo $ac_n "(cached) $ac_c" 1>&6 1401else 1402 rm -f conftestdata 1403if ln -s X conftestdata 2>/dev/null 1404then 1405 rm -f conftestdata 1406 ac_cv_prog_LN_S="ln -s" 1407else --- 31 unchanged lines hidden (view full) --- 1439test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1440test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1441 1442# Some flags need to be propagated to the compiler or linker for good 1443# libtool support. 1444case "$lt_target" in 1445*-*-irix6*) 1446 # Find out which ABI we are using. | 1338 echo $ac_n "(cached) $ac_c" 1>&6 1339else 1340 rm -f conftestdata 1341if ln -s X conftestdata 2>/dev/null 1342then 1343 rm -f conftestdata 1344 ac_cv_prog_LN_S="ln -s" 1345else --- 31 unchanged lines hidden (view full) --- 1377test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1378test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1379 1380# Some flags need to be propagated to the compiler or linker for good 1381# libtool support. 1382case "$lt_target" in 1383*-*-irix6*) 1384 # Find out which ABI we are using. |
1447 echo '#line 1448 "configure"' > conftest.$ac_ext 1448 if { (eval echo configure:1449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1385 echo '#line 1386 "configure"' > conftest.$ac_ext 1386 if { (eval echo configure:1387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1449 case "`/usr/bin/file conftest.o`" in 1450 *32-bit*) 1451 LD="${LD-ld} -32" 1452 ;; 1453 *N32*) 1454 LD="${LD-ld} -n32" 1455 ;; 1456 *64-bit*) --- 4 unchanged lines hidden (view full) --- 1461 rm -rf conftest* 1462 ;; 1463 1464*-*-sco3.2v5*) 1465 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1466 SAVE_CFLAGS="$CFLAGS" 1467 CFLAGS="$CFLAGS -belf" 1468 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 1387 case "`/usr/bin/file conftest.o`" in 1388 *32-bit*) 1389 LD="${LD-ld} -32" 1390 ;; 1391 *N32*) 1392 LD="${LD-ld} -n32" 1393 ;; 1394 *64-bit*) --- 4 unchanged lines hidden (view full) --- 1399 rm -rf conftest* 1400 ;; 1401 1402*-*-sco3.2v5*) 1403 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1404 SAVE_CFLAGS="$CFLAGS" 1405 CFLAGS="$CFLAGS -belf" 1406 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
1469echo "configure:1470: checking whether the C compiler needs -belf" >&5 1470if eval "test \"\${lt_cv_cc_needs_belf+set}\" = set"; then | 1407echo "configure:1408: checking whether the C compiler needs -belf" >&5 1408if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
1471 echo $ac_n "(cached) $ac_c" 1>&6 1472else 1473 cat > conftest.$ac_ext <<EOF | 1409 echo $ac_n "(cached) $ac_c" 1>&6 1410else 1411 cat > conftest.$ac_ext <<EOF |
1474#line 1475 "configure" | 1412#line 1413 "configure" |
1475#include "confdefs.h" 1476 1477int main() { 1478 1479; return 0; } 1480EOF | 1413#include "confdefs.h" 1414 1415int main() { 1416 1417; return 0; } 1418EOF |
1481if { (eval echo configure:1482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1419if { (eval echo configure:1420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1482 rm -rf conftest* 1483 lt_cv_cc_needs_belf=yes 1484else 1485 echo "configure: failed program was:" >&5 1486 cat conftest.$ac_ext >&5 1487 rm -rf conftest* 1488 lt_cv_cc_needs_belf=no 1489fi --- 67 unchanged lines hidden (view full) --- 1557DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ 1558${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 1559$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ 1560|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } 1561 1562# Reload cache, that may have been modified by ltconfig 1563if test -r "$cache_file"; then 1564 echo "loading cache $cache_file" | 1420 rm -rf conftest* 1421 lt_cv_cc_needs_belf=yes 1422else 1423 echo "configure: failed program was:" >&5 1424 cat conftest.$ac_ext >&5 1425 rm -rf conftest* 1426 lt_cv_cc_needs_belf=no 1427fi --- 67 unchanged lines hidden (view full) --- 1495DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ 1496${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 1497$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ 1498|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } 1499 1500# Reload cache, that may have been modified by ltconfig 1501if test -r "$cache_file"; then 1502 echo "loading cache $cache_file" |
1565 test -f "$cache_file" && . $cache_file | 1503 . $cache_file |
1566else 1567 echo "creating cache $cache_file" 1568 > $cache_file 1569fi 1570 1571 1572# This can be used to rebuild libtool when needed 1573LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" --- 39 unchanged lines hidden (view full) --- 1613 { echo "configure: error: Unrecognized host system type; please check config.sub." 1>&2; exit 1; } 1614fi 1615 1616# host-specific stuff: 1617 1618# Extract the first word of "gcc", so it can be a program name with args. 1619set dummy gcc; ac_word=$2 1620echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1504else 1505 echo "creating cache $cache_file" 1506 > $cache_file 1507fi 1508 1509 1510# This can be used to rebuild libtool when needed 1511LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" --- 39 unchanged lines hidden (view full) --- 1551 { echo "configure: error: Unrecognized host system type; please check config.sub." 1>&2; exit 1; } 1552fi 1553 1554# host-specific stuff: 1555 1556# Extract the first word of "gcc", so it can be a program name with args. 1557set dummy gcc; ac_word=$2 1558echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1621echo "configure:1622: checking for $ac_word" >&5 1622if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 1559echo "configure:1560: checking for $ac_word" >&5 1560if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1623 echo $ac_n "(cached) $ac_c" 1>&6 1624else 1625 if test -n "$CC"; then 1626 ac_cv_prog_CC="$CC" # Let the user override the test. 1627else 1628 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1629 ac_dummy="$PATH" 1630 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 1643else 1644 echo "$ac_t""no" 1>&6 1645fi 1646 1647if test -z "$CC"; then 1648 # Extract the first word of "cc", so it can be a program name with args. 1649set dummy cc; ac_word=$2 1650echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1561 echo $ac_n "(cached) $ac_c" 1>&6 1562else 1563 if test -n "$CC"; then 1564 ac_cv_prog_CC="$CC" # Let the user override the test. 1565else 1566 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1567 ac_dummy="$PATH" 1568 for ac_dir in $ac_dummy; do --- 12 unchanged lines hidden (view full) --- 1581else 1582 echo "$ac_t""no" 1>&6 1583fi 1584 1585if test -z "$CC"; then 1586 # Extract the first word of "cc", so it can be a program name with args. 1587set dummy cc; ac_word=$2 1588echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1651echo "configure:1652: checking for $ac_word" >&5 1652if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 1589echo "configure:1590: checking for $ac_word" >&5 1590if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1653 echo $ac_n "(cached) $ac_c" 1>&6 1654else 1655 if test -n "$CC"; then 1656 ac_cv_prog_CC="$CC" # Let the user override the test. 1657else 1658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1659 ac_prog_rejected=no 1660 ac_dummy="$PATH" --- 29 unchanged lines hidden (view full) --- 1690if test -n "$CC"; then 1691 echo "$ac_t""$CC" 1>&6 1692else 1693 echo "$ac_t""no" 1>&6 1694fi 1695 1696 if test -z "$CC"; then 1697 case "`uname -s`" in | 1591 echo $ac_n "(cached) $ac_c" 1>&6 1592else 1593 if test -n "$CC"; then 1594 ac_cv_prog_CC="$CC" # Let the user override the test. 1595else 1596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1597 ac_prog_rejected=no 1598 ac_dummy="$PATH" --- 29 unchanged lines hidden (view full) --- 1628if test -n "$CC"; then 1629 echo "$ac_t""$CC" 1>&6 1630else 1631 echo "$ac_t""no" 1>&6 1632fi 1633 1634 if test -z "$CC"; then 1635 case "`uname -s`" in |
1698 *win32* | *WIN32* | *CYGWIN*) | 1636 *win32* | *WIN32*) |
1699 # Extract the first word of "cl", so it can be a program name with args. 1700set dummy cl; ac_word=$2 1701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1637 # Extract the first word of "cl", so it can be a program name with args. 1638set dummy cl; ac_word=$2 1639echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1702echo "configure:1703: checking for $ac_word" >&5 1703if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then | 1640echo "configure:1641: checking for $ac_word" >&5 1641if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1704 echo $ac_n "(cached) $ac_c" 1>&6 1705else 1706 if test -n "$CC"; then 1707 ac_cv_prog_CC="$CC" # Let the user override the test. 1708else 1709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1710 ac_dummy="$PATH" 1711 for ac_dir in $ac_dummy; do --- 13 unchanged lines hidden (view full) --- 1725 echo "$ac_t""no" 1>&6 1726fi 1727 ;; 1728 esac 1729 fi 1730 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1731fi 1732 | 1642 echo $ac_n "(cached) $ac_c" 1>&6 1643else 1644 if test -n "$CC"; then 1645 ac_cv_prog_CC="$CC" # Let the user override the test. 1646else 1647 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1648 ac_dummy="$PATH" 1649 for ac_dir in $ac_dummy; do --- 13 unchanged lines hidden (view full) --- 1663 echo "$ac_t""no" 1>&6 1664fi 1665 ;; 1666 esac 1667 fi 1668 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1669fi 1670 |
1733echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1734echo "configure:1735: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 | 1671echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1672echo "configure:1673: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1735 1736ac_ext=c 1737# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1738ac_cpp='$CPP $CPPFLAGS' 1739ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1740ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1741cross_compiling=$ac_cv_prog_cc_cross 1742 1743cat > conftest.$ac_ext << EOF 1744 | 1673 1674ac_ext=c 1675# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1676ac_cpp='$CPP $CPPFLAGS' 1677ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1678ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1679cross_compiling=$ac_cv_prog_cc_cross 1680 1681cat > conftest.$ac_ext << EOF 1682 |
1745#line 1746 "configure" | 1683#line 1684 "configure" |
1746#include "confdefs.h" 1747 1748main(){return(0);} 1749EOF | 1684#include "confdefs.h" 1685 1686main(){return(0);} 1687EOF |
1750if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1688if { (eval echo configure:1689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1751 ac_cv_prog_cc_works=yes 1752 # If we can't run a trivial program, we are probably using a cross compiler. 1753 if (./conftest; exit) 2>/dev/null; then 1754 ac_cv_prog_cc_cross=no 1755 else 1756 ac_cv_prog_cc_cross=yes 1757 fi 1758else --- 8 unchanged lines hidden (view full) --- 1767ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1768ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1769cross_compiling=$ac_cv_prog_cc_cross 1770 1771echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1772if test $ac_cv_prog_cc_works = no; then 1773 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1774fi | 1689 ac_cv_prog_cc_works=yes 1690 # If we can't run a trivial program, we are probably using a cross compiler. 1691 if (./conftest; exit) 2>/dev/null; then 1692 ac_cv_prog_cc_cross=no 1693 else 1694 ac_cv_prog_cc_cross=yes 1695 fi 1696else --- 8 unchanged lines hidden (view full) --- 1705ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1706ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1707cross_compiling=$ac_cv_prog_cc_cross 1708 1709echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 1710if test $ac_cv_prog_cc_works = no; then 1711 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 1712fi |
1775echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1776echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1713echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1714echo "configure:1715: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1777echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1778cross_compiling=$ac_cv_prog_cc_cross 1779 1780echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1715echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 1716cross_compiling=$ac_cv_prog_cc_cross 1717 1718echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1781echo "configure:1782: checking whether we are using GNU C" >&5 1782if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then | 1719echo "configure:1720: checking whether we are using GNU C" >&5 1720if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1783 echo $ac_n "(cached) $ac_c" 1>&6 1784else 1785 cat > conftest.c <<EOF 1786#ifdef __GNUC__ 1787 yes; 1788#endif 1789EOF | 1721 echo $ac_n "(cached) $ac_c" 1>&6 1722else 1723 cat > conftest.c <<EOF 1724#ifdef __GNUC__ 1725 yes; 1726#endif 1727EOF |
1790if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1728if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1791 ac_cv_prog_gcc=yes 1792else 1793 ac_cv_prog_gcc=no 1794fi 1795fi 1796 1797echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1798 1799if test $ac_cv_prog_gcc = yes; then 1800 GCC=yes 1801else 1802 GCC= 1803fi 1804 1805ac_test_CFLAGS="${CFLAGS+set}" 1806ac_save_CFLAGS="$CFLAGS" 1807CFLAGS= 1808echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1729 ac_cv_prog_gcc=yes 1730else 1731 ac_cv_prog_gcc=no 1732fi 1733fi 1734 1735echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1736 1737if test $ac_cv_prog_gcc = yes; then 1738 GCC=yes 1739else 1740 GCC= 1741fi 1742 1743ac_test_CFLAGS="${CFLAGS+set}" 1744ac_save_CFLAGS="$CFLAGS" 1745CFLAGS= 1746echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1809echo "configure:1810: checking whether ${CC-cc} accepts -g" >&5 1810if eval "test \"\${ac_cv_prog_cc_g+set}\" = set"; then | 1747echo "configure:1748: checking whether ${CC-cc} accepts -g" >&5 1748if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1811 echo $ac_n "(cached) $ac_c" 1>&6 1812else 1813 echo 'void f(){}' > conftest.c 1814if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1815 ac_cv_prog_cc_g=yes 1816else 1817 ac_cv_prog_cc_g=no 1818fi --- 25 unchanged lines hidden (view full) --- 1844# SunOS /usr/etc/install 1845# IRIX /sbin/install 1846# AIX /bin/install 1847# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1848# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1849# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1850# ./install, which can be erroneously created by make from ./install.sh. 1851echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 1749 echo $ac_n "(cached) $ac_c" 1>&6 1750else 1751 echo 'void f(){}' > conftest.c 1752if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1753 ac_cv_prog_cc_g=yes 1754else 1755 ac_cv_prog_cc_g=no 1756fi --- 25 unchanged lines hidden (view full) --- 1782# SunOS /usr/etc/install 1783# IRIX /sbin/install 1784# AIX /bin/install 1785# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1786# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1787# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1788# ./install, which can be erroneously created by make from ./install.sh. 1789echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
1852echo "configure:1853: checking for a BSD compatible install" >&5 | 1790echo "configure:1791: checking for a BSD compatible install" >&5 |
1853if test -z "$INSTALL"; then | 1791if test -z "$INSTALL"; then |
1854if eval "test \"\${ac_cv_path_install+set}\" = set"; then | 1792if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
1855 echo $ac_n "(cached) $ac_c" 1>&6 1856else 1857 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1858 for ac_dir in $PATH; do 1859 # Account for people who put trailing slashes in PATH elements. 1860 case "$ac_dir/" in 1861 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1862 *) 1863 # OSF1 and SCO ODT 3.0 have their own names for install. 1864 # Don't use installbsd from OSF since it installs stuff as root 1865 # by default. 1866 for ac_prog in ginstall scoinst install; do 1867 if test -f $ac_dir/$ac_prog; then 1868 if test $ac_prog = install && 1869 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1870 # AIX install. It has an incompatible calling convention. 1871 : | 1793 echo $ac_n "(cached) $ac_c" 1>&6 1794else 1795 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1796 for ac_dir in $PATH; do 1797 # Account for people who put trailing slashes in PATH elements. 1798 case "$ac_dir/" in 1799 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1800 *) 1801 # OSF1 and SCO ODT 3.0 have their own names for install. 1802 # Don't use installbsd from OSF since it installs stuff as root 1803 # by default. 1804 for ac_prog in ginstall scoinst install; do 1805 if test -f $ac_dir/$ac_prog; then 1806 if test $ac_prog = install && 1807 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1808 # AIX install. It has an incompatible calling convention. 1809 : |
1872 elif test $ac_prog = install && 1873 grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then 1874 # program-specific install script used by HP pwplus--don't use. 1875 : | |
1876 else 1877 ac_cv_path_install="$ac_dir/$ac_prog -c" 1878 break 2 1879 fi 1880 fi 1881 done 1882 ;; 1883 esac --- 12 unchanged lines hidden (view full) --- 1896 fi 1897fi 1898echo "$ac_t""$INSTALL" 1>&6 1899 1900# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1901# It thinks the first close brace ends the variable substitution. 1902test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1903 | 1810 else 1811 ac_cv_path_install="$ac_dir/$ac_prog -c" 1812 break 2 1813 fi 1814 fi 1815 done 1816 ;; 1817 esac --- 12 unchanged lines hidden (view full) --- 1830 fi 1831fi 1832echo "$ac_t""$INSTALL" 1>&6 1833 1834# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1835# It thinks the first close brace ends the variable substitution. 1836test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1837 |
1904test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 1838test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
1905 1906test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1907 1908 1909ALL_LINGUAS= 1910echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1839 1840test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1841 1842 1843ALL_LINGUAS= 1844echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1911echo "configure:1912: checking how to run the C preprocessor" >&5 | 1845echo "configure:1846: checking how to run the C preprocessor" >&5 |
1912# On Suns, sometimes $CPP names a directory. 1913if test -n "$CPP" && test -d "$CPP"; then 1914 CPP= 1915fi 1916if test -z "$CPP"; then | 1846# On Suns, sometimes $CPP names a directory. 1847if test -n "$CPP" && test -d "$CPP"; then 1848 CPP= 1849fi 1850if test -z "$CPP"; then |
1917if eval "test \"\${ac_cv_prog_CPP+set}\" = set"; then | 1851if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
1918 echo $ac_n "(cached) $ac_c" 1>&6 1919else 1920 # This must be in double quotes, not single quotes, because CPP may get 1921 # substituted into the Makefile and "${CC-cc}" will confuse make. 1922 CPP="${CC-cc} -E" 1923 # On the NeXT, cc -E runs the code through the compiler's parser, 1924 # not just through cpp. 1925 cat > conftest.$ac_ext <<EOF | 1852 echo $ac_n "(cached) $ac_c" 1>&6 1853else 1854 # This must be in double quotes, not single quotes, because CPP may get 1855 # substituted into the Makefile and "${CC-cc}" will confuse make. 1856 CPP="${CC-cc} -E" 1857 # On the NeXT, cc -E runs the code through the compiler's parser, 1858 # not just through cpp. 1859 cat > conftest.$ac_ext <<EOF |
1926#line 1927 "configure" | 1860#line 1861 "configure" |
1927#include "confdefs.h" 1928#include <assert.h> 1929Syntax Error 1930EOF 1931ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1861#include "confdefs.h" 1862#include <assert.h> 1863Syntax Error 1864EOF 1865ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1932{ (eval echo configure:1933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1866{ (eval echo configure:1867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1933ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1934if test -z "$ac_err"; then 1935 : 1936else 1937 echo "$ac_err" >&5 1938 echo "configure: failed program was:" >&5 1939 cat conftest.$ac_ext >&5 1940 rm -rf conftest* 1941 CPP="${CC-cc} -E -traditional-cpp" 1942 cat > conftest.$ac_ext <<EOF | 1867ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1868if test -z "$ac_err"; then 1869 : 1870else 1871 echo "$ac_err" >&5 1872 echo "configure: failed program was:" >&5 1873 cat conftest.$ac_ext >&5 1874 rm -rf conftest* 1875 CPP="${CC-cc} -E -traditional-cpp" 1876 cat > conftest.$ac_ext <<EOF |
1943#line 1944 "configure" | 1877#line 1878 "configure" |
1944#include "confdefs.h" 1945#include <assert.h> 1946Syntax Error 1947EOF 1948ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1878#include "confdefs.h" 1879#include <assert.h> 1880Syntax Error 1881EOF 1882ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1949{ (eval echo configure:1950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1883{ (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1950ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1951if test -z "$ac_err"; then 1952 : 1953else 1954 echo "$ac_err" >&5 1955 echo "configure: failed program was:" >&5 1956 cat conftest.$ac_ext >&5 1957 rm -rf conftest* 1958 CPP="${CC-cc} -nologo -E" 1959 cat > conftest.$ac_ext <<EOF | 1884ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1885if test -z "$ac_err"; then 1886 : 1887else 1888 echo "$ac_err" >&5 1889 echo "configure: failed program was:" >&5 1890 cat conftest.$ac_ext >&5 1891 rm -rf conftest* 1892 CPP="${CC-cc} -nologo -E" 1893 cat > conftest.$ac_ext <<EOF |
1960#line 1961 "configure" | 1894#line 1895 "configure" |
1961#include "confdefs.h" 1962#include <assert.h> 1963Syntax Error 1964EOF 1965ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1895#include "confdefs.h" 1896#include <assert.h> 1897Syntax Error 1898EOF 1899ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1966{ (eval echo configure:1967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1900{ (eval echo configure:1901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1967ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1968if test -z "$ac_err"; then 1969 : 1970else 1971 echo "$ac_err" >&5 1972 echo "configure: failed program was:" >&5 1973 cat conftest.$ac_ext >&5 1974 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 1983fi 1984 CPP="$ac_cv_prog_CPP" 1985else 1986 ac_cv_prog_CPP="$CPP" 1987fi 1988echo "$ac_t""$CPP" 1>&6 1989 1990echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 1901ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1902if test -z "$ac_err"; then 1903 : 1904else 1905 echo "$ac_err" >&5 1906 echo "configure: failed program was:" >&5 1907 cat conftest.$ac_ext >&5 1908 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 1917fi 1918 CPP="$ac_cv_prog_CPP" 1919else 1920 ac_cv_prog_CPP="$CPP" 1921fi 1922echo "$ac_t""$CPP" 1>&6 1923 1924echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
1991echo "configure:1992: checking for POSIXized ISC" >&5 | 1925echo "configure:1926: checking for POSIXized ISC" >&5 |
1992if test -d /etc/conf/kconfig.d && 1993 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 1994then 1995 echo "$ac_t""yes" 1>&6 1996 ISC=yes # If later tests want to check for ISC. 1997 cat >> confdefs.h <<\EOF 1998#define _POSIX_SOURCE 1 1999EOF --- 4 unchanged lines hidden (view full) --- 2004 CC="$CC -Xp" 2005 fi 2006else 2007 echo "$ac_t""no" 1>&6 2008 ISC= 2009fi 2010 2011echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1926if test -d /etc/conf/kconfig.d && 1927 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 1928then 1929 echo "$ac_t""yes" 1>&6 1930 ISC=yes # If later tests want to check for ISC. 1931 cat >> confdefs.h <<\EOF 1932#define _POSIX_SOURCE 1 1933EOF --- 4 unchanged lines hidden (view full) --- 1938 CC="$CC -Xp" 1939 fi 1940else 1941 echo "$ac_t""no" 1>&6 1942 ISC= 1943fi 1944 1945echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2012echo "configure:2013: checking for ANSI C header files" >&5 2013if eval "test \"\${ac_cv_header_stdc+set}\" = set"; then | 1946echo "configure:1947: checking for ANSI C header files" >&5 1947if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2014 echo $ac_n "(cached) $ac_c" 1>&6 2015else 2016 cat > conftest.$ac_ext <<EOF | 1948 echo $ac_n "(cached) $ac_c" 1>&6 1949else 1950 cat > conftest.$ac_ext <<EOF |
2017#line 2018 "configure" | 1951#line 1952 "configure" |
2018#include "confdefs.h" 2019#include <stdlib.h> 2020#include <stdarg.h> 2021#include <string.h> 2022#include <float.h> 2023EOF 2024ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1952#include "confdefs.h" 1953#include <stdlib.h> 1954#include <stdarg.h> 1955#include <string.h> 1956#include <float.h> 1957EOF 1958ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2025{ (eval echo configure:2026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1959{ (eval echo configure:1960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2026ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2027if test -z "$ac_err"; then 2028 rm -rf conftest* 2029 ac_cv_header_stdc=yes 2030else 2031 echo "$ac_err" >&5 2032 echo "configure: failed program was:" >&5 2033 cat conftest.$ac_ext >&5 2034 rm -rf conftest* 2035 ac_cv_header_stdc=no 2036fi 2037rm -f conftest* 2038 2039if test $ac_cv_header_stdc = yes; then 2040 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2041cat > conftest.$ac_ext <<EOF | 1960ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1961if test -z "$ac_err"; then 1962 rm -rf conftest* 1963 ac_cv_header_stdc=yes 1964else 1965 echo "$ac_err" >&5 1966 echo "configure: failed program was:" >&5 1967 cat conftest.$ac_ext >&5 1968 rm -rf conftest* 1969 ac_cv_header_stdc=no 1970fi 1971rm -f conftest* 1972 1973if test $ac_cv_header_stdc = yes; then 1974 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1975cat > conftest.$ac_ext <<EOF |
2042#line 2043 "configure" | 1976#line 1977 "configure" |
2043#include "confdefs.h" 2044#include <string.h> 2045EOF 2046if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2047 egrep "memchr" >/dev/null 2>&1; then 2048 : 2049else 2050 rm -rf conftest* 2051 ac_cv_header_stdc=no 2052fi 2053rm -f conftest* 2054 2055fi 2056 2057if test $ac_cv_header_stdc = yes; then 2058 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2059cat > conftest.$ac_ext <<EOF | 1977#include "confdefs.h" 1978#include <string.h> 1979EOF 1980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1981 egrep "memchr" >/dev/null 2>&1; then 1982 : 1983else 1984 rm -rf conftest* 1985 ac_cv_header_stdc=no 1986fi 1987rm -f conftest* 1988 1989fi 1990 1991if test $ac_cv_header_stdc = yes; then 1992 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1993cat > conftest.$ac_ext <<EOF |
2060#line 2061 "configure" | 1994#line 1995 "configure" |
2061#include "confdefs.h" 2062#include <stdlib.h> 2063EOF 2064if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2065 egrep "free" >/dev/null 2>&1; then 2066 : 2067else 2068 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 2073fi 2074 2075if test $ac_cv_header_stdc = yes; then 2076 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2077if test "$cross_compiling" = yes; then 2078 : 2079else 2080 cat > conftest.$ac_ext <<EOF | 1995#include "confdefs.h" 1996#include <stdlib.h> 1997EOF 1998if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1999 egrep "free" >/dev/null 2>&1; then 2000 : 2001else 2002 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 2007fi 2008 2009if test $ac_cv_header_stdc = yes; then 2010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2011if test "$cross_compiling" = yes; then 2012 : 2013else 2014 cat > conftest.$ac_ext <<EOF |
2081#line 2082 "configure" | 2015#line 2016 "configure" |
2082#include "confdefs.h" 2083#include <ctype.h> 2084#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2085#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2086#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2087int main () { int i; for (i = 0; i < 256; i++) 2088if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2089exit (0); } 2090 2091EOF | 2016#include "confdefs.h" 2017#include <ctype.h> 2018#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2019#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2020#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2021int main () { int i; for (i = 0; i < 256; i++) 2022if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2023exit (0); } 2024 2025EOF |
2092if { (eval echo configure:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2026if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2093then 2094 : 2095else 2096 echo "configure: failed program was:" >&5 2097 cat conftest.$ac_ext >&5 2098 rm -fr conftest* 2099 ac_cv_header_stdc=no 2100fi --- 7 unchanged lines hidden (view full) --- 2108if test $ac_cv_header_stdc = yes; then 2109 cat >> confdefs.h <<\EOF 2110#define STDC_HEADERS 1 2111EOF 2112 2113fi 2114 2115echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2027then 2028 : 2029else 2030 echo "configure: failed program was:" >&5 2031 cat conftest.$ac_ext >&5 2032 rm -fr conftest* 2033 ac_cv_header_stdc=no 2034fi --- 7 unchanged lines hidden (view full) --- 2042if test $ac_cv_header_stdc = yes; then 2043 cat >> confdefs.h <<\EOF 2044#define STDC_HEADERS 1 2045EOF 2046 2047fi 2048 2049echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2116echo "configure:2117: checking for working const" >&5 2117if eval "test \"\${ac_cv_c_const+set}\" = set"; then | 2050echo "configure:2051: checking for working const" >&5 2051if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2118 echo $ac_n "(cached) $ac_c" 1>&6 2119else 2120 cat > conftest.$ac_ext <<EOF | 2052 echo $ac_n "(cached) $ac_c" 1>&6 2053else 2054 cat > conftest.$ac_ext <<EOF |
2121#line 2122 "configure" | 2055#line 2056 "configure" |
2122#include "confdefs.h" 2123 2124int main() { 2125 2126/* Ultrix mips cc rejects this. */ | 2056#include "confdefs.h" 2057 2058int main() { 2059 2060/* Ultrix mips cc rejects this. */ |
2127typedef int charset[2]; const charset x; | 2061typedef int charset[2]; const charset x = {0,0}; |
2128/* SunOS 4.1.1 cc rejects this. */ 2129char const *const *ccp; 2130char **p; 2131/* NEC SVR4.0.2 mips cc rejects this. */ 2132struct point {int x, y;}; 2133static struct point const zero = {0,0}; 2134/* AIX XL C 1.02.0.0 rejects this. 2135 It does not let you subtract one const X* pointer from another in an arm --- 26 unchanged lines hidden (view full) --- 2162 struct s *b; b->j = 5; 2163} 2164{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2165 const int foo = 10; 2166} 2167 2168; return 0; } 2169EOF | 2062/* SunOS 4.1.1 cc rejects this. */ 2063char const *const *ccp; 2064char **p; 2065/* NEC SVR4.0.2 mips cc rejects this. */ 2066struct point {int x, y;}; 2067static struct point const zero = {0,0}; 2068/* AIX XL C 1.02.0.0 rejects this. 2069 It does not let you subtract one const X* pointer from another in an arm --- 26 unchanged lines hidden (view full) --- 2096 struct s *b; b->j = 5; 2097} 2098{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2099 const int foo = 10; 2100} 2101 2102; return 0; } 2103EOF |
2170if { (eval echo configure:2171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2104if { (eval echo configure:2105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2171 rm -rf conftest* 2172 ac_cv_c_const=yes 2173else 2174 echo "configure: failed program was:" >&5 2175 cat conftest.$ac_ext >&5 2176 rm -rf conftest* 2177 ac_cv_c_const=no 2178fi --- 4 unchanged lines hidden (view full) --- 2183if test $ac_cv_c_const = no; then 2184 cat >> confdefs.h <<\EOF 2185#define const 2186EOF 2187 2188fi 2189 2190echo $ac_n "checking for inline""... $ac_c" 1>&6 | 2105 rm -rf conftest* 2106 ac_cv_c_const=yes 2107else 2108 echo "configure: failed program was:" >&5 2109 cat conftest.$ac_ext >&5 2110 rm -rf conftest* 2111 ac_cv_c_const=no 2112fi --- 4 unchanged lines hidden (view full) --- 2117if test $ac_cv_c_const = no; then 2118 cat >> confdefs.h <<\EOF 2119#define const 2120EOF 2121 2122fi 2123 2124echo $ac_n "checking for inline""... $ac_c" 1>&6 |
2191echo "configure:2192: checking for inline" >&5 2192if eval "test \"\${ac_cv_c_inline+set}\" = set"; then | 2125echo "configure:2126: checking for inline" >&5 2126if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
2193 echo $ac_n "(cached) $ac_c" 1>&6 2194else 2195 ac_cv_c_inline=no 2196for ac_kw in inline __inline__ __inline; do 2197 cat > conftest.$ac_ext <<EOF | 2127 echo $ac_n "(cached) $ac_c" 1>&6 2128else 2129 ac_cv_c_inline=no 2130for ac_kw in inline __inline__ __inline; do 2131 cat > conftest.$ac_ext <<EOF |
2198#line 2199 "configure" | 2132#line 2133 "configure" |
2199#include "confdefs.h" 2200 2201int main() { | 2133#include "confdefs.h" 2134 2135int main() { |
2202} $ac_kw int foo() { | 2136} $ac_kw foo() { |
2203; return 0; } 2204EOF | 2137; return 0; } 2138EOF |
2205if { (eval echo configure:2206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2139if { (eval echo configure:2140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2206 rm -rf conftest* 2207 ac_cv_c_inline=$ac_kw; break 2208else 2209 echo "configure: failed program was:" >&5 2210 cat conftest.$ac_ext >&5 2211fi 2212rm -f conftest* 2213done --- 9 unchanged lines hidden (view full) --- 2223 ;; 2224 *) cat >> confdefs.h <<EOF 2225#define inline $ac_cv_c_inline 2226EOF 2227 ;; 2228esac 2229 2230echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 2140 rm -rf conftest* 2141 ac_cv_c_inline=$ac_kw; break 2142else 2143 echo "configure: failed program was:" >&5 2144 cat conftest.$ac_ext >&5 2145fi 2146rm -f conftest* 2147done --- 9 unchanged lines hidden (view full) --- 2157 ;; 2158 *) cat >> confdefs.h <<EOF 2159#define inline $ac_cv_c_inline 2160EOF 2161 ;; 2162esac 2163 2164echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
2231echo "configure:2232: checking for off_t" >&5 2232if eval "test \"\${ac_cv_type_off_t+set}\" = set"; then | 2165echo "configure:2166: checking for off_t" >&5 2166if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
2233 echo $ac_n "(cached) $ac_c" 1>&6 2234else 2235 cat > conftest.$ac_ext <<EOF | 2167 echo $ac_n "(cached) $ac_c" 1>&6 2168else 2169 cat > conftest.$ac_ext <<EOF |
2236#line 2237 "configure" | 2170#line 2171 "configure" |
2237#include "confdefs.h" 2238#include <sys/types.h> 2239#if STDC_HEADERS 2240#include <stdlib.h> 2241#include <stddef.h> 2242#endif 2243EOF 2244if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2245 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2246 rm -rf conftest* | 2171#include "confdefs.h" 2172#include <sys/types.h> 2173#if STDC_HEADERS 2174#include <stdlib.h> 2175#include <stddef.h> 2176#endif 2177EOF 2178if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2179 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2180 rm -rf conftest* |
2247 eval "ac_cv_type_off_t=yes" | 2181 ac_cv_type_off_t=yes |
2248else 2249 rm -rf conftest* | 2182else 2183 rm -rf conftest* |
2250 eval "ac_cv_type_off_t=no" | 2184 ac_cv_type_off_t=no |
2251fi 2252rm -f conftest* 2253 2254fi | 2185fi 2186rm -f conftest* 2187 2188fi |
2255if eval "test \"`echo '$ac_cv_type_'off_t`\" = yes"; then 2256 echo "$ac_t""yes" 1>&6 2257else 2258 echo "$ac_t""no" 1>&6 2259 cat >> confdefs.h <<EOF | 2189echo "$ac_t""$ac_cv_type_off_t" 1>&6 2190if test $ac_cv_type_off_t = no; then 2191 cat >> confdefs.h <<\EOF |
2260#define off_t long 2261EOF 2262 2263fi 2264 2265echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2192#define off_t long 2193EOF 2194 2195fi 2196 2197echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2266echo "configure:2267: checking for size_t" >&5 2267if eval "test \"\${ac_cv_type_size_t+set}\" = set"; then | 2198echo "configure:2199: checking for size_t" >&5 2199if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
2268 echo $ac_n "(cached) $ac_c" 1>&6 2269else 2270 cat > conftest.$ac_ext <<EOF | 2200 echo $ac_n "(cached) $ac_c" 1>&6 2201else 2202 cat > conftest.$ac_ext <<EOF |
2271#line 2272 "configure" | 2203#line 2204 "configure" |
2272#include "confdefs.h" 2273#include <sys/types.h> 2274#if STDC_HEADERS 2275#include <stdlib.h> 2276#include <stddef.h> 2277#endif 2278EOF 2279if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2280 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2281 rm -rf conftest* | 2204#include "confdefs.h" 2205#include <sys/types.h> 2206#if STDC_HEADERS 2207#include <stdlib.h> 2208#include <stddef.h> 2209#endif 2210EOF 2211if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2212 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2213 rm -rf conftest* |
2282 eval "ac_cv_type_size_t=yes" | 2214 ac_cv_type_size_t=yes |
2283else 2284 rm -rf conftest* | 2215else 2216 rm -rf conftest* |
2285 eval "ac_cv_type_size_t=no" | 2217 ac_cv_type_size_t=no |
2286fi 2287rm -f conftest* 2288 2289fi | 2218fi 2219rm -f conftest* 2220 2221fi |
2290if eval "test \"`echo '$ac_cv_type_'size_t`\" = yes"; then 2291 echo "$ac_t""yes" 1>&6 2292else 2293 echo "$ac_t""no" 1>&6 2294 cat >> confdefs.h <<EOF | 2222echo "$ac_t""$ac_cv_type_size_t" 1>&6 2223if test $ac_cv_type_size_t = no; then 2224 cat >> confdefs.h <<\EOF |
2295#define size_t unsigned 2296EOF 2297 2298fi 2299 2300# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2301# for constant arguments. Useless! 2302echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 2225#define size_t unsigned 2226EOF 2227 2228fi 2229 2230# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2231# for constant arguments. Useless! 2232echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
2303echo "configure:2304: checking for working alloca.h" >&5 2304if eval "test \"\${ac_cv_header_alloca_h+set}\" = set"; then | 2233echo "configure:2234: checking for working alloca.h" >&5 2234if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
2305 echo $ac_n "(cached) $ac_c" 1>&6 2306else 2307 cat > conftest.$ac_ext <<EOF | 2235 echo $ac_n "(cached) $ac_c" 1>&6 2236else 2237 cat > conftest.$ac_ext <<EOF |
2308#line 2309 "configure" | 2238#line 2239 "configure" |
2309#include "confdefs.h" 2310#include <alloca.h> 2311int main() { 2312char *p = alloca(2 * sizeof(int)); 2313; return 0; } 2314EOF | 2239#include "confdefs.h" 2240#include <alloca.h> 2241int main() { 2242char *p = alloca(2 * sizeof(int)); 2243; return 0; } 2244EOF |
2315if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2245if { (eval echo configure:2246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2316 rm -rf conftest* 2317 ac_cv_header_alloca_h=yes 2318else 2319 echo "configure: failed program was:" >&5 2320 cat conftest.$ac_ext >&5 2321 rm -rf conftest* 2322 ac_cv_header_alloca_h=no 2323fi --- 4 unchanged lines hidden (view full) --- 2328if test $ac_cv_header_alloca_h = yes; then 2329 cat >> confdefs.h <<\EOF 2330#define HAVE_ALLOCA_H 1 2331EOF 2332 2333fi 2334 2335echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 2246 rm -rf conftest* 2247 ac_cv_header_alloca_h=yes 2248else 2249 echo "configure: failed program was:" >&5 2250 cat conftest.$ac_ext >&5 2251 rm -rf conftest* 2252 ac_cv_header_alloca_h=no 2253fi --- 4 unchanged lines hidden (view full) --- 2258if test $ac_cv_header_alloca_h = yes; then 2259 cat >> confdefs.h <<\EOF 2260#define HAVE_ALLOCA_H 1 2261EOF 2262 2263fi 2264 2265echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
2336echo "configure:2337: checking for alloca" >&5 2337if eval "test \"\${ac_cv_func_alloca_works+set}\" = set"; then | 2266echo "configure:2267: checking for alloca" >&5 2267if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
2338 echo $ac_n "(cached) $ac_c" 1>&6 2339else 2340 cat > conftest.$ac_ext <<EOF | 2268 echo $ac_n "(cached) $ac_c" 1>&6 2269else 2270 cat > conftest.$ac_ext <<EOF |
2341#line 2342 "configure" | 2271#line 2272 "configure" |
2342#include "confdefs.h" 2343 2344#ifdef __GNUC__ 2345# define alloca __builtin_alloca 2346#else 2347# ifdef _MSC_VER 2348# include <malloc.h> 2349# define alloca _alloca --- 11 unchanged lines hidden (view full) --- 2361# endif 2362# endif 2363#endif 2364 2365int main() { 2366char *p = (char *) alloca(1); 2367; return 0; } 2368EOF | 2272#include "confdefs.h" 2273 2274#ifdef __GNUC__ 2275# define alloca __builtin_alloca 2276#else 2277# ifdef _MSC_VER 2278# include <malloc.h> 2279# define alloca _alloca --- 11 unchanged lines hidden (view full) --- 2291# endif 2292# endif 2293#endif 2294 2295int main() { 2296char *p = (char *) alloca(1); 2297; return 0; } 2298EOF |
2369if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2299if { (eval echo configure:2300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2370 rm -rf conftest* 2371 ac_cv_func_alloca_works=yes 2372else 2373 echo "configure: failed program was:" >&5 2374 cat conftest.$ac_ext >&5 2375 rm -rf conftest* 2376 ac_cv_func_alloca_works=no 2377fi --- 15 unchanged lines hidden (view full) --- 2393 # use ar to extract alloca.o from them instead of compiling alloca.c. 2394 ALLOCA=alloca.${ac_objext} 2395 cat >> confdefs.h <<\EOF 2396#define C_ALLOCA 1 2397EOF 2398 2399 2400echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 2300 rm -rf conftest* 2301 ac_cv_func_alloca_works=yes 2302else 2303 echo "configure: failed program was:" >&5 2304 cat conftest.$ac_ext >&5 2305 rm -rf conftest* 2306 ac_cv_func_alloca_works=no 2307fi --- 15 unchanged lines hidden (view full) --- 2323 # use ar to extract alloca.o from them instead of compiling alloca.c. 2324 ALLOCA=alloca.${ac_objext} 2325 cat >> confdefs.h <<\EOF 2326#define C_ALLOCA 1 2327EOF 2328 2329 2330echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
2401echo "configure:2402: checking whether alloca needs Cray hooks" >&5 2402if eval "test \"\${ac_cv_os_cray+set}\" = set"; then | 2331echo "configure:2332: checking whether alloca needs Cray hooks" >&5 2332if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
2403 echo $ac_n "(cached) $ac_c" 1>&6 2404else 2405 cat > conftest.$ac_ext <<EOF | 2333 echo $ac_n "(cached) $ac_c" 1>&6 2334else 2335 cat > conftest.$ac_ext <<EOF |
2406#line 2407 "configure" | 2336#line 2337 "configure" |
2407#include "confdefs.h" 2408#if defined(CRAY) && ! defined(CRAY2) 2409webecray 2410#else 2411wenotbecray 2412#endif 2413 2414EOF --- 8 unchanged lines hidden (view full) --- 2423rm -f conftest* 2424 2425fi 2426 2427echo "$ac_t""$ac_cv_os_cray" 1>&6 2428if test $ac_cv_os_cray = yes; then 2429for ac_func in _getb67 GETB67 getb67; do 2430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2337#include "confdefs.h" 2338#if defined(CRAY) && ! defined(CRAY2) 2339webecray 2340#else 2341wenotbecray 2342#endif 2343 2344EOF --- 8 unchanged lines hidden (view full) --- 2353rm -f conftest* 2354 2355fi 2356 2357echo "$ac_t""$ac_cv_os_cray" 1>&6 2358if test $ac_cv_os_cray = yes; then 2359for ac_func in _getb67 GETB67 getb67; do 2360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2431echo "configure:2432: checking for $ac_func" >&5 2432if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 2361echo "configure:2362: checking for $ac_func" >&5 2362if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2433 echo $ac_n "(cached) $ac_c" 1>&6 2434else 2435 cat > conftest.$ac_ext <<EOF | 2363 echo $ac_n "(cached) $ac_c" 1>&6 2364else 2365 cat > conftest.$ac_ext <<EOF |
2436#line 2437 "configure" | 2366#line 2367 "configure" |
2437#include "confdefs.h" 2438/* System header to define __stub macros and hopefully few prototypes, 2439 which can conflict with char $ac_func(); below. */ 2440#include <assert.h> 2441/* Override any gcc2 internal prototype to avoid an error. */ 2442/* We use char because int might match the return type of a gcc2 2443 builtin and then its argument prototype would still apply. */ 2444char $ac_func(); | 2367#include "confdefs.h" 2368/* System header to define __stub macros and hopefully few prototypes, 2369 which can conflict with char $ac_func(); below. */ 2370#include <assert.h> 2371/* Override any gcc2 internal prototype to avoid an error. */ 2372/* We use char because int might match the return type of a gcc2 2373 builtin and then its argument prototype would still apply. */ 2374char $ac_func(); |
2445char (*f)(); | |
2446 2447int main() { 2448 2449/* The GNU C library defines this for functions which it implements 2450 to always fail with ENOSYS. Some functions are actually named 2451 something starting with __ and the normal name is an alias. */ 2452#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2453choke me 2454#else | 2375 2376int main() { 2377 2378/* The GNU C library defines this for functions which it implements 2379 to always fail with ENOSYS. Some functions are actually named 2380 something starting with __ and the normal name is an alias. */ 2381#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2382choke me 2383#else |
2455f = $ac_func; | 2384$ac_func(); |
2456#endif 2457 2458; return 0; } 2459EOF | 2385#endif 2386 2387; return 0; } 2388EOF |
2460if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2389if { (eval echo configure:2390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2461 rm -rf conftest* 2462 eval "ac_cv_func_$ac_func=yes" 2463else 2464 echo "configure: failed program was:" >&5 2465 cat conftest.$ac_ext >&5 2466 rm -rf conftest* 2467 eval "ac_cv_func_$ac_func=no" 2468fi --- 10 unchanged lines hidden (view full) --- 2479else 2480 echo "$ac_t""no" 1>&6 2481fi 2482 2483done 2484fi 2485 2486echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 2390 rm -rf conftest* 2391 eval "ac_cv_func_$ac_func=yes" 2392else 2393 echo "configure: failed program was:" >&5 2394 cat conftest.$ac_ext >&5 2395 rm -rf conftest* 2396 eval "ac_cv_func_$ac_func=no" 2397fi --- 10 unchanged lines hidden (view full) --- 2408else 2409 echo "$ac_t""no" 1>&6 2410fi 2411 2412done 2413fi 2414 2415echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
2487echo "configure:2488: checking stack direction for C alloca" >&5 2488if eval "test \"\${ac_cv_c_stack_direction+set}\" = set"; then | 2416echo "configure:2417: checking stack direction for C alloca" >&5 2417if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
2489 echo $ac_n "(cached) $ac_c" 1>&6 2490else 2491 if test "$cross_compiling" = yes; then 2492 ac_cv_c_stack_direction=0 2493else 2494 cat > conftest.$ac_ext <<EOF | 2418 echo $ac_n "(cached) $ac_c" 1>&6 2419else 2420 if test "$cross_compiling" = yes; then 2421 ac_cv_c_stack_direction=0 2422else 2423 cat > conftest.$ac_ext <<EOF |
2495#line 2496 "configure" | 2424#line 2425 "configure" |
2496#include "confdefs.h" 2497find_stack_direction () 2498{ 2499 static char *addr = 0; 2500 auto char dummy; 2501 if (addr == 0) 2502 { 2503 addr = &dummy; 2504 return find_stack_direction (); 2505 } 2506 else 2507 return (&dummy > addr) ? 1 : -1; 2508} 2509main () 2510{ 2511 exit (find_stack_direction() < 0); 2512} 2513EOF | 2425#include "confdefs.h" 2426find_stack_direction () 2427{ 2428 static char *addr = 0; 2429 auto char dummy; 2430 if (addr == 0) 2431 { 2432 addr = &dummy; 2433 return find_stack_direction (); 2434 } 2435 else 2436 return (&dummy > addr) ? 1 : -1; 2437} 2438main () 2439{ 2440 exit (find_stack_direction() < 0); 2441} 2442EOF |
2514if { (eval echo configure:2515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2443if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2515then 2516 ac_cv_c_stack_direction=1 2517else 2518 echo "configure: failed program was:" >&5 2519 cat conftest.$ac_ext >&5 2520 rm -fr conftest* 2521 ac_cv_c_stack_direction=-1 2522fi --- 8 unchanged lines hidden (view full) --- 2531EOF 2532 2533fi 2534 2535for ac_hdr in unistd.h 2536do 2537ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2538echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2444then 2445 ac_cv_c_stack_direction=1 2446else 2447 echo "configure: failed program was:" >&5 2448 cat conftest.$ac_ext >&5 2449 rm -fr conftest* 2450 ac_cv_c_stack_direction=-1 2451fi --- 8 unchanged lines hidden (view full) --- 2460EOF 2461 2462fi 2463 2464for ac_hdr in unistd.h 2465do 2466ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2467echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2539echo "configure:2540: checking for $ac_hdr" >&5 2540if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then | 2468echo "configure:2469: checking for $ac_hdr" >&5 2469if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2541 echo $ac_n "(cached) $ac_c" 1>&6 2542else 2543 cat > conftest.$ac_ext <<EOF | 2470 echo $ac_n "(cached) $ac_c" 1>&6 2471else 2472 cat > conftest.$ac_ext <<EOF |
2544#line 2545 "configure" | 2473#line 2474 "configure" |
2545#include "confdefs.h" 2546#include <$ac_hdr> 2547EOF 2548ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2474#include "confdefs.h" 2475#include <$ac_hdr> 2476EOF 2477ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2549{ (eval echo configure:2550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2478{ (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2550ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2551if test -z "$ac_err"; then 2552 rm -rf conftest* 2553 eval "ac_cv_header_$ac_safe=yes" 2554else 2555 echo "$ac_err" >&5 2556 echo "configure: failed program was:" >&5 2557 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 2570else 2571 echo "$ac_t""no" 1>&6 2572fi 2573done 2574 2575for ac_func in getpagesize 2576do 2577echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2479ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2480if test -z "$ac_err"; then 2481 rm -rf conftest* 2482 eval "ac_cv_header_$ac_safe=yes" 2483else 2484 echo "$ac_err" >&5 2485 echo "configure: failed program was:" >&5 2486 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 2499else 2500 echo "$ac_t""no" 1>&6 2501fi 2502done 2503 2504for ac_func in getpagesize 2505do 2506echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2578echo "configure:2579: checking for $ac_func" >&5 2579if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 2507echo "configure:2508: checking for $ac_func" >&5 2508if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2580 echo $ac_n "(cached) $ac_c" 1>&6 2581else 2582 cat > conftest.$ac_ext <<EOF | 2509 echo $ac_n "(cached) $ac_c" 1>&6 2510else 2511 cat > conftest.$ac_ext <<EOF |
2583#line 2584 "configure" | 2512#line 2513 "configure" |
2584#include "confdefs.h" 2585/* System header to define __stub macros and hopefully few prototypes, 2586 which can conflict with char $ac_func(); below. */ 2587#include <assert.h> 2588/* Override any gcc2 internal prototype to avoid an error. */ 2589/* We use char because int might match the return type of a gcc2 2590 builtin and then its argument prototype would still apply. */ 2591char $ac_func(); | 2513#include "confdefs.h" 2514/* System header to define __stub macros and hopefully few prototypes, 2515 which can conflict with char $ac_func(); below. */ 2516#include <assert.h> 2517/* Override any gcc2 internal prototype to avoid an error. */ 2518/* We use char because int might match the return type of a gcc2 2519 builtin and then its argument prototype would still apply. */ 2520char $ac_func(); |
2592char (*f)(); | |
2593 2594int main() { 2595 2596/* The GNU C library defines this for functions which it implements 2597 to always fail with ENOSYS. Some functions are actually named 2598 something starting with __ and the normal name is an alias. */ 2599#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2600choke me 2601#else | 2521 2522int main() { 2523 2524/* The GNU C library defines this for functions which it implements 2525 to always fail with ENOSYS. Some functions are actually named 2526 something starting with __ and the normal name is an alias. */ 2527#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2528choke me 2529#else |
2602f = $ac_func; | 2530$ac_func(); |
2603#endif 2604 2605; return 0; } 2606EOF | 2531#endif 2532 2533; return 0; } 2534EOF |
2607if { (eval echo configure:2608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2535if { (eval echo configure:2536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2608 rm -rf conftest* 2609 eval "ac_cv_func_$ac_func=yes" 2610else 2611 echo "configure: failed program was:" >&5 2612 cat conftest.$ac_ext >&5 2613 rm -rf conftest* 2614 eval "ac_cv_func_$ac_func=no" 2615fi --- 8 unchanged lines hidden (view full) --- 2624EOF 2625 2626else 2627 echo "$ac_t""no" 1>&6 2628fi 2629done 2630 2631echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 2536 rm -rf conftest* 2537 eval "ac_cv_func_$ac_func=yes" 2538else 2539 echo "configure: failed program was:" >&5 2540 cat conftest.$ac_ext >&5 2541 rm -rf conftest* 2542 eval "ac_cv_func_$ac_func=no" 2543fi --- 8 unchanged lines hidden (view full) --- 2552EOF 2553 2554else 2555 echo "$ac_t""no" 1>&6 2556fi 2557done 2558 2559echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
2632echo "configure:2633: checking for working mmap" >&5 2633if eval "test \"\${ac_cv_func_mmap_fixed_mapped+set}\" = set"; then | 2560echo "configure:2561: checking for working mmap" >&5 2561if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
2634 echo $ac_n "(cached) $ac_c" 1>&6 2635else 2636 if test "$cross_compiling" = yes; then 2637 ac_cv_func_mmap_fixed_mapped=no 2638else 2639 cat > conftest.$ac_ext <<EOF | 2562 echo $ac_n "(cached) $ac_c" 1>&6 2563else 2564 if test "$cross_compiling" = yes; then 2565 ac_cv_func_mmap_fixed_mapped=no 2566else 2567 cat > conftest.$ac_ext <<EOF |
2640#line 2641 "configure" | 2568#line 2569 "configure" |
2641#include "confdefs.h" 2642 2643/* Thanks to Mike Haertel and Jim Avera for this test. 2644 Here is a matrix of mmap possibilities: 2645 mmap private not fixed 2646 mmap private fixed at somewhere currently unmapped 2647 mmap private fixed at somewhere already mapped 2648 mmap shared not fixed --- 123 unchanged lines hidden (view full) --- 2772 if (*(data + i) != *(data3 + i)) 2773 exit(1); 2774 close(fd); 2775 unlink("conftestmmap"); 2776 exit(0); 2777} 2778 2779EOF | 2569#include "confdefs.h" 2570 2571/* Thanks to Mike Haertel and Jim Avera for this test. 2572 Here is a matrix of mmap possibilities: 2573 mmap private not fixed 2574 mmap private fixed at somewhere currently unmapped 2575 mmap private fixed at somewhere already mapped 2576 mmap shared not fixed --- 123 unchanged lines hidden (view full) --- 2700 if (*(data + i) != *(data3 + i)) 2701 exit(1); 2702 close(fd); 2703 unlink("conftestmmap"); 2704 exit(0); 2705} 2706 2707EOF |
2780if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2708if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2781then 2782 ac_cv_func_mmap_fixed_mapped=yes 2783else 2784 echo "configure: failed program was:" >&5 2785 cat conftest.$ac_ext >&5 2786 rm -fr conftest* 2787 ac_cv_func_mmap_fixed_mapped=no 2788fi --- 11 unchanged lines hidden (view full) --- 2800fi 2801 2802 2803 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 2804unistd.h values.h sys/param.h 2805do 2806ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2807echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2709then 2710 ac_cv_func_mmap_fixed_mapped=yes 2711else 2712 echo "configure: failed program was:" >&5 2713 cat conftest.$ac_ext >&5 2714 rm -fr conftest* 2715 ac_cv_func_mmap_fixed_mapped=no 2716fi --- 11 unchanged lines hidden (view full) --- 2728fi 2729 2730 2731 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 2732unistd.h values.h sys/param.h 2733do 2734ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2735echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2808echo "configure:2809: checking for $ac_hdr" >&5 2809if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then | 2736echo "configure:2737: checking for $ac_hdr" >&5 2737if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2810 echo $ac_n "(cached) $ac_c" 1>&6 2811else 2812 cat > conftest.$ac_ext <<EOF | 2738 echo $ac_n "(cached) $ac_c" 1>&6 2739else 2740 cat > conftest.$ac_ext <<EOF |
2813#line 2814 "configure" | 2741#line 2742 "configure" |
2814#include "confdefs.h" 2815#include <$ac_hdr> 2816EOF 2817ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2742#include "confdefs.h" 2743#include <$ac_hdr> 2744EOF 2745ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2818{ (eval echo configure:2819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2746{ (eval echo configure:2747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2819ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2820if test -z "$ac_err"; then 2821 rm -rf conftest* 2822 eval "ac_cv_header_$ac_safe=yes" 2823else 2824 echo "$ac_err" >&5 2825 echo "configure: failed program was:" >&5 2826 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 2840 echo "$ac_t""no" 1>&6 2841fi 2842done 2843 2844 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ 2845__argz_count __argz_stringify __argz_next 2846do 2847echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2747ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2748if test -z "$ac_err"; then 2749 rm -rf conftest* 2750 eval "ac_cv_header_$ac_safe=yes" 2751else 2752 echo "$ac_err" >&5 2753 echo "configure: failed program was:" >&5 2754 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 2768 echo "$ac_t""no" 1>&6 2769fi 2770done 2771 2772 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ 2773__argz_count __argz_stringify __argz_next 2774do 2775echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2848echo "configure:2849: checking for $ac_func" >&5 2849if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 2776echo "configure:2777: checking for $ac_func" >&5 2777if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2850 echo $ac_n "(cached) $ac_c" 1>&6 2851else 2852 cat > conftest.$ac_ext <<EOF | 2778 echo $ac_n "(cached) $ac_c" 1>&6 2779else 2780 cat > conftest.$ac_ext <<EOF |
2853#line 2854 "configure" | 2781#line 2782 "configure" |
2854#include "confdefs.h" 2855/* System header to define __stub macros and hopefully few prototypes, 2856 which can conflict with char $ac_func(); below. */ 2857#include <assert.h> 2858/* Override any gcc2 internal prototype to avoid an error. */ 2859/* We use char because int might match the return type of a gcc2 2860 builtin and then its argument prototype would still apply. */ 2861char $ac_func(); | 2782#include "confdefs.h" 2783/* System header to define __stub macros and hopefully few prototypes, 2784 which can conflict with char $ac_func(); below. */ 2785#include <assert.h> 2786/* Override any gcc2 internal prototype to avoid an error. */ 2787/* We use char because int might match the return type of a gcc2 2788 builtin and then its argument prototype would still apply. */ 2789char $ac_func(); |
2862char (*f)(); | |
2863 2864int main() { 2865 2866/* The GNU C library defines this for functions which it implements 2867 to always fail with ENOSYS. Some functions are actually named 2868 something starting with __ and the normal name is an alias. */ 2869#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2870choke me 2871#else | 2790 2791int main() { 2792 2793/* The GNU C library defines this for functions which it implements 2794 to always fail with ENOSYS. Some functions are actually named 2795 something starting with __ and the normal name is an alias. */ 2796#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2797choke me 2798#else |
2872f = $ac_func; | 2799$ac_func(); |
2873#endif 2874 2875; return 0; } 2876EOF | 2800#endif 2801 2802; return 0; } 2803EOF |
2877if { (eval echo configure:2878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2804if { (eval echo configure:2805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2878 rm -rf conftest* 2879 eval "ac_cv_func_$ac_func=yes" 2880else 2881 echo "configure: failed program was:" >&5 2882 cat conftest.$ac_ext >&5 2883 rm -rf conftest* 2884 eval "ac_cv_func_$ac_func=no" 2885fi --- 12 unchanged lines hidden (view full) --- 2898fi 2899done 2900 2901 2902 if test "${ac_cv_func_stpcpy+set}" != "set"; then 2903 for ac_func in stpcpy 2904do 2905echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2805 rm -rf conftest* 2806 eval "ac_cv_func_$ac_func=yes" 2807else 2808 echo "configure: failed program was:" >&5 2809 cat conftest.$ac_ext >&5 2810 rm -rf conftest* 2811 eval "ac_cv_func_$ac_func=no" 2812fi --- 12 unchanged lines hidden (view full) --- 2825fi 2826done 2827 2828 2829 if test "${ac_cv_func_stpcpy+set}" != "set"; then 2830 for ac_func in stpcpy 2831do 2832echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2906echo "configure:2907: checking for $ac_func" >&5 2907if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 2833echo "configure:2834: checking for $ac_func" >&5 2834if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2908 echo $ac_n "(cached) $ac_c" 1>&6 2909else 2910 cat > conftest.$ac_ext <<EOF | 2835 echo $ac_n "(cached) $ac_c" 1>&6 2836else 2837 cat > conftest.$ac_ext <<EOF |
2911#line 2912 "configure" | 2838#line 2839 "configure" |
2912#include "confdefs.h" 2913/* System header to define __stub macros and hopefully few prototypes, 2914 which can conflict with char $ac_func(); below. */ 2915#include <assert.h> 2916/* Override any gcc2 internal prototype to avoid an error. */ 2917/* We use char because int might match the return type of a gcc2 2918 builtin and then its argument prototype would still apply. */ 2919char $ac_func(); | 2839#include "confdefs.h" 2840/* System header to define __stub macros and hopefully few prototypes, 2841 which can conflict with char $ac_func(); below. */ 2842#include <assert.h> 2843/* Override any gcc2 internal prototype to avoid an error. */ 2844/* We use char because int might match the return type of a gcc2 2845 builtin and then its argument prototype would still apply. */ 2846char $ac_func(); |
2920char (*f)(); | |
2921 2922int main() { 2923 2924/* The GNU C library defines this for functions which it implements 2925 to always fail with ENOSYS. Some functions are actually named 2926 something starting with __ and the normal name is an alias. */ 2927#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2928choke me 2929#else | 2847 2848int main() { 2849 2850/* The GNU C library defines this for functions which it implements 2851 to always fail with ENOSYS. Some functions are actually named 2852 something starting with __ and the normal name is an alias. */ 2853#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2854choke me 2855#else |
2930f = $ac_func; | 2856$ac_func(); |
2931#endif 2932 2933; return 0; } 2934EOF | 2857#endif 2858 2859; return 0; } 2860EOF |
2935if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2861if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2936 rm -rf conftest* 2937 eval "ac_cv_func_$ac_func=yes" 2938else 2939 echo "configure: failed program was:" >&5 2940 cat conftest.$ac_ext >&5 2941 rm -rf conftest* 2942 eval "ac_cv_func_$ac_func=no" 2943fi --- 17 unchanged lines hidden (view full) --- 2961 cat >> confdefs.h <<\EOF 2962#define HAVE_STPCPY 1 2963EOF 2964 2965 fi 2966 2967 if test $ac_cv_header_locale_h = yes; then 2968 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 | 2862 rm -rf conftest* 2863 eval "ac_cv_func_$ac_func=yes" 2864else 2865 echo "configure: failed program was:" >&5 2866 cat conftest.$ac_ext >&5 2867 rm -rf conftest* 2868 eval "ac_cv_func_$ac_func=no" 2869fi --- 17 unchanged lines hidden (view full) --- 2887 cat >> confdefs.h <<\EOF 2888#define HAVE_STPCPY 1 2889EOF 2890 2891 fi 2892 2893 if test $ac_cv_header_locale_h = yes; then 2894 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 |
2969echo "configure:2970: checking for LC_MESSAGES" >&5 2970if eval "test \"\${am_cv_val_LC_MESSAGES+set}\" = set"; then | 2895echo "configure:2896: checking for LC_MESSAGES" >&5 2896if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then |
2971 echo $ac_n "(cached) $ac_c" 1>&6 2972else 2973 cat > conftest.$ac_ext <<EOF | 2897 echo $ac_n "(cached) $ac_c" 1>&6 2898else 2899 cat > conftest.$ac_ext <<EOF |
2974#line 2975 "configure" | 2900#line 2901 "configure" |
2975#include "confdefs.h" 2976#include <locale.h> 2977int main() { 2978return LC_MESSAGES 2979; return 0; } 2980EOF | 2901#include "confdefs.h" 2902#include <locale.h> 2903int main() { 2904return LC_MESSAGES 2905; return 0; } 2906EOF |
2981if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2907if { (eval echo configure:2908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2982 rm -rf conftest* 2983 am_cv_val_LC_MESSAGES=yes 2984else 2985 echo "configure: failed program was:" >&5 2986 cat conftest.$ac_ext >&5 2987 rm -rf conftest* 2988 am_cv_val_LC_MESSAGES=no 2989fi --- 4 unchanged lines hidden (view full) --- 2994 if test $am_cv_val_LC_MESSAGES = yes; then 2995 cat >> confdefs.h <<\EOF 2996#define HAVE_LC_MESSAGES 1 2997EOF 2998 2999 fi 3000 fi 3001 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 | 2908 rm -rf conftest* 2909 am_cv_val_LC_MESSAGES=yes 2910else 2911 echo "configure: failed program was:" >&5 2912 cat conftest.$ac_ext >&5 2913 rm -rf conftest* 2914 am_cv_val_LC_MESSAGES=no 2915fi --- 4 unchanged lines hidden (view full) --- 2920 if test $am_cv_val_LC_MESSAGES = yes; then 2921 cat >> confdefs.h <<\EOF 2922#define HAVE_LC_MESSAGES 1 2923EOF 2924 2925 fi 2926 fi 2927 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 |
3002echo "configure:3003: checking whether NLS is requested" >&5 | 2928echo "configure:2929: checking whether NLS is requested" >&5 |
3003 # Check whether --enable-nls or --disable-nls was given. 3004if test "${enable_nls+set}" = set; then 3005 enableval="$enable_nls" 3006 USE_NLS=$enableval 3007else 3008 USE_NLS=yes 3009fi 3010 3011 echo "$ac_t""$USE_NLS" 1>&6 3012 3013 3014 USE_INCLUDED_LIBINTL=no 3015 3016 if test "$USE_NLS" = "yes"; then 3017 cat >> confdefs.h <<\EOF 3018#define ENABLE_NLS 1 3019EOF 3020 3021 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 | 2929 # Check whether --enable-nls or --disable-nls was given. 2930if test "${enable_nls+set}" = set; then 2931 enableval="$enable_nls" 2932 USE_NLS=$enableval 2933else 2934 USE_NLS=yes 2935fi 2936 2937 echo "$ac_t""$USE_NLS" 1>&6 2938 2939 2940 USE_INCLUDED_LIBINTL=no 2941 2942 if test "$USE_NLS" = "yes"; then 2943 cat >> confdefs.h <<\EOF 2944#define ENABLE_NLS 1 2945EOF 2946 2947 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 |
3022echo "configure:3023: checking whether included gettext is requested" >&5 | 2948echo "configure:2949: checking whether included gettext is requested" >&5 |
3023 # Check whether --with-included-gettext or --without-included-gettext was given. 3024if test "${with_included_gettext+set}" = set; then 3025 withval="$with_included_gettext" 3026 nls_cv_force_use_gnu_gettext=$withval 3027else 3028 nls_cv_force_use_gnu_gettext=no 3029fi 3030 3031 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 3032 3033 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 3034 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 3035 nls_cv_header_intl= 3036 nls_cv_header_libgt= 3037 CATOBJEXT=NONE 3038 3039 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3040echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 | 2949 # Check whether --with-included-gettext or --without-included-gettext was given. 2950if test "${with_included_gettext+set}" = set; then 2951 withval="$with_included_gettext" 2952 nls_cv_force_use_gnu_gettext=$withval 2953else 2954 nls_cv_force_use_gnu_gettext=no 2955fi 2956 2957 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 2958 2959 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 2960 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 2961 nls_cv_header_intl= 2962 nls_cv_header_libgt= 2963 CATOBJEXT=NONE 2964 2965 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 2966echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 |
3041echo "configure:3042: checking for libintl.h" >&5 3042if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then | 2967echo "configure:2968: checking for libintl.h" >&5 2968if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3043 echo $ac_n "(cached) $ac_c" 1>&6 3044else 3045 cat > conftest.$ac_ext <<EOF | 2969 echo $ac_n "(cached) $ac_c" 1>&6 2970else 2971 cat > conftest.$ac_ext <<EOF |
3046#line 3047 "configure" | 2972#line 2973 "configure" |
3047#include "confdefs.h" 3048#include <libintl.h> 3049EOF 3050ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2973#include "confdefs.h" 2974#include <libintl.h> 2975EOF 2976ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3051{ (eval echo configure:3052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2977{ (eval echo configure:2978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3052ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3053if test -z "$ac_err"; then 3054 rm -rf conftest* 3055 eval "ac_cv_header_$ac_safe=yes" 3056else 3057 echo "$ac_err" >&5 3058 echo "configure: failed program was:" >&5 3059 cat conftest.$ac_ext >&5 3060 rm -rf conftest* 3061 eval "ac_cv_header_$ac_safe=no" 3062fi 3063rm -f conftest* 3064fi 3065if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3066 echo "$ac_t""yes" 1>&6 3067 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 | 2978ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2979if test -z "$ac_err"; then 2980 rm -rf conftest* 2981 eval "ac_cv_header_$ac_safe=yes" 2982else 2983 echo "$ac_err" >&5 2984 echo "configure: failed program was:" >&5 2985 cat conftest.$ac_ext >&5 2986 rm -rf conftest* 2987 eval "ac_cv_header_$ac_safe=no" 2988fi 2989rm -f conftest* 2990fi 2991if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2992 echo "$ac_t""yes" 1>&6 2993 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 |
3068echo "configure:3069: checking for gettext in libc" >&5 3069if eval "test \"\${gt_cv_func_gettext_libc+set}\" = set"; then | 2994echo "configure:2995: checking for gettext in libc" >&5 2995if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then |
3070 echo $ac_n "(cached) $ac_c" 1>&6 3071else 3072 cat > conftest.$ac_ext <<EOF | 2996 echo $ac_n "(cached) $ac_c" 1>&6 2997else 2998 cat > conftest.$ac_ext <<EOF |
3073#line 3074 "configure" | 2999#line 3000 "configure" |
3074#include "confdefs.h" 3075#include <libintl.h> 3076int main() { 3077return (int) gettext ("") 3078; return 0; } 3079EOF | 3000#include "confdefs.h" 3001#include <libintl.h> 3002int main() { 3003return (int) gettext ("") 3004; return 0; } 3005EOF |
3080if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3006if { (eval echo configure:3007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3081 rm -rf conftest* 3082 gt_cv_func_gettext_libc=yes 3083else 3084 echo "configure: failed program was:" >&5 3085 cat conftest.$ac_ext >&5 3086 rm -rf conftest* 3087 gt_cv_func_gettext_libc=no 3088fi 3089rm -f conftest* 3090fi 3091 3092echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 3093 3094 if test "$gt_cv_func_gettext_libc" != "yes"; then 3095 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 | 3007 rm -rf conftest* 3008 gt_cv_func_gettext_libc=yes 3009else 3010 echo "configure: failed program was:" >&5 3011 cat conftest.$ac_ext >&5 3012 rm -rf conftest* 3013 gt_cv_func_gettext_libc=no 3014fi 3015rm -f conftest* 3016fi 3017 3018echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 3019 3020 if test "$gt_cv_func_gettext_libc" != "yes"; then 3021 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 |
3096echo "configure:3097: checking for bindtextdomain in -lintl" >&5 3097ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-:%__p__%'` 3098if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then | 3022echo "configure:3023: checking for bindtextdomain in -lintl" >&5 3023ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3024if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3099 echo $ac_n "(cached) $ac_c" 1>&6 3100else 3101 ac_save_LIBS="$LIBS" 3102LIBS="-lintl $LIBS" 3103cat > conftest.$ac_ext <<EOF | 3025 echo $ac_n "(cached) $ac_c" 1>&6 3026else 3027 ac_save_LIBS="$LIBS" 3028LIBS="-lintl $LIBS" 3029cat > conftest.$ac_ext <<EOF |
3104#line 3105 "configure" | 3030#line 3031 "configure" |
3105#include "confdefs.h" 3106/* Override any gcc2 internal prototype to avoid an error. */ 3107/* We use char because int might match the return type of a gcc2 3108 builtin and then its argument prototype would still apply. */ 3109char bindtextdomain(); 3110 3111int main() { 3112bindtextdomain() 3113; return 0; } 3114EOF | 3031#include "confdefs.h" 3032/* Override any gcc2 internal prototype to avoid an error. */ 3033/* We use char because int might match the return type of a gcc2 3034 builtin and then its argument prototype would still apply. */ 3035char bindtextdomain(); 3036 3037int main() { 3038bindtextdomain() 3039; return 0; } 3040EOF |
3115if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3041if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3116 rm -rf conftest* 3117 eval "ac_cv_lib_$ac_lib_var=yes" 3118else 3119 echo "configure: failed program was:" >&5 3120 cat conftest.$ac_ext >&5 3121 rm -rf conftest* 3122 eval "ac_cv_lib_$ac_lib_var=no" 3123fi 3124rm -f conftest* 3125LIBS="$ac_save_LIBS" 3126 3127fi 3128if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3129 echo "$ac_t""yes" 1>&6 3130 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 | 3042 rm -rf conftest* 3043 eval "ac_cv_lib_$ac_lib_var=yes" 3044else 3045 echo "configure: failed program was:" >&5 3046 cat conftest.$ac_ext >&5 3047 rm -rf conftest* 3048 eval "ac_cv_lib_$ac_lib_var=no" 3049fi 3050rm -f conftest* 3051LIBS="$ac_save_LIBS" 3052 3053fi 3054if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3055 echo "$ac_t""yes" 1>&6 3056 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 |
3131echo "configure:3132: checking for gettext in libintl" >&5 3132if eval "test \"\${gt_cv_func_gettext_libintl+set}\" = set"; then | 3057echo "configure:3058: checking for gettext in libintl" >&5 3058if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then |
3133 echo $ac_n "(cached) $ac_c" 1>&6 3134else 3135 cat > conftest.$ac_ext <<EOF | 3059 echo $ac_n "(cached) $ac_c" 1>&6 3060else 3061 cat > conftest.$ac_ext <<EOF |
3136#line 3137 "configure" | 3062#line 3063 "configure" |
3137#include "confdefs.h" 3138 3139int main() { 3140return (int) gettext ("") 3141; return 0; } 3142EOF | 3063#include "confdefs.h" 3064 3065int main() { 3066return (int) gettext ("") 3067; return 0; } 3068EOF |
3143if { (eval echo configure:3144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3069if { (eval echo configure:3070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3144 rm -rf conftest* 3145 gt_cv_func_gettext_libintl=yes 3146else 3147 echo "configure: failed program was:" >&5 3148 cat conftest.$ac_ext >&5 3149 rm -rf conftest* 3150 gt_cv_func_gettext_libintl=no 3151fi --- 11 unchanged lines hidden (view full) --- 3163 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3164 cat >> confdefs.h <<\EOF 3165#define HAVE_GETTEXT 1 3166EOF 3167 3168 # Extract the first word of "msgfmt", so it can be a program name with args. 3169set dummy msgfmt; ac_word=$2 3170echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3070 rm -rf conftest* 3071 gt_cv_func_gettext_libintl=yes 3072else 3073 echo "configure: failed program was:" >&5 3074 cat conftest.$ac_ext >&5 3075 rm -rf conftest* 3076 gt_cv_func_gettext_libintl=no 3077fi --- 11 unchanged lines hidden (view full) --- 3089 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3090 cat >> confdefs.h <<\EOF 3091#define HAVE_GETTEXT 1 3092EOF 3093 3094 # Extract the first word of "msgfmt", so it can be a program name with args. 3095set dummy msgfmt; ac_word=$2 3096echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3171echo "configure:3172: checking for $ac_word" >&5 3172if eval "test \"\${ac_cv_path_MSGFMT+set}\" = set"; then | 3097echo "configure:3098: checking for $ac_word" >&5 3098if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
3173 echo $ac_n "(cached) $ac_c" 1>&6 3174else 3175 case "$MSGFMT" in 3176 /*) 3177 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3178 ;; 3179 *) 3180 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 16 unchanged lines hidden (view full) --- 3197 echo "$ac_t""$MSGFMT" 1>&6 3198else 3199 echo "$ac_t""no" 1>&6 3200fi 3201 if test "$MSGFMT" != "no"; then 3202 for ac_func in dcgettext 3203do 3204echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3099 echo $ac_n "(cached) $ac_c" 1>&6 3100else 3101 case "$MSGFMT" in 3102 /*) 3103 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3104 ;; 3105 *) 3106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 16 unchanged lines hidden (view full) --- 3123 echo "$ac_t""$MSGFMT" 1>&6 3124else 3125 echo "$ac_t""no" 1>&6 3126fi 3127 if test "$MSGFMT" != "no"; then 3128 for ac_func in dcgettext 3129do 3130echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3205echo "configure:3206: checking for $ac_func" >&5 3206if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 3131echo "configure:3132: checking for $ac_func" >&5 3132if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3207 echo $ac_n "(cached) $ac_c" 1>&6 3208else 3209 cat > conftest.$ac_ext <<EOF | 3133 echo $ac_n "(cached) $ac_c" 1>&6 3134else 3135 cat > conftest.$ac_ext <<EOF |
3210#line 3211 "configure" | 3136#line 3137 "configure" |
3211#include "confdefs.h" 3212/* System header to define __stub macros and hopefully few prototypes, 3213 which can conflict with char $ac_func(); below. */ 3214#include <assert.h> 3215/* Override any gcc2 internal prototype to avoid an error. */ 3216/* We use char because int might match the return type of a gcc2 3217 builtin and then its argument prototype would still apply. */ 3218char $ac_func(); | 3137#include "confdefs.h" 3138/* System header to define __stub macros and hopefully few prototypes, 3139 which can conflict with char $ac_func(); below. */ 3140#include <assert.h> 3141/* Override any gcc2 internal prototype to avoid an error. */ 3142/* We use char because int might match the return type of a gcc2 3143 builtin and then its argument prototype would still apply. */ 3144char $ac_func(); |
3219char (*f)(); | |
3220 3221int main() { 3222 3223/* The GNU C library defines this for functions which it implements 3224 to always fail with ENOSYS. Some functions are actually named 3225 something starting with __ and the normal name is an alias. */ 3226#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3227choke me 3228#else | 3145 3146int main() { 3147 3148/* The GNU C library defines this for functions which it implements 3149 to always fail with ENOSYS. Some functions are actually named 3150 something starting with __ and the normal name is an alias. */ 3151#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3152choke me 3153#else |
3229f = $ac_func; | 3154$ac_func(); |
3230#endif 3231 3232; return 0; } 3233EOF | 3155#endif 3156 3157; return 0; } 3158EOF |
3234if { (eval echo configure:3235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3159if { (eval echo configure:3160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3235 rm -rf conftest* 3236 eval "ac_cv_func_$ac_func=yes" 3237else 3238 echo "configure: failed program was:" >&5 3239 cat conftest.$ac_ext >&5 3240 rm -rf conftest* 3241 eval "ac_cv_func_$ac_func=no" 3242fi --- 10 unchanged lines hidden (view full) --- 3253else 3254 echo "$ac_t""no" 1>&6 3255fi 3256done 3257 3258 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3259set dummy gmsgfmt; ac_word=$2 3260echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3160 rm -rf conftest* 3161 eval "ac_cv_func_$ac_func=yes" 3162else 3163 echo "configure: failed program was:" >&5 3164 cat conftest.$ac_ext >&5 3165 rm -rf conftest* 3166 eval "ac_cv_func_$ac_func=no" 3167fi --- 10 unchanged lines hidden (view full) --- 3178else 3179 echo "$ac_t""no" 1>&6 3180fi 3181done 3182 3183 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3184set dummy gmsgfmt; ac_word=$2 3185echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3261echo "configure:3262: checking for $ac_word" >&5 3262if eval "test \"\${ac_cv_path_GMSGFMT+set}\" = set"; then | 3186echo "configure:3187: checking for $ac_word" >&5 3187if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
3263 echo $ac_n "(cached) $ac_c" 1>&6 3264else 3265 case "$GMSGFMT" in 3266 /*) 3267 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3268 ;; 3269 ?:/*) 3270 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. --- 18 unchanged lines hidden (view full) --- 3289 echo "$ac_t""$GMSGFMT" 1>&6 3290else 3291 echo "$ac_t""no" 1>&6 3292fi 3293 3294 # Extract the first word of "xgettext", so it can be a program name with args. 3295set dummy xgettext; ac_word=$2 3296echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3188 echo $ac_n "(cached) $ac_c" 1>&6 3189else 3190 case "$GMSGFMT" in 3191 /*) 3192 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3193 ;; 3194 ?:/*) 3195 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. --- 18 unchanged lines hidden (view full) --- 3214 echo "$ac_t""$GMSGFMT" 1>&6 3215else 3216 echo "$ac_t""no" 1>&6 3217fi 3218 3219 # Extract the first word of "xgettext", so it can be a program name with args. 3220set dummy xgettext; ac_word=$2 3221echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3297echo "configure:3298: checking for $ac_word" >&5 3298if eval "test \"\${ac_cv_path_XGETTEXT+set}\" = set"; then | 3222echo "configure:3223: checking for $ac_word" >&5 3223if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
3299 echo $ac_n "(cached) $ac_c" 1>&6 3300else 3301 case "$XGETTEXT" in 3302 /*) 3303 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3304 ;; 3305 *) 3306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 14 unchanged lines hidden (view full) --- 3321XGETTEXT="$ac_cv_path_XGETTEXT" 3322if test -n "$XGETTEXT"; then 3323 echo "$ac_t""$XGETTEXT" 1>&6 3324else 3325 echo "$ac_t""no" 1>&6 3326fi 3327 3328 cat > conftest.$ac_ext <<EOF | 3224 echo $ac_n "(cached) $ac_c" 1>&6 3225else 3226 case "$XGETTEXT" in 3227 /*) 3228 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3229 ;; 3230 *) 3231 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 14 unchanged lines hidden (view full) --- 3246XGETTEXT="$ac_cv_path_XGETTEXT" 3247if test -n "$XGETTEXT"; then 3248 echo "$ac_t""$XGETTEXT" 1>&6 3249else 3250 echo "$ac_t""no" 1>&6 3251fi 3252 3253 cat > conftest.$ac_ext <<EOF |
3329#line 3330 "configure" | 3254#line 3255 "configure" |
3330#include "confdefs.h" 3331 3332int main() { 3333extern int _nl_msg_cat_cntr; 3334 return _nl_msg_cat_cntr 3335; return 0; } 3336EOF | 3255#include "confdefs.h" 3256 3257int main() { 3258extern int _nl_msg_cat_cntr; 3259 return _nl_msg_cat_cntr 3260; return 0; } 3261EOF |
3337if { (eval echo configure:3338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3262if { (eval echo configure:3263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3338 rm -rf conftest* 3339 CATOBJEXT=.gmo 3340 DATADIRNAME=share 3341else 3342 echo "configure: failed program was:" >&5 3343 cat conftest.$ac_ext >&5 3344 rm -rf conftest* 3345 CATOBJEXT=.mo --- 15 unchanged lines hidden (view full) --- 3361 fi 3362 fi 3363 3364 if test "$nls_cv_use_gnu_gettext" = "yes"; then 3365 INTLOBJS="\$(GETTOBJS)" 3366 # Extract the first word of "msgfmt", so it can be a program name with args. 3367set dummy msgfmt; ac_word=$2 3368echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3263 rm -rf conftest* 3264 CATOBJEXT=.gmo 3265 DATADIRNAME=share 3266else 3267 echo "configure: failed program was:" >&5 3268 cat conftest.$ac_ext >&5 3269 rm -rf conftest* 3270 CATOBJEXT=.mo --- 15 unchanged lines hidden (view full) --- 3286 fi 3287 fi 3288 3289 if test "$nls_cv_use_gnu_gettext" = "yes"; then 3290 INTLOBJS="\$(GETTOBJS)" 3291 # Extract the first word of "msgfmt", so it can be a program name with args. 3292set dummy msgfmt; ac_word=$2 3293echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3369echo "configure:3370: checking for $ac_word" >&5 3370if eval "test \"\${ac_cv_path_MSGFMT+set}\" = set"; then | 3294echo "configure:3295: checking for $ac_word" >&5 3295if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then |
3371 echo $ac_n "(cached) $ac_c" 1>&6 3372else 3373 case "$MSGFMT" in 3374 /*) 3375 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3376 ;; 3377 *) 3378 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 16 unchanged lines hidden (view full) --- 3395 echo "$ac_t""$MSGFMT" 1>&6 3396else 3397 echo "$ac_t""no" 1>&6 3398fi 3399 3400 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3401set dummy gmsgfmt; ac_word=$2 3402echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3296 echo $ac_n "(cached) $ac_c" 1>&6 3297else 3298 case "$MSGFMT" in 3299 /*) 3300 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3301 ;; 3302 *) 3303 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 16 unchanged lines hidden (view full) --- 3320 echo "$ac_t""$MSGFMT" 1>&6 3321else 3322 echo "$ac_t""no" 1>&6 3323fi 3324 3325 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3326set dummy gmsgfmt; ac_word=$2 3327echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3403echo "configure:3404: checking for $ac_word" >&5 3404if eval "test \"\${ac_cv_path_GMSGFMT+set}\" = set"; then | 3328echo "configure:3329: checking for $ac_word" >&5 3329if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then |
3405 echo $ac_n "(cached) $ac_c" 1>&6 3406else 3407 case "$GMSGFMT" in 3408 /*) 3409 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3410 ;; 3411 ?:/*) 3412 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. --- 18 unchanged lines hidden (view full) --- 3431 echo "$ac_t""$GMSGFMT" 1>&6 3432else 3433 echo "$ac_t""no" 1>&6 3434fi 3435 3436 # Extract the first word of "xgettext", so it can be a program name with args. 3437set dummy xgettext; ac_word=$2 3438echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3330 echo $ac_n "(cached) $ac_c" 1>&6 3331else 3332 case "$GMSGFMT" in 3333 /*) 3334 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3335 ;; 3336 ?:/*) 3337 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path. --- 18 unchanged lines hidden (view full) --- 3356 echo "$ac_t""$GMSGFMT" 1>&6 3357else 3358 echo "$ac_t""no" 1>&6 3359fi 3360 3361 # Extract the first word of "xgettext", so it can be a program name with args. 3362set dummy xgettext; ac_word=$2 3363echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3439echo "configure:3440: checking for $ac_word" >&5 3440if eval "test \"\${ac_cv_path_XGETTEXT+set}\" = set"; then | 3364echo "configure:3365: checking for $ac_word" >&5 3365if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then |
3441 echo $ac_n "(cached) $ac_c" 1>&6 3442else 3443 case "$XGETTEXT" in 3444 /*) 3445 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3446 ;; 3447 *) 3448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 72 unchanged lines hidden (view full) --- 3521 3522 3523 3524 if test "x$CATOBJEXT" != "x"; then 3525 if test "x$ALL_LINGUAS" = "x"; then 3526 LINGUAS= 3527 else 3528 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 | 3366 echo $ac_n "(cached) $ac_c" 1>&6 3367else 3368 case "$XGETTEXT" in 3369 /*) 3370 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3371 ;; 3372 *) 3373 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" --- 72 unchanged lines hidden (view full) --- 3446 3447 3448 3449 if test "x$CATOBJEXT" != "x"; then 3450 if test "x$ALL_LINGUAS" = "x"; then 3451 LINGUAS= 3452 else 3453 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 |
3529echo "configure:3530: checking for catalogs to be installed" >&5 | 3454echo "configure:3455: checking for catalogs to be installed" >&5 |
3530 NEW_LINGUAS= 3531 for lang in ${LINGUAS=$ALL_LINGUAS}; do 3532 case "$ALL_LINGUAS" in 3533 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 3534 esac 3535 done 3536 LINGUAS=$NEW_LINGUAS 3537 echo "$ac_t""$LINGUAS" 1>&6 --- 11 unchanged lines hidden (view full) --- 3549/* The system does not provide the header <locale.h>. Take care yourself. */" 3550 fi 3551 3552 3553 if test -f $srcdir/po2tbl.sed.in; then 3554 if test "$CATOBJEXT" = ".cat"; then 3555 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 3556echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 | 3455 NEW_LINGUAS= 3456 for lang in ${LINGUAS=$ALL_LINGUAS}; do 3457 case "$ALL_LINGUAS" in 3458 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 3459 esac 3460 done 3461 LINGUAS=$NEW_LINGUAS 3462 echo "$ac_t""$LINGUAS" 1>&6 --- 11 unchanged lines hidden (view full) --- 3474/* The system does not provide the header <locale.h>. Take care yourself. */" 3475 fi 3476 3477 3478 if test -f $srcdir/po2tbl.sed.in; then 3479 if test "$CATOBJEXT" = ".cat"; then 3480 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 3481echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 |
3557echo "configure:3558: checking for linux/version.h" >&5 3558if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then | 3482echo "configure:3483: checking for linux/version.h" >&5 3483if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3559 echo $ac_n "(cached) $ac_c" 1>&6 3560else 3561 cat > conftest.$ac_ext <<EOF | 3484 echo $ac_n "(cached) $ac_c" 1>&6 3485else 3486 cat > conftest.$ac_ext <<EOF |
3562#line 3563 "configure" | 3487#line 3488 "configure" |
3563#include "confdefs.h" 3564#include <linux/version.h> 3565EOF 3566ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3488#include "confdefs.h" 3489#include <linux/version.h> 3490EOF 3491ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3567{ (eval echo configure:3568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3492{ (eval echo configure:3493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3568ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3569if test -z "$ac_err"; then 3570 rm -rf conftest* 3571 eval "ac_cv_header_$ac_safe=yes" 3572else 3573 echo "$ac_err" >&5 3574 echo "configure: failed program was:" >&5 3575 cat conftest.$ac_ext >&5 --- 46 unchanged lines hidden (view full) --- 3622 fi 3623 rm -f po/POTFILES 3624 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 3625 < $srcdir/po/POTFILES.in > po/POTFILES 3626 fi 3627 3628 3629echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 3493ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3494if test -z "$ac_err"; then 3495 rm -rf conftest* 3496 eval "ac_cv_header_$ac_safe=yes" 3497else 3498 echo "$ac_err" >&5 3499 echo "configure: failed program was:" >&5 3500 cat conftest.$ac_ext >&5 --- 46 unchanged lines hidden (view full) --- 3547 fi 3548 rm -f po/POTFILES 3549 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 3550 < $srcdir/po/POTFILES.in > po/POTFILES 3551 fi 3552 3553 3554echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
3630echo "configure:3631: checking for Cygwin environment" >&5 3631if eval "test \"\${ac_cv_cygwin+set}\" = set"; then | 3555echo "configure:3556: checking for Cygwin environment" >&5 3556if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
3632 echo $ac_n "(cached) $ac_c" 1>&6 3633else 3634 cat > conftest.$ac_ext <<EOF | 3557 echo $ac_n "(cached) $ac_c" 1>&6 3558else 3559 cat > conftest.$ac_ext <<EOF |
3635#line 3636 "configure" | 3560#line 3561 "configure" |
3636#include "confdefs.h" 3637 3638int main() { 3639 3640#ifndef __CYGWIN__ 3641#define __CYGWIN__ __CYGWIN32__ 3642#endif 3643return __CYGWIN__; 3644; return 0; } 3645EOF | 3561#include "confdefs.h" 3562 3563int main() { 3564 3565#ifndef __CYGWIN__ 3566#define __CYGWIN__ __CYGWIN32__ 3567#endif 3568return __CYGWIN__; 3569; return 0; } 3570EOF |
3646if { (eval echo configure:3647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3571if { (eval echo configure:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3647 rm -rf conftest* 3648 ac_cv_cygwin=yes 3649else 3650 echo "configure: failed program was:" >&5 3651 cat conftest.$ac_ext >&5 3652 rm -rf conftest* 3653 ac_cv_cygwin=no 3654fi 3655rm -f conftest* | 3572 rm -rf conftest* 3573 ac_cv_cygwin=yes 3574else 3575 echo "configure: failed program was:" >&5 3576 cat conftest.$ac_ext >&5 3577 rm -rf conftest* 3578 ac_cv_cygwin=no 3579fi 3580rm -f conftest* |
3581rm -f conftest* |
|
3656fi 3657 3658echo "$ac_t""$ac_cv_cygwin" 1>&6 3659CYGWIN= 3660test "$ac_cv_cygwin" = yes && CYGWIN=yes 3661echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 3582fi 3583 3584echo "$ac_t""$ac_cv_cygwin" 1>&6 3585CYGWIN= 3586test "$ac_cv_cygwin" = yes && CYGWIN=yes 3587echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
3662echo "configure:3663: checking for mingw32 environment" >&5 3663if eval "test \"\${ac_cv_mingw32+set}\" = set"; then | 3588echo "configure:3589: checking for mingw32 environment" >&5 3589if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
3664 echo $ac_n "(cached) $ac_c" 1>&6 3665else 3666 cat > conftest.$ac_ext <<EOF | 3590 echo $ac_n "(cached) $ac_c" 1>&6 3591else 3592 cat > conftest.$ac_ext <<EOF |
3667#line 3668 "configure" | 3593#line 3594 "configure" |
3668#include "confdefs.h" 3669 3670int main() { 3671return __MINGW32__; 3672; return 0; } 3673EOF | 3594#include "confdefs.h" 3595 3596int main() { 3597return __MINGW32__; 3598; return 0; } 3599EOF |
3674if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3600if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3675 rm -rf conftest* 3676 ac_cv_mingw32=yes 3677else 3678 echo "configure: failed program was:" >&5 3679 cat conftest.$ac_ext >&5 3680 rm -rf conftest* 3681 ac_cv_mingw32=no 3682fi 3683rm -f conftest* | 3601 rm -rf conftest* 3602 ac_cv_mingw32=yes 3603else 3604 echo "configure: failed program was:" >&5 3605 cat conftest.$ac_ext >&5 3606 rm -rf conftest* 3607 ac_cv_mingw32=no 3608fi 3609rm -f conftest* |
3610rm -f conftest* |
|
3684fi 3685 3686echo "$ac_t""$ac_cv_mingw32" 1>&6 3687MINGW32= 3688test "$ac_cv_mingw32" = yes && MINGW32=yes | 3611fi 3612 3613echo "$ac_t""$ac_cv_mingw32" 1>&6 3614MINGW32= 3615test "$ac_cv_mingw32" = yes && MINGW32=yes |
3689echo $ac_n "checking for EMX OS/2 environment""... $ac_c" 1>&6 3690echo "configure:3691: checking for EMX OS/2 environment" >&5 3691if eval "test \"\${ac_cv_emxos2+set}\" = set"; then 3692 echo $ac_n "(cached) $ac_c" 1>&6 3693else 3694 cat > conftest.$ac_ext <<EOF 3695#line 3696 "configure" 3696#include "confdefs.h" | |
3697 | 3616 |
3698int main() { 3699return __EMX__; 3700; return 0; } 3701EOF 3702if { (eval echo configure:3703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3703 rm -rf conftest* 3704 ac_cv_emxos2=yes 3705else 3706 echo "configure: failed program was:" >&5 3707 cat conftest.$ac_ext >&5 3708 rm -rf conftest* 3709 ac_cv_emxos2=no 3710fi 3711rm -f conftest* 3712fi | |
3713 | 3617 |
3714echo "$ac_t""$ac_cv_emxos2" 1>&6 3715EMXOS2= 3716test "$ac_cv_emxos2" = yes && EMXOS2=yes 3717 3718 3719 | |
3720echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 3618echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
3721echo "configure:3722: checking for executable suffix" >&5 3722if eval "test \"\${ac_cv_exeext+set}\" = set"; then | 3619echo "configure:3620: checking for executable suffix" >&5 3620if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
3723 echo $ac_n "(cached) $ac_c" 1>&6 3724else | 3621 echo $ac_n "(cached) $ac_c" 1>&6 3622else |
3725 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then | 3623 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
3726 ac_cv_exeext=.exe 3727else 3728 rm -f conftest* 3729 echo 'int main () { return 0; }' > conftest.$ac_ext 3730 ac_cv_exeext= | 3624 ac_cv_exeext=.exe 3625else 3626 rm -f conftest* 3627 echo 'int main () { return 0; }' > conftest.$ac_ext 3628 ac_cv_exeext= |
3731 if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 3629 if { (eval echo configure:3630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
3732 for file in conftest.*; do 3733 case $file in | 3630 for file in conftest.*; do 3631 case $file in |
3734 *.c | *.C | *.o | *.obj | *.xcoff) ;; | 3632 *.c | *.o | *.obj) ;; |
3735 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 3736 esac 3737 done 3738 else 3739 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 3740 fi 3741 rm -f conftest* 3742 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no --- 6 unchanged lines hidden (view full) --- 3749ac_exeext=$EXEEXT 3750 3751 3752for ac_prog in 'bison -y' byacc 3753do 3754# Extract the first word of "$ac_prog", so it can be a program name with args. 3755set dummy $ac_prog; ac_word=$2 3756echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3633 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 3634 esac 3635 done 3636 else 3637 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 3638 fi 3639 rm -f conftest* 3640 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no --- 6 unchanged lines hidden (view full) --- 3647ac_exeext=$EXEEXT 3648 3649 3650for ac_prog in 'bison -y' byacc 3651do 3652# Extract the first word of "$ac_prog", so it can be a program name with args. 3653set dummy $ac_prog; ac_word=$2 3654echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3757echo "configure:3758: checking for $ac_word" >&5 3758if eval "test \"\${ac_cv_prog_YACC+set}\" = set"; then | 3655echo "configure:3656: checking for $ac_word" >&5 3656if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
3759 echo $ac_n "(cached) $ac_c" 1>&6 3760else 3761 if test -n "$YACC"; then 3762 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3763else 3764 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3765 ac_dummy="$PATH" 3766 for ac_dir in $ac_dummy; do --- 18 unchanged lines hidden (view full) --- 3785test -n "$YACC" || YACC="yacc" 3786 3787missing_dir=`cd $ac_aux_dir && pwd` 3788for ac_prog in flex lex 3789do 3790# Extract the first word of "$ac_prog", so it can be a program name with args. 3791set dummy $ac_prog; ac_word=$2 3792echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3657 echo $ac_n "(cached) $ac_c" 1>&6 3658else 3659 if test -n "$YACC"; then 3660 ac_cv_prog_YACC="$YACC" # Let the user override the test. 3661else 3662 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3663 ac_dummy="$PATH" 3664 for ac_dir in $ac_dummy; do --- 18 unchanged lines hidden (view full) --- 3683test -n "$YACC" || YACC="yacc" 3684 3685missing_dir=`cd $ac_aux_dir && pwd` 3686for ac_prog in flex lex 3687do 3688# Extract the first word of "$ac_prog", so it can be a program name with args. 3689set dummy $ac_prog; ac_word=$2 3690echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3793echo "configure:3794: checking for $ac_word" >&5 3794if eval "test \"\${ac_cv_prog_LEX+set}\" = set"; then | 3691echo "configure:3692: checking for $ac_word" >&5 3692if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
3795 echo $ac_n "(cached) $ac_c" 1>&6 3796else 3797 if test -n "$LEX"; then 3798 ac_cv_prog_LEX="$LEX" # Let the user override the test. 3799else 3800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3801 ac_dummy="$PATH" 3802 for ac_dir in $ac_dummy; do --- 15 unchanged lines hidden (view full) --- 3818 3819test -n "$LEX" && break 3820done 3821test -n "$LEX" || LEX=""$missing_dir/missing flex"" 3822 3823# Extract the first word of "flex", so it can be a program name with args. 3824set dummy flex; ac_word=$2 3825echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3693 echo $ac_n "(cached) $ac_c" 1>&6 3694else 3695 if test -n "$LEX"; then 3696 ac_cv_prog_LEX="$LEX" # Let the user override the test. 3697else 3698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3699 ac_dummy="$PATH" 3700 for ac_dir in $ac_dummy; do --- 15 unchanged lines hidden (view full) --- 3716 3717test -n "$LEX" && break 3718done 3719test -n "$LEX" || LEX=""$missing_dir/missing flex"" 3720 3721# Extract the first word of "flex", so it can be a program name with args. 3722set dummy flex; ac_word=$2 3723echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3826echo "configure:3827: checking for $ac_word" >&5 3827if eval "test \"\${ac_cv_prog_LEX+set}\" = set"; then | 3724echo "configure:3725: checking for $ac_word" >&5 3725if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
3828 echo $ac_n "(cached) $ac_c" 1>&6 3829else 3830 if test -n "$LEX"; then 3831 ac_cv_prog_LEX="$LEX" # Let the user override the test. 3832else 3833 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3834 ac_dummy="$PATH" 3835 for ac_dir in $ac_dummy; do --- 16 unchanged lines hidden (view full) --- 3852 3853if test -z "$LEXLIB" 3854then 3855 case "$LEX" in 3856 flex*) ac_lib=fl ;; 3857 *) ac_lib=l ;; 3858 esac 3859 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 | 3726 echo $ac_n "(cached) $ac_c" 1>&6 3727else 3728 if test -n "$LEX"; then 3729 ac_cv_prog_LEX="$LEX" # Let the user override the test. 3730else 3731 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 3732 ac_dummy="$PATH" 3733 for ac_dir in $ac_dummy; do --- 16 unchanged lines hidden (view full) --- 3750 3751if test -z "$LEXLIB" 3752then 3753 case "$LEX" in 3754 flex*) ac_lib=fl ;; 3755 *) ac_lib=l ;; 3756 esac 3757 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 |
3860echo "configure:3861: checking for yywrap in -l$ac_lib" >&5 3861ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-:%__p__%'` 3862if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then | 3758echo "configure:3759: checking for yywrap in -l$ac_lib" >&5 3759ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` 3760if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3863 echo $ac_n "(cached) $ac_c" 1>&6 3864else 3865 ac_save_LIBS="$LIBS" 3866LIBS="-l$ac_lib $LIBS" 3867cat > conftest.$ac_ext <<EOF | 3761 echo $ac_n "(cached) $ac_c" 1>&6 3762else 3763 ac_save_LIBS="$LIBS" 3764LIBS="-l$ac_lib $LIBS" 3765cat > conftest.$ac_ext <<EOF |
3868#line 3869 "configure" | 3766#line 3767 "configure" |
3869#include "confdefs.h" 3870/* Override any gcc2 internal prototype to avoid an error. */ 3871/* We use char because int might match the return type of a gcc2 3872 builtin and then its argument prototype would still apply. */ 3873char yywrap(); 3874 3875int main() { 3876yywrap() 3877; return 0; } 3878EOF | 3767#include "confdefs.h" 3768/* Override any gcc2 internal prototype to avoid an error. */ 3769/* We use char because int might match the return type of a gcc2 3770 builtin and then its argument prototype would still apply. */ 3771char yywrap(); 3772 3773int main() { 3774yywrap() 3775; return 0; } 3776EOF |
3879if { (eval echo configure:3880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3777if { (eval echo configure:3778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3880 rm -rf conftest* 3881 eval "ac_cv_lib_$ac_lib_var=yes" 3882else 3883 echo "configure: failed program was:" >&5 3884 cat conftest.$ac_ext >&5 3885 rm -rf conftest* 3886 eval "ac_cv_lib_$ac_lib_var=no" 3887fi --- 6 unchanged lines hidden (view full) --- 3894 LEXLIB="-l$ac_lib" 3895else 3896 echo "$ac_t""no" 1>&6 3897fi 3898 3899fi 3900 3901echo $ac_n "checking lex output file root""... $ac_c" 1>&6 | 3778 rm -rf conftest* 3779 eval "ac_cv_lib_$ac_lib_var=yes" 3780else 3781 echo "configure: failed program was:" >&5 3782 cat conftest.$ac_ext >&5 3783 rm -rf conftest* 3784 eval "ac_cv_lib_$ac_lib_var=no" 3785fi --- 6 unchanged lines hidden (view full) --- 3792 LEXLIB="-l$ac_lib" 3793else 3794 echo "$ac_t""no" 1>&6 3795fi 3796 3797fi 3798 3799echo $ac_n "checking lex output file root""... $ac_c" 1>&6 |
3902echo "configure:3903: checking lex output file root" >&5 3903if eval "test \"\${ac_cv_prog_lex_root+set}\" = set"; then | 3800echo "configure:3801: checking lex output file root" >&5 3801if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then |
3904 echo $ac_n "(cached) $ac_c" 1>&6 3905else 3906 # The minimal lex program is just a single line: %%. But some broken lexes 3907# (Solaris, I think it was) want two %% lines, so accommodate them. 3908echo '%% 3909%%' | $LEX 3910if test -f lex.yy.c; then 3911 ac_cv_prog_lex_root=lex.yy 3912elif test -f lexyy.c; then 3913 ac_cv_prog_lex_root=lexyy 3914else 3915 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } 3916fi 3917fi 3918 3919echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 3920LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 3921 3922echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 | 3802 echo $ac_n "(cached) $ac_c" 1>&6 3803else 3804 # The minimal lex program is just a single line: %%. But some broken lexes 3805# (Solaris, I think it was) want two %% lines, so accommodate them. 3806echo '%% 3807%%' | $LEX 3808if test -f lex.yy.c; then 3809 ac_cv_prog_lex_root=lex.yy 3810elif test -f lexyy.c; then 3811 ac_cv_prog_lex_root=lexyy 3812else 3813 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; } 3814fi 3815fi 3816 3817echo "$ac_t""$ac_cv_prog_lex_root" 1>&6 3818LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 3819 3820echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6 |
3923echo "configure:3924: checking whether yytext is a pointer" >&5 3924if eval "test \"\${ac_cv_prog_lex_yytext_pointer+set}\" = set"; then | 3821echo "configure:3822: checking whether yytext is a pointer" >&5 3822if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then |
3925 echo $ac_n "(cached) $ac_c" 1>&6 3926else 3927 # POSIX says lex can declare yytext either as a pointer or an array; the 3928# default is implementation-dependent. Figure out which it is, since 3929# not all implementations provide the %pointer and %array declarations. 3930ac_cv_prog_lex_yytext_pointer=no 3931echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 3932ac_save_LIBS="$LIBS" 3933LIBS="$LIBS $LEXLIB" 3934cat > conftest.$ac_ext <<EOF | 3823 echo $ac_n "(cached) $ac_c" 1>&6 3824else 3825 # POSIX says lex can declare yytext either as a pointer or an array; the 3826# default is implementation-dependent. Figure out which it is, since 3827# not all implementations provide the %pointer and %array declarations. 3828ac_cv_prog_lex_yytext_pointer=no 3829echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 3830ac_save_LIBS="$LIBS" 3831LIBS="$LIBS $LEXLIB" 3832cat > conftest.$ac_ext <<EOF |
3935#line 3936 "configure" | 3833#line 3834 "configure" |
3936#include "confdefs.h" 3937`cat $LEX_OUTPUT_ROOT.c` 3938int main() { 3939 3940; return 0; } 3941EOF | 3834#include "confdefs.h" 3835`cat $LEX_OUTPUT_ROOT.c` 3836int main() { 3837 3838; return 0; } 3839EOF |
3942if { (eval echo configure:3943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3840if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3943 rm -rf conftest* 3944 ac_cv_prog_lex_yytext_pointer=yes 3945else 3946 echo "configure: failed program was:" >&5 3947 cat conftest.$ac_ext >&5 3948fi 3949rm -f conftest* 3950LIBS="$ac_save_LIBS" --- 6 unchanged lines hidden (view full) --- 3957 cat >> confdefs.h <<\EOF 3958#define YYTEXT_POINTER 1 3959EOF 3960 3961fi 3962 3963 3964echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 3841 rm -rf conftest* 3842 ac_cv_prog_lex_yytext_pointer=yes 3843else 3844 echo "configure: failed program was:" >&5 3845 cat conftest.$ac_ext >&5 3846fi 3847rm -f conftest* 3848LIBS="$ac_save_LIBS" --- 6 unchanged lines hidden (view full) --- 3855 cat >> confdefs.h <<\EOF 3856#define YYTEXT_POINTER 1 3857EOF 3858 3859fi 3860 3861 3862echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
3965echo "configure:3966: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 3863echo "configure:3864: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3966 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 3967if test "${enable_maintainer_mode+set}" = set; then 3968 enableval="$enable_maintainer_mode" 3969 USE_MAINTAINER_MODE=$enableval 3970else 3971 USE_MAINTAINER_MODE=no 3972fi 3973 --- 17 unchanged lines hidden (view full) --- 3991 3992 3993 3994 3995for ac_hdr in string.h strings.h stdlib.h unistd.h 3996do 3997ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3998echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3864 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 3865if test "${enable_maintainer_mode+set}" = set; then 3866 enableval="$enable_maintainer_mode" 3867 USE_MAINTAINER_MODE=$enableval 3868else 3869 USE_MAINTAINER_MODE=no 3870fi 3871 --- 17 unchanged lines hidden (view full) --- 3889 3890 3891 3892 3893for ac_hdr in string.h strings.h stdlib.h unistd.h 3894do 3895ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3896echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3999echo "configure:4000: checking for $ac_hdr" >&5 4000if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then | 3897echo "configure:3898: checking for $ac_hdr" >&5 3898if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4001 echo $ac_n "(cached) $ac_c" 1>&6 4002else 4003 cat > conftest.$ac_ext <<EOF | 3899 echo $ac_n "(cached) $ac_c" 1>&6 3900else 3901 cat > conftest.$ac_ext <<EOF |
4004#line 4005 "configure" | 3902#line 3903 "configure" |
4005#include "confdefs.h" 4006#include <$ac_hdr> 4007EOF 4008ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3903#include "confdefs.h" 3904#include <$ac_hdr> 3905EOF 3906ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4009{ (eval echo configure:4010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3907{ (eval echo configure:3908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4010ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4011if test -z "$ac_err"; then 4012 rm -rf conftest* 4013 eval "ac_cv_header_$ac_safe=yes" 4014else 4015 echo "$ac_err" >&5 4016 echo "configure: failed program was:" >&5 4017 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 4030else 4031 echo "$ac_t""no" 1>&6 4032fi 4033done 4034 4035for ac_func in sbrk 4036do 4037echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3908ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3909if test -z "$ac_err"; then 3910 rm -rf conftest* 3911 eval "ac_cv_header_$ac_safe=yes" 3912else 3913 echo "$ac_err" >&5 3914 echo "configure: failed program was:" >&5 3915 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 3928else 3929 echo "$ac_t""no" 1>&6 3930fi 3931done 3932 3933for ac_func in sbrk 3934do 3935echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4038echo "configure:4039: checking for $ac_func" >&5 4039if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then | 3936echo "configure:3937: checking for $ac_func" >&5 3937if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4040 echo $ac_n "(cached) $ac_c" 1>&6 4041else 4042 cat > conftest.$ac_ext <<EOF | 3938 echo $ac_n "(cached) $ac_c" 1>&6 3939else 3940 cat > conftest.$ac_ext <<EOF |
4043#line 4044 "configure" | 3941#line 3942 "configure" |
4044#include "confdefs.h" 4045/* System header to define __stub macros and hopefully few prototypes, 4046 which can conflict with char $ac_func(); below. */ 4047#include <assert.h> 4048/* Override any gcc2 internal prototype to avoid an error. */ 4049/* We use char because int might match the return type of a gcc2 4050 builtin and then its argument prototype would still apply. */ 4051char $ac_func(); | 3942#include "confdefs.h" 3943/* System header to define __stub macros and hopefully few prototypes, 3944 which can conflict with char $ac_func(); below. */ 3945#include <assert.h> 3946/* Override any gcc2 internal prototype to avoid an error. */ 3947/* We use char because int might match the return type of a gcc2 3948 builtin and then its argument prototype would still apply. */ 3949char $ac_func(); |
4052char (*f)(); | |
4053 4054int main() { 4055 4056/* The GNU C library defines this for functions which it implements 4057 to always fail with ENOSYS. Some functions are actually named 4058 something starting with __ and the normal name is an alias. */ 4059#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4060choke me 4061#else | 3950 3951int main() { 3952 3953/* The GNU C library defines this for functions which it implements 3954 to always fail with ENOSYS. Some functions are actually named 3955 something starting with __ and the normal name is an alias. */ 3956#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3957choke me 3958#else |
4062f = $ac_func; | 3959$ac_func(); |
4063#endif 4064 4065; return 0; } 4066EOF | 3960#endif 3961 3962; return 0; } 3963EOF |
4067if { (eval echo configure:4068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3964if { (eval echo configure:3965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4068 rm -rf conftest* 4069 eval "ac_cv_func_$ac_func=yes" 4070else 4071 echo "configure: failed program was:" >&5 4072 cat conftest.$ac_ext >&5 4073 rm -rf conftest* 4074 eval "ac_cv_func_$ac_func=no" 4075fi --- 12 unchanged lines hidden (view full) --- 4088fi 4089done 4090 4091ac_header_dirent=no 4092for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 4093do 4094ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4095echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 3965 rm -rf conftest* 3966 eval "ac_cv_func_$ac_func=yes" 3967else 3968 echo "configure: failed program was:" >&5 3969 cat conftest.$ac_ext >&5 3970 rm -rf conftest* 3971 eval "ac_cv_func_$ac_func=no" 3972fi --- 12 unchanged lines hidden (view full) --- 3985fi 3986done 3987 3988ac_header_dirent=no 3989for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 3990do 3991ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3992echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
4096echo "configure:4097: checking for $ac_hdr that defines DIR" >&5 4097if eval "test \"\${ac_cv_header_dirent_$ac_safe+set}\" = set"; then | 3993echo "configure:3994: checking for $ac_hdr that defines DIR" >&5 3994if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
4098 echo $ac_n "(cached) $ac_c" 1>&6 4099else 4100 cat > conftest.$ac_ext <<EOF | 3995 echo $ac_n "(cached) $ac_c" 1>&6 3996else 3997 cat > conftest.$ac_ext <<EOF |
4101#line 4102 "configure" | 3998#line 3999 "configure" |
4102#include "confdefs.h" 4103#include <sys/types.h> 4104#include <$ac_hdr> 4105int main() { 4106DIR *dirp = 0; 4107; return 0; } 4108EOF | 3999#include "confdefs.h" 4000#include <sys/types.h> 4001#include <$ac_hdr> 4002int main() { 4003DIR *dirp = 0; 4004; return 0; } 4005EOF |
4109if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4006if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4110 rm -rf conftest* 4111 eval "ac_cv_header_dirent_$ac_safe=yes" 4112else 4113 echo "configure: failed program was:" >&5 4114 cat conftest.$ac_ext >&5 4115 rm -rf conftest* 4116 eval "ac_cv_header_dirent_$ac_safe=no" 4117fi --- 8 unchanged lines hidden (view full) --- 4126 ac_header_dirent=$ac_hdr; break 4127else 4128 echo "$ac_t""no" 1>&6 4129fi 4130done 4131# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4132if test $ac_header_dirent = dirent.h; then 4133echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 4007 rm -rf conftest* 4008 eval "ac_cv_header_dirent_$ac_safe=yes" 4009else 4010 echo "configure: failed program was:" >&5 4011 cat conftest.$ac_ext >&5 4012 rm -rf conftest* 4013 eval "ac_cv_header_dirent_$ac_safe=no" 4014fi --- 8 unchanged lines hidden (view full) --- 4023 ac_header_dirent=$ac_hdr; break 4024else 4025 echo "$ac_t""no" 1>&6 4026fi 4027done 4028# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4029if test $ac_header_dirent = dirent.h; then 4030echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
4134echo "configure:4135: checking for opendir in -ldir" >&5 4135ac_lib_var=`echo dir'_'opendir | sed 'y%./+-:%__p__%'` 4136if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then | 4031echo "configure:4032: checking for opendir in -ldir" >&5 4032ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4033if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4137 echo $ac_n "(cached) $ac_c" 1>&6 4138else 4139 ac_save_LIBS="$LIBS" 4140LIBS="-ldir $LIBS" 4141cat > conftest.$ac_ext <<EOF | 4034 echo $ac_n "(cached) $ac_c" 1>&6 4035else 4036 ac_save_LIBS="$LIBS" 4037LIBS="-ldir $LIBS" 4038cat > conftest.$ac_ext <<EOF |
4142#line 4143 "configure" | 4039#line 4040 "configure" |
4143#include "confdefs.h" 4144/* Override any gcc2 internal prototype to avoid an error. */ 4145/* We use char because int might match the return type of a gcc2 4146 builtin and then its argument prototype would still apply. */ 4147char opendir(); 4148 4149int main() { 4150opendir() 4151; return 0; } 4152EOF | 4040#include "confdefs.h" 4041/* Override any gcc2 internal prototype to avoid an error. */ 4042/* We use char because int might match the return type of a gcc2 4043 builtin and then its argument prototype would still apply. */ 4044char opendir(); 4045 4046int main() { 4047opendir() 4048; return 0; } 4049EOF |
4153if { (eval echo configure:4154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4050if { (eval echo configure:4051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4154 rm -rf conftest* 4155 eval "ac_cv_lib_$ac_lib_var=yes" 4156else 4157 echo "configure: failed program was:" >&5 4158 cat conftest.$ac_ext >&5 4159 rm -rf conftest* 4160 eval "ac_cv_lib_$ac_lib_var=no" 4161fi --- 5 unchanged lines hidden (view full) --- 4167 echo "$ac_t""yes" 1>&6 4168 LIBS="$LIBS -ldir" 4169else 4170 echo "$ac_t""no" 1>&6 4171fi 4172 4173else 4174echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 4051 rm -rf conftest* 4052 eval "ac_cv_lib_$ac_lib_var=yes" 4053else 4054 echo "configure: failed program was:" >&5 4055 cat conftest.$ac_ext >&5 4056 rm -rf conftest* 4057 eval "ac_cv_lib_$ac_lib_var=no" 4058fi --- 5 unchanged lines hidden (view full) --- 4064 echo "$ac_t""yes" 1>&6 4065 LIBS="$LIBS -ldir" 4066else 4067 echo "$ac_t""no" 1>&6 4068fi 4069 4070else 4071echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
4175echo "configure:4176: checking for opendir in -lx" >&5 4176ac_lib_var=`echo x'_'opendir | sed 'y%./+-:%__p__%'` 4177if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then | 4072echo "configure:4073: checking for opendir in -lx" >&5 4073ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4074if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4178 echo $ac_n "(cached) $ac_c" 1>&6 4179else 4180 ac_save_LIBS="$LIBS" 4181LIBS="-lx $LIBS" 4182cat > conftest.$ac_ext <<EOF | 4075 echo $ac_n "(cached) $ac_c" 1>&6 4076else 4077 ac_save_LIBS="$LIBS" 4078LIBS="-lx $LIBS" 4079cat > conftest.$ac_ext <<EOF |
4183#line 4184 "configure" | 4080#line 4081 "configure" |
4184#include "confdefs.h" 4185/* Override any gcc2 internal prototype to avoid an error. */ 4186/* We use char because int might match the return type of a gcc2 4187 builtin and then its argument prototype would still apply. */ 4188char opendir(); 4189 4190int main() { 4191opendir() 4192; return 0; } 4193EOF | 4081#include "confdefs.h" 4082/* Override any gcc2 internal prototype to avoid an error. */ 4083/* We use char because int might match the return type of a gcc2 4084 builtin and then its argument prototype would still apply. */ 4085char opendir(); 4086 4087int main() { 4088opendir() 4089; return 0; } 4090EOF |
4194if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4091if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4195 rm -rf conftest* 4196 eval "ac_cv_lib_$ac_lib_var=yes" 4197else 4198 echo "configure: failed program was:" >&5 4199 cat conftest.$ac_ext >&5 4200 rm -rf conftest* 4201 eval "ac_cv_lib_$ac_lib_var=no" 4202fi --- 16 unchanged lines hidden (view full) --- 4219*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 4220 cat >> confdefs.h <<\EOF 4221#define USE_BINARY_FOPEN 1 4222EOF 4223 ;; 4224esac 4225 4226echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 | 4092 rm -rf conftest* 4093 eval "ac_cv_lib_$ac_lib_var=yes" 4094else 4095 echo "configure: failed program was:" >&5 4096 cat conftest.$ac_ext >&5 4097 rm -rf conftest* 4098 eval "ac_cv_lib_$ac_lib_var=no" 4099fi --- 16 unchanged lines hidden (view full) --- 4116*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 4117 cat >> confdefs.h <<\EOF 4118#define USE_BINARY_FOPEN 1 4119EOF 4120 ;; 4121esac 4122 4123echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 |
4227echo "configure:4228: checking whether strstr must be declared" >&5 4228if eval "test \"\${bfd_cv_decl_needed_strstr+set}\" = set"; then | 4124echo "configure:4125: checking whether strstr must be declared" >&5 4125if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then |
4229 echo $ac_n "(cached) $ac_c" 1>&6 4230else 4231 cat > conftest.$ac_ext <<EOF | 4126 echo $ac_n "(cached) $ac_c" 1>&6 4127else 4128 cat > conftest.$ac_ext <<EOF |
4232#line 4233 "configure" | 4129#line 4130 "configure" |
4233#include "confdefs.h" 4234 4235#include <stdio.h> 4236#ifdef HAVE_STRING_H 4237#include <string.h> 4238#else 4239#ifdef HAVE_STRINGS_H 4240#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4245#endif 4246#ifdef HAVE_UNISTD_H 4247#include <unistd.h> 4248#endif 4249int main() { 4250char *(*pfn) = (char *(*)) strstr 4251; return 0; } 4252EOF | 4130#include "confdefs.h" 4131 4132#include <stdio.h> 4133#ifdef HAVE_STRING_H 4134#include <string.h> 4135#else 4136#ifdef HAVE_STRINGS_H 4137#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4142#endif 4143#ifdef HAVE_UNISTD_H 4144#include <unistd.h> 4145#endif 4146int main() { 4147char *(*pfn) = (char *(*)) strstr 4148; return 0; } 4149EOF |
4253if { (eval echo configure:4254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4150if { (eval echo configure:4151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4254 rm -rf conftest* 4255 bfd_cv_decl_needed_strstr=no 4256else 4257 echo "configure: failed program was:" >&5 4258 cat conftest.$ac_ext >&5 4259 rm -rf conftest* 4260 bfd_cv_decl_needed_strstr=yes 4261fi --- 4 unchanged lines hidden (view full) --- 4266if test $bfd_cv_decl_needed_strstr = yes; then 4267 cat >> confdefs.h <<\EOF 4268#define NEED_DECLARATION_STRSTR 1 4269EOF 4270 4271fi 4272 4273echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 | 4151 rm -rf conftest* 4152 bfd_cv_decl_needed_strstr=no 4153else 4154 echo "configure: failed program was:" >&5 4155 cat conftest.$ac_ext >&5 4156 rm -rf conftest* 4157 bfd_cv_decl_needed_strstr=yes 4158fi --- 4 unchanged lines hidden (view full) --- 4163if test $bfd_cv_decl_needed_strstr = yes; then 4164 cat >> confdefs.h <<\EOF 4165#define NEED_DECLARATION_STRSTR 1 4166EOF 4167 4168fi 4169 4170echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 |
4274echo "configure:4275: checking whether free must be declared" >&5 4275if eval "test \"\${bfd_cv_decl_needed_free+set}\" = set"; then | 4171echo "configure:4172: checking whether free must be declared" >&5 4172if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then |
4276 echo $ac_n "(cached) $ac_c" 1>&6 4277else 4278 cat > conftest.$ac_ext <<EOF | 4173 echo $ac_n "(cached) $ac_c" 1>&6 4174else 4175 cat > conftest.$ac_ext <<EOF |
4279#line 4280 "configure" | 4176#line 4177 "configure" |
4280#include "confdefs.h" 4281 4282#include <stdio.h> 4283#ifdef HAVE_STRING_H 4284#include <string.h> 4285#else 4286#ifdef HAVE_STRINGS_H 4287#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4292#endif 4293#ifdef HAVE_UNISTD_H 4294#include <unistd.h> 4295#endif 4296int main() { 4297char *(*pfn) = (char *(*)) free 4298; return 0; } 4299EOF | 4177#include "confdefs.h" 4178 4179#include <stdio.h> 4180#ifdef HAVE_STRING_H 4181#include <string.h> 4182#else 4183#ifdef HAVE_STRINGS_H 4184#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4189#endif 4190#ifdef HAVE_UNISTD_H 4191#include <unistd.h> 4192#endif 4193int main() { 4194char *(*pfn) = (char *(*)) free 4195; return 0; } 4196EOF |
4300if { (eval echo configure:4301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4197if { (eval echo configure:4198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4301 rm -rf conftest* 4302 bfd_cv_decl_needed_free=no 4303else 4304 echo "configure: failed program was:" >&5 4305 cat conftest.$ac_ext >&5 4306 rm -rf conftest* 4307 bfd_cv_decl_needed_free=yes 4308fi --- 4 unchanged lines hidden (view full) --- 4313if test $bfd_cv_decl_needed_free = yes; then 4314 cat >> confdefs.h <<\EOF 4315#define NEED_DECLARATION_FREE 1 4316EOF 4317 4318fi 4319 4320echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 | 4198 rm -rf conftest* 4199 bfd_cv_decl_needed_free=no 4200else 4201 echo "configure: failed program was:" >&5 4202 cat conftest.$ac_ext >&5 4203 rm -rf conftest* 4204 bfd_cv_decl_needed_free=yes 4205fi --- 4 unchanged lines hidden (view full) --- 4210if test $bfd_cv_decl_needed_free = yes; then 4211 cat >> confdefs.h <<\EOF 4212#define NEED_DECLARATION_FREE 1 4213EOF 4214 4215fi 4216 4217echo $ac_n "checking whether sbrk must be declared""... $ac_c" 1>&6 |
4321echo "configure:4322: checking whether sbrk must be declared" >&5 4322if eval "test \"\${bfd_cv_decl_needed_sbrk+set}\" = set"; then | 4218echo "configure:4219: checking whether sbrk must be declared" >&5 4219if eval "test \"`echo '$''{'bfd_cv_decl_needed_sbrk'+set}'`\" = set"; then |
4323 echo $ac_n "(cached) $ac_c" 1>&6 4324else 4325 cat > conftest.$ac_ext <<EOF | 4220 echo $ac_n "(cached) $ac_c" 1>&6 4221else 4222 cat > conftest.$ac_ext <<EOF |
4326#line 4327 "configure" | 4223#line 4224 "configure" |
4327#include "confdefs.h" 4328 4329#include <stdio.h> 4330#ifdef HAVE_STRING_H 4331#include <string.h> 4332#else 4333#ifdef HAVE_STRINGS_H 4334#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4339#endif 4340#ifdef HAVE_UNISTD_H 4341#include <unistd.h> 4342#endif 4343int main() { 4344char *(*pfn) = (char *(*)) sbrk 4345; return 0; } 4346EOF | 4224#include "confdefs.h" 4225 4226#include <stdio.h> 4227#ifdef HAVE_STRING_H 4228#include <string.h> 4229#else 4230#ifdef HAVE_STRINGS_H 4231#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4236#endif 4237#ifdef HAVE_UNISTD_H 4238#include <unistd.h> 4239#endif 4240int main() { 4241char *(*pfn) = (char *(*)) sbrk 4242; return 0; } 4243EOF |
4347if { (eval echo configure:4348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4244if { (eval echo configure:4245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4348 rm -rf conftest* 4349 bfd_cv_decl_needed_sbrk=no 4350else 4351 echo "configure: failed program was:" >&5 4352 cat conftest.$ac_ext >&5 4353 rm -rf conftest* 4354 bfd_cv_decl_needed_sbrk=yes 4355fi --- 4 unchanged lines hidden (view full) --- 4360if test $bfd_cv_decl_needed_sbrk = yes; then 4361 cat >> confdefs.h <<\EOF 4362#define NEED_DECLARATION_SBRK 1 4363EOF 4364 4365fi 4366 4367echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 | 4245 rm -rf conftest* 4246 bfd_cv_decl_needed_sbrk=no 4247else 4248 echo "configure: failed program was:" >&5 4249 cat conftest.$ac_ext >&5 4250 rm -rf conftest* 4251 bfd_cv_decl_needed_sbrk=yes 4252fi --- 4 unchanged lines hidden (view full) --- 4257if test $bfd_cv_decl_needed_sbrk = yes; then 4258 cat >> confdefs.h <<\EOF 4259#define NEED_DECLARATION_SBRK 1 4260EOF 4261 4262fi 4263 4264echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 |
4368echo "configure:4369: checking whether getenv must be declared" >&5 4369if eval "test \"\${bfd_cv_decl_needed_getenv+set}\" = set"; then | 4265echo "configure:4266: checking whether getenv must be declared" >&5 4266if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then |
4370 echo $ac_n "(cached) $ac_c" 1>&6 4371else 4372 cat > conftest.$ac_ext <<EOF | 4267 echo $ac_n "(cached) $ac_c" 1>&6 4268else 4269 cat > conftest.$ac_ext <<EOF |
4373#line 4374 "configure" | 4270#line 4271 "configure" |
4374#include "confdefs.h" 4375 4376#include <stdio.h> 4377#ifdef HAVE_STRING_H 4378#include <string.h> 4379#else 4380#ifdef HAVE_STRINGS_H 4381#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4386#endif 4387#ifdef HAVE_UNISTD_H 4388#include <unistd.h> 4389#endif 4390int main() { 4391char *(*pfn) = (char *(*)) getenv 4392; return 0; } 4393EOF | 4271#include "confdefs.h" 4272 4273#include <stdio.h> 4274#ifdef HAVE_STRING_H 4275#include <string.h> 4276#else 4277#ifdef HAVE_STRINGS_H 4278#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4283#endif 4284#ifdef HAVE_UNISTD_H 4285#include <unistd.h> 4286#endif 4287int main() { 4288char *(*pfn) = (char *(*)) getenv 4289; return 0; } 4290EOF |
4394if { (eval echo configure:4395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4291if { (eval echo configure:4292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4395 rm -rf conftest* 4396 bfd_cv_decl_needed_getenv=no 4397else 4398 echo "configure: failed program was:" >&5 4399 cat conftest.$ac_ext >&5 4400 rm -rf conftest* 4401 bfd_cv_decl_needed_getenv=yes 4402fi --- 4 unchanged lines hidden (view full) --- 4407if test $bfd_cv_decl_needed_getenv = yes; then 4408 cat >> confdefs.h <<\EOF 4409#define NEED_DECLARATION_GETENV 1 4410EOF 4411 4412fi 4413 4414echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 | 4292 rm -rf conftest* 4293 bfd_cv_decl_needed_getenv=no 4294else 4295 echo "configure: failed program was:" >&5 4296 cat conftest.$ac_ext >&5 4297 rm -rf conftest* 4298 bfd_cv_decl_needed_getenv=yes 4299fi --- 4 unchanged lines hidden (view full) --- 4304if test $bfd_cv_decl_needed_getenv = yes; then 4305 cat >> confdefs.h <<\EOF 4306#define NEED_DECLARATION_GETENV 1 4307EOF 4308 4309fi 4310 4311echo $ac_n "checking whether environ must be declared""... $ac_c" 1>&6 |
4415echo "configure:4416: checking whether environ must be declared" >&5 4416if eval "test \"\${bfd_cv_decl_needed_environ+set}\" = set"; then | 4312echo "configure:4313: checking whether environ must be declared" >&5 4313if eval "test \"`echo '$''{'bfd_cv_decl_needed_environ'+set}'`\" = set"; then |
4417 echo $ac_n "(cached) $ac_c" 1>&6 4418else 4419 cat > conftest.$ac_ext <<EOF | 4314 echo $ac_n "(cached) $ac_c" 1>&6 4315else 4316 cat > conftest.$ac_ext <<EOF |
4420#line 4421 "configure" | 4317#line 4318 "configure" |
4421#include "confdefs.h" 4422 4423#include <stdio.h> 4424#ifdef HAVE_STRING_H 4425#include <string.h> 4426#else 4427#ifdef HAVE_STRINGS_H 4428#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4433#endif 4434#ifdef HAVE_UNISTD_H 4435#include <unistd.h> 4436#endif 4437int main() { 4438char *(*pfn) = (char *(*)) environ 4439; return 0; } 4440EOF | 4318#include "confdefs.h" 4319 4320#include <stdio.h> 4321#ifdef HAVE_STRING_H 4322#include <string.h> 4323#else 4324#ifdef HAVE_STRINGS_H 4325#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4330#endif 4331#ifdef HAVE_UNISTD_H 4332#include <unistd.h> 4333#endif 4334int main() { 4335char *(*pfn) = (char *(*)) environ 4336; return 0; } 4337EOF |
4441if { (eval echo configure:4442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4338if { (eval echo configure:4339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4442 rm -rf conftest* 4443 bfd_cv_decl_needed_environ=no 4444else 4445 echo "configure: failed program was:" >&5 4446 cat conftest.$ac_ext >&5 4447 rm -rf conftest* 4448 bfd_cv_decl_needed_environ=yes 4449fi --- 11 unchanged lines hidden (view full) --- 4461 4462# When converting linker scripts into strings for use in emulation 4463# files, use astring.sed if the compiler supports ANSI string 4464# concatenation, or ostring.sed otherwise. This is to support the 4465# broken Microsoft MSVC compiler, which limits the length of string 4466# constants, while still supporting pre-ANSI compilers which do not 4467# support string concatenation. 4468echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 | 4339 rm -rf conftest* 4340 bfd_cv_decl_needed_environ=no 4341else 4342 echo "configure: failed program was:" >&5 4343 cat conftest.$ac_ext >&5 4344 rm -rf conftest* 4345 bfd_cv_decl_needed_environ=yes 4346fi --- 11 unchanged lines hidden (view full) --- 4358 4359# When converting linker scripts into strings for use in emulation 4360# files, use astring.sed if the compiler supports ANSI string 4361# concatenation, or ostring.sed otherwise. This is to support the 4362# broken Microsoft MSVC compiler, which limits the length of string 4363# constants, while still supporting pre-ANSI compilers which do not 4364# support string concatenation. 4365echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 |
4469echo "configure:4470: checking whether ANSI C string concatenation works" >&5 4470if eval "test \"\${ld_cv_string_concatenation+set}\" = set"; then | 4366echo "configure:4367: checking whether ANSI C string concatenation works" >&5 4367if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then |
4471 echo $ac_n "(cached) $ac_c" 1>&6 4472else 4473 cat > conftest.$ac_ext <<EOF | 4368 echo $ac_n "(cached) $ac_c" 1>&6 4369else 4370 cat > conftest.$ac_ext <<EOF |
4474#line 4475 "configure" | 4371#line 4372 "configure" |
4475#include "confdefs.h" 4476 4477int main() { 4478char *a = "a" "a"; 4479; return 0; } 4480EOF | 4372#include "confdefs.h" 4373 4374int main() { 4375char *a = "a" "a"; 4376; return 0; } 4377EOF |
4481if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4378if { (eval echo configure:4379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4482 rm -rf conftest* 4483 ld_cv_string_concatenation=yes 4484else 4485 echo "configure: failed program was:" >&5 4486 cat conftest.$ac_ext >&5 4487 rm -rf conftest* 4488 ld_cv_string_concatenation=no 4489fi --- 199 unchanged lines hidden (view full) --- 4689ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 4690for ac_option 4691do 4692 case "\$ac_option" in 4693 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4694 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 4695 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4696 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 4379 rm -rf conftest* 4380 ld_cv_string_concatenation=yes 4381else 4382 echo "configure: failed program was:" >&5 4383 cat conftest.$ac_ext >&5 4384 rm -rf conftest* 4385 ld_cv_string_concatenation=no 4386fi --- 199 unchanged lines hidden (view full) --- 4586ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 4587for ac_option 4588do 4589 case "\$ac_option" in 4590 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4591 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 4592 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 4593 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
4697 echo "$CONFIG_STATUS generated by autoconf version 2.13.1" | 4594 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
4698 exit 0 ;; 4699 -help | --help | --hel | --he | --h) 4700 echo "\$ac_cs_usage"; exit 0 ;; 4701 *) echo "\$ac_cs_usage"; exit 1 ;; 4702 esac 4703done 4704 4705ac_given_srcdir=$srcdir --- 317 unchanged lines hidden (view full) --- 5023EOF 5024cat >> $CONFIG_STATUS <<\EOF 5025test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 5026sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile 5027exit 0 5028EOF 5029chmod +x $CONFIG_STATUS 5030rm -fr confdefs* $ac_clean_files | 4595 exit 0 ;; 4596 -help | --help | --hel | --he | --h) 4597 echo "\$ac_cs_usage"; exit 0 ;; 4598 *) echo "\$ac_cs_usage"; exit 1 ;; 4599 esac 4600done 4601 4602ac_given_srcdir=$srcdir --- 317 unchanged lines hidden (view full) --- 4920EOF 4921cat >> $CONFIG_STATUS <<\EOF 4922test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 4923sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile 4924exit 0 4925EOF 4926chmod +x $CONFIG_STATUS 4927rm -fr confdefs* $ac_clean_files |
5031test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1 | 4928test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
5032 | 4929 |