comparison lto-plugin/configure @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
600 ac_subst_vars='am__EXEEXT_FALSE 600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE 601 am__EXEEXT_TRUE
602 LTLIBOBJS 602 LTLIBOBJS
603 LIBOBJS 603 LIBOBJS
604 target_noncanonical 604 target_noncanonical
605 lt_host_flags
605 CPP 606 CPP
606 OTOOL64 607 OTOOL64
607 OTOOL 608 OTOOL
608 LIPO 609 LIPO
609 NMEDIT 610 NMEDIT
618 LD 619 LD
619 FGREP 620 FGREP
620 EGREP 621 EGREP
621 GREP 622 GREP
622 SED 623 SED
623 host_os
624 host_vendor
625 host_cpu
626 host
627 LIBTOOL 624 LIBTOOL
628 LIBELFINC
629 LIBELFLIBS
630 am__fastdepCC_FALSE 625 am__fastdepCC_FALSE
631 am__fastdepCC_TRUE 626 am__fastdepCC_TRUE
632 CCDEPMODE 627 CCDEPMODE
633 AMDEPBACKSLASH 628 AMDEPBACKSLASH
634 AMDEP_FALSE 629 AMDEP_FALSE
671 INSTALL_PROGRAM 666 INSTALL_PROGRAM
672 target_subdir 667 target_subdir
673 host_subdir 668 host_subdir
674 build_subdir 669 build_subdir
675 build_libsubdir 670 build_libsubdir
671 target_os
672 target_vendor
673 target_cpu
674 target
675 host_os
676 host_vendor
677 host_cpu
678 host
676 build_os 679 build_os
677 build_vendor 680 build_vendor
678 build_cpu 681 build_cpu
679 build 682 build
680 target_alias 683 target_alias
735 CC 738 CC
736 CFLAGS 739 CFLAGS
737 LDFLAGS 740 LDFLAGS
738 LIBS 741 LIBS
739 CPPFLAGS 742 CPPFLAGS
740 LIBELFLIBS
741 LIBELFINC
742 CPP' 743 CPP'
743 744
744 745
745 # Initialize some variables set by options. 746 # Initialize some variables set by options.
746 ac_init_help= 747 ac_init_help=
1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1345 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1345 1346
1346 System types: 1347 System types:
1347 --build=BUILD configure for building on BUILD [guessed] 1348 --build=BUILD configure for building on BUILD [guessed]
1348 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1349 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1350 --target=TARGET configure for building compilers for TARGET [HOST]
1349 _ACEOF 1351 _ACEOF
1350 fi 1352 fi
1351 1353
1352 if test -n "$ac_init_help"; then 1354 if test -n "$ac_init_help"; then
1353 case $ac_init_help in 1355 case $ac_init_help in
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir> 1387 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library> 1388 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir> 1390 you have headers in a nonstandard directory <include dir>
1389 LIBELFLIBS How to link libelf
1390 LIBELFINC How to find libelf include files
1391 CPP C preprocessor 1391 CPP C preprocessor
1392 1392
1393 Use these variables to override the choices made by `configure' or to help 1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations. 1394 it to find libraries and programs with nonstandard names/locations.
1395 1395
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 $as_echo "$ac_res" >&6; } 1729 $as_echo "$ac_res" >&6; }
1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 1731
1732 } # ac_fn_c_check_func 1732 } # ac_fn_c_check_func
1733
1734 # ac_fn_c_find_intX_t LINENO BITS VAR
1735 # -----------------------------------
1736 # Finds a signed integer type with width BITS, setting cache variable VAR
1737 # accordingly.
1738 ac_fn_c_find_intX_t ()
1739 {
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1742 $as_echo_n "checking for int$2_t... " >&6; }
1743 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1744 $as_echo_n "(cached) " >&6
1745 else
1746 eval "$3=no"
1747 for ac_type in int$2_t 'int' 'long int' \
1748 'long long int' 'short int' 'signed char'; do
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1751 $ac_includes_default
1752 int
1753 main ()
1754 {
1755 static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1))];
1756 test_array [0] = 0
1757
1758 ;
1759 return 0;
1760 }
1761 _ACEOF
1762 if ac_fn_c_try_compile "$LINENO"; then :
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1765 $ac_includes_default
1766 int
1767 main ()
1768 {
1769 static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 1)
1770 < ($ac_type) (((($ac_type) 1 << ($2 - 2)) - 1) * 2 + 2))];
1771 test_array [0] = 0
1772
1773 ;
1774 return 0;
1775 }
1776 _ACEOF
1777 if ac_fn_c_try_compile "$LINENO"; then :
1778
1779 else
1780 case $ac_type in #(
1781 int$2_t) :
1782 eval "$3=yes" ;; #(
1783 *) :
1784 eval "$3=\$ac_type" ;;
1785 esac
1786 fi
1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1788 fi
1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1790 eval as_val=\$$3
1791 if test "x$as_val" = x""no; then :
1792
1793 else
1794 break
1795 fi
1796 done
1797 fi
1798 eval ac_res=\$$3
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1800 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802
1803 } # ac_fn_c_find_intX_t
1733 1804
1734 # ac_fn_c_find_uintX_t LINENO BITS VAR 1805 # ac_fn_c_find_uintX_t LINENO BITS VAR
1735 # ------------------------------------ 1806 # ------------------------------------
1736 # Finds an unsigned integer type with width BITS, setting cache variable VAR 1807 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1737 # accordingly. 1808 # accordingly.
2195 build_os=$* 2266 build_os=$*
2196 IFS=$ac_save_IFS 2267 IFS=$ac_save_IFS
2197 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2268 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2198 2269
2199 2270
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2272 $as_echo_n "checking host system type... " >&6; }
2273 if test "${ac_cv_host+set}" = set; then :
2274 $as_echo_n "(cached) " >&6
2275 else
2276 if test "x$host_alias" = x; then
2277 ac_cv_host=$ac_cv_build
2278 else
2279 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2280 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2281 fi
2282
2283 fi
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2285 $as_echo "$ac_cv_host" >&6; }
2286 case $ac_cv_host in
2287 *-*-*) ;;
2288 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2289 esac
2290 host=$ac_cv_host
2291 ac_save_IFS=$IFS; IFS='-'
2292 set x $ac_cv_host
2293 shift
2294 host_cpu=$1
2295 host_vendor=$2
2296 shift; shift
2297 # Remember, the first character of IFS is used to create $*,
2298 # except with old shells:
2299 host_os=$*
2300 IFS=$ac_save_IFS
2301 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2302
2303
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2305 $as_echo_n "checking target system type... " >&6; }
2306 if test "${ac_cv_target+set}" = set; then :
2307 $as_echo_n "(cached) " >&6
2308 else
2309 if test "x$target_alias" = x; then
2310 ac_cv_target=$ac_cv_host
2311 else
2312 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2313 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2314 fi
2315
2316 fi
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2318 $as_echo "$ac_cv_target" >&6; }
2319 case $ac_cv_target in
2320 *-*-*) ;;
2321 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2322 esac
2323 target=$ac_cv_target
2324 ac_save_IFS=$IFS; IFS='-'
2325 set x $ac_cv_target
2326 shift
2327 target_cpu=$1
2328 target_vendor=$2
2329 shift; shift
2330 # Remember, the first character of IFS is used to create $*,
2331 # except with old shells:
2332 target_os=$*
2333 IFS=$ac_save_IFS
2334 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2335
2336
2337 # The aliases save the names the user supplied, while $host etc.
2338 # will get canonicalized.
2339 test -n "$target_alias" &&
2340 test "$program_prefix$program_suffix$program_transform_name" = \
2341 NONENONEs,x,x, &&
2342 program_prefix=${target_alias}-
2343
2200 case ${build_alias} in 2344 case ${build_alias} in
2201 "") build_noncanonical=${build} ;; 2345 "") build_noncanonical=${build} ;;
2202 *) build_noncanonical=${build_alias} ;; 2346 *) build_noncanonical=${build_alias} ;;
2203 esac 2347 esac
2204 2348
3894 esac 4038 esac
3895 rm -rf conftest* 4039 rm -rf conftest*
3896 fi 4040 fi
3897 fi 4041 fi
3898 4042
3899
3900
3901 case `pwd` in 4043 case `pwd` in
3902 *\ * | *\ *) 4044 *\ * | *\ *)
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3904 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4046 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3905 esac 4047 esac
3920 4062
3921 4063
3922 4064
3923 4065
3924 ltmain="$ac_aux_dir/ltmain.sh" 4066 ltmain="$ac_aux_dir/ltmain.sh"
3925
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3927 $as_echo_n "checking host system type... " >&6; }
3928 if test "${ac_cv_host+set}" = set; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 if test "x$host_alias" = x; then
3932 ac_cv_host=$ac_cv_build
3933 else
3934 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3935 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3936 fi
3937
3938 fi
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3940 $as_echo "$ac_cv_host" >&6; }
3941 case $ac_cv_host in
3942 *-*-*) ;;
3943 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3944 esac
3945 host=$ac_cv_host
3946 ac_save_IFS=$IFS; IFS='-'
3947 set x $ac_cv_host
3948 shift
3949 host_cpu=$1
3950 host_vendor=$2
3951 shift; shift
3952 # Remember, the first character of IFS is used to create $*,
3953 # except with old shells:
3954 host_os=$*
3955 IFS=$ac_save_IFS
3956 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3957
3958 4067
3959 # Backslashify metacharacters that are still active within 4068 # Backslashify metacharacters that are still active within
3960 # double-quoted strings. 4069 # double-quoted strings.
3961 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4070 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3962 4071
8608 8717
8609 dgux*) 8718 dgux*)
8610 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8611 hardcode_libdir_flag_spec='-L$libdir' 8720 hardcode_libdir_flag_spec='-L$libdir'
8612 hardcode_shlibpath_var=no 8721 hardcode_shlibpath_var=no
8613 ;;
8614
8615 freebsd1*)
8616 ld_shlibs=no
8617 ;; 8722 ;;
8618 8723
8619 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8724 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8620 # support. Future versions do this automatically, but an explicit c++rt0.o 8725 # support. Future versions do this automatically, but an explicit c++rt0.o
8621 # does not break anything, and helps significantly (at the cost of a little 8726 # does not break anything, and helps significantly (at the cost of a little
9532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9533 soname_spec='${libname}${release}${shared_ext}$major' 9638 soname_spec='${libname}${release}${shared_ext}$major'
9534 shlibpath_var=LD_LIBRARY_PATH 9639 shlibpath_var=LD_LIBRARY_PATH
9535 ;; 9640 ;;
9536 9641
9537 freebsd1*)
9538 dynamic_linker=no
9539 ;;
9540
9541 freebsd* | dragonfly*) 9642 freebsd* | dragonfly*)
9542 # DragonFly does not have aout. When/if they implement a new 9643 # DragonFly does not have aout. When/if they implement a new
9543 # versioning mechanism, adjust this. 9644 # versioning mechanism, adjust this.
9544 if test -x /usr/bin/objformat; then 9645 if test -x /usr/bin/objformat; then
9545 objformat=`/usr/bin/objformat` 9646 objformat=`/usr/bin/objformat`
10395 lt_cv_dlopen_self=cross 10496 lt_cv_dlopen_self=cross
10396 else 10497 else
10397 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10498 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10398 lt_status=$lt_dlunknown 10499 lt_status=$lt_dlunknown
10399 cat > conftest.$ac_ext <<_LT_EOF 10500 cat > conftest.$ac_ext <<_LT_EOF
10400 #line 10400 "configure" 10501 #line 10501 "configure"
10401 #include "confdefs.h" 10502 #include "confdefs.h"
10402 10503
10403 #if HAVE_DLFCN_H 10504 #if HAVE_DLFCN_H
10404 #include <dlfcn.h> 10505 #include <dlfcn.h>
10405 #endif 10506 #endif
10501 lt_cv_dlopen_self_static=cross 10602 lt_cv_dlopen_self_static=cross
10502 else 10603 else
10503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10604 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10504 lt_status=$lt_dlunknown 10605 lt_status=$lt_dlunknown
10505 cat > conftest.$ac_ext <<_LT_EOF 10606 cat > conftest.$ac_ext <<_LT_EOF
10506 #line 10506 "configure" 10607 #line 10607 "configure"
10507 #include "confdefs.h" 10608 #include "confdefs.h"
10508 10609
10509 #if HAVE_DLFCN_H 10610 #if HAVE_DLFCN_H
10510 #include <dlfcn.h> 10611 #include <dlfcn.h>
10511 #endif 10612 #endif
10739 10840
10740 # Only expand once: 10841 # Only expand once:
10741 10842
10742 10843
10743 10844
10845
10846
10847 case $host in
10848 *-cygwin* | *-mingw*)
10849 # 'host' will be top-level target in the case of a target lib,
10850 # we must compare to with_cross_host to decide if this is a native
10851 # or cross-compiler and select where to install dlls appropriately.
10852 if test -n "$with_cross_host" &&
10853 test x"$with_cross_host" != x"no"; then
10854 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
10855 else
10856 lt_host_flags='-no-undefined -bindir "$(bindir)"';
10857 fi
10858 ;;
10859 *)
10860 lt_host_flags=
10861 ;;
10862 esac
10863
10864
10865
10866
10867 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
10868 case $ac_cv_c_int64_t in #(
10869 no|yes) ;; #(
10870 *)
10871
10872 cat >>confdefs.h <<_ACEOF
10873 #define int64_t $ac_cv_c_int64_t
10874 _ACEOF
10875 ;;
10876 esac
10877
10744 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 10878 ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
10745 case $ac_cv_c_uint64_t in #( 10879 case $ac_cv_c_uint64_t in #(
10746 no|yes) ;; #( 10880 no|yes) ;; #(
10747 *) 10881 *)
10748 10882
10753 #define uint64_t $ac_cv_c_uint64_t 10887 #define uint64_t $ac_cv_c_uint64_t
10754 _ACEOF 10888 _ACEOF
10755 ;; 10889 ;;
10756 esac 10890 esac
10757 10891
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
10893 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
10894 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
10895 $as_echo_n "(cached) " >&6
10896 else
10897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10898 /* end confdefs.h. */
10899 #include <sys/types.h>
10900 #include <sys/wait.h>
10901 #ifndef WEXITSTATUS
10902 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
10903 #endif
10904 #ifndef WIFEXITED
10905 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10906 #endif
10907
10908 int
10909 main ()
10910 {
10911 int s;
10912 wait (&s);
10913 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10914 ;
10915 return 0;
10916 }
10917 _ACEOF
10918 if ac_fn_c_try_compile "$LINENO"; then :
10919 ac_cv_header_sys_wait_h=yes
10920 else
10921 ac_cv_header_sys_wait_h=no
10922 fi
10923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10924 fi
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
10926 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
10927 if test $ac_cv_header_sys_wait_h = yes; then
10928
10929 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
10930
10931 fi
10932
10758 ac_config_files="$ac_config_files Makefile" 10933 ac_config_files="$ac_config_files Makefile"
10934
10935 ac_config_headers="$ac_config_headers config.h"
10759 10936
10760 cat >confcache <<\_ACEOF 10937 cat >confcache <<\_ACEOF
10761 # This file is a shell script that caches the results of configure 10938 # This file is a shell script that caches the results of configure
10762 # tests run on this system so they can be shared between configure 10939 # tests run on this system so they can be shared between configure
10763 # scripts and configure runs, see configure's option --config-cache. 10940 # scripts and configure runs, see configure's option --config-cache.
10834 11011
10835 test "x$prefix" = xNONE && prefix=$ac_default_prefix 11012 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10836 # Let make expand exec_prefix. 11013 # Let make expand exec_prefix.
10837 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11014 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10838 11015
10839 # Transform confdefs.h into DEFS. 11016 DEFS=-DHAVE_CONFIG_H
10840 # Protect against shell expansion while executing Makefile rules.
10841 # Protect against Makefile macro expansion.
10842 #
10843 # If the first sed substitution is executed (which looks for macros that
10844 # take arguments), then branch to the quote section. Otherwise,
10845 # look for a macro that doesn't take arguments.
10846 ac_script='
10847 :mline
10848 /\\$/{
10849 N
10850 s,\\\n,,
10851 b mline
10852 }
10853 t clear
10854 :clear
10855 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
10856 t quote
10857 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
10858 t quote
10859 b any
10860 :quote
10861 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
10862 s/\[/\\&/g
10863 s/\]/\\&/g
10864 s/\$/$$/g
10865 H
10866 :any
10867 ${
10868 g
10869 s/^\n//
10870 s/\n/ /g
10871 p
10872 }
10873 '
10874 DEFS=`sed -n "$ac_script" confdefs.h`
10875
10876 11017
10877 ac_libobjs= 11018 ac_libobjs=
10878 ac_ltlibobjs= 11019 ac_ltlibobjs=
10879 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11020 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10880 # 1. Remove the extension, and $U if already installed. 11021 # 1. Remove the extension, and $U if already installed.
11334 11475
11335 case $ac_config_files in *" 11476 case $ac_config_files in *"
11336 "*) set x $ac_config_files; shift; ac_config_files=$*;; 11477 "*) set x $ac_config_files; shift; ac_config_files=$*;;
11337 esac 11478 esac
11338 11479
11480 case $ac_config_headers in *"
11481 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11482 esac
11339 11483
11340 11484
11341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11342 # Files that config.status was made for. 11486 # Files that config.status was made for.
11343 config_files="$ac_config_files" 11487 config_files="$ac_config_files"
11488 config_headers="$ac_config_headers"
11344 config_commands="$ac_config_commands" 11489 config_commands="$ac_config_commands"
11345 11490
11346 _ACEOF 11491 _ACEOF
11347 11492
11348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11359 do not print progress messages 11504 do not print progress messages
11360 -d, --debug don't remove temporary files 11505 -d, --debug don't remove temporary files
11361 --recheck update $as_me by reconfiguring in the same conditions 11506 --recheck update $as_me by reconfiguring in the same conditions
11362 --file=FILE[:TEMPLATE] 11507 --file=FILE[:TEMPLATE]
11363 instantiate the configuration file FILE 11508 instantiate the configuration file FILE
11509 --header=FILE[:TEMPLATE]
11510 instantiate the configuration header FILE
11364 11511
11365 Configuration files: 11512 Configuration files:
11366 $config_files 11513 $config_files
11514
11515 Configuration headers:
11516 $config_headers
11367 11517
11368 Configuration commands: 11518 Configuration commands:
11369 $config_commands 11519 $config_commands
11370 11520
11371 Report bugs to the package provider." 11521 Report bugs to the package provider."
11420 case $ac_optarg in 11570 case $ac_optarg in
11421 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11571 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11422 esac 11572 esac
11423 as_fn_append CONFIG_FILES " '$ac_optarg'" 11573 as_fn_append CONFIG_FILES " '$ac_optarg'"
11424 ac_need_defaults=false;; 11574 ac_need_defaults=false;;
11425 --he | --h | --help | --hel | -h ) 11575 --header | --heade | --head | --hea )
11576 $ac_shift
11577 case $ac_optarg in
11578 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11579 esac
11580 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
11581 ac_need_defaults=false;;
11582 --he | --h)
11583 # Conflict between --help and --header
11584 as_fn_error "ambiguous option: \`$1'
11585 Try \`$0 --help' for more information.";;
11586 --help | --hel | -h )
11426 $as_echo "$ac_cs_usage"; exit ;; 11587 $as_echo "$ac_cs_usage"; exit ;;
11427 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11428 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11589 | -silent | --silent | --silen | --sile | --sil | --si | --s)
11429 ac_cs_silent=: ;; 11590 ac_cs_silent=: ;;
11430 11591
11744 do 11905 do
11745 case $ac_config_target in 11906 case $ac_config_target in
11746 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 11907 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11747 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 11908 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11748 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 11909 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11910 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11749 11911
11750 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 11912 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11751 esac 11913 esac
11752 done 11914 done
11753 11915
11756 # then the envvar interface is used. Set only those that are not. 11918 # then the envvar interface is used. Set only those that are not.
11757 # We use the long form for the default assignment because of an extremely 11919 # We use the long form for the default assignment because of an extremely
11758 # bizarre bug on SunOS 4.1.3. 11920 # bizarre bug on SunOS 4.1.3.
11759 if $ac_need_defaults; then 11921 if $ac_need_defaults; then
11760 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 11922 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11923 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 11924 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11762 fi 11925 fi
11763 11926
11764 # Have a temporary directory for convenience. Make it in the build tree 11927 # Have a temporary directory for convenience. Make it in the build tree
11765 # simply because there is no reason against having it here, and in addition, 11928 # simply because there is no reason against having it here, and in addition,
11934 fi 12097 fi
11935 12098
11936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11937 fi # test -n "$CONFIG_FILES" 12100 fi # test -n "$CONFIG_FILES"
11938 12101
11939 12102 # Set up the scripts for CONFIG_HEADERS section.
11940 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 12103 # No need to generate them if there are no CONFIG_HEADERS.
12104 # This happens for instance with `./config.status Makefile'.
12105 if test -n "$CONFIG_HEADERS"; then
12106 cat >"$tmp/defines.awk" <<\_ACAWK ||
12107 BEGIN {
12108 _ACEOF
12109
12110 # Transform confdefs.h into an awk script `defines.awk', embedded as
12111 # here-document in config.status, that substitutes the proper values into
12112 # config.h.in to produce config.h.
12113
12114 # Create a delimiter string that does not exist in confdefs.h, to ease
12115 # handling of long lines.
12116 ac_delim='%!_!# '
12117 for ac_last_try in false false :; do
12118 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12119 if test -z "$ac_t"; then
12120 break
12121 elif $ac_last_try; then
12122 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
12123 else
12124 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12125 fi
12126 done
12127
12128 # For the awk script, D is an array of macro values keyed by name,
12129 # likewise P contains macro parameters if any. Preserve backslash
12130 # newline sequences.
12131
12132 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12133 sed -n '
12134 s/.\{148\}/&'"$ac_delim"'/g
12135 t rset
12136 :rset
12137 s/^[ ]*#[ ]*define[ ][ ]*/ /
12138 t def
12139 d
12140 :def
12141 s/\\$//
12142 t bsnl
12143 s/["\\]/\\&/g
12144 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12145 D["\1"]=" \3"/p
12146 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12147 d
12148 :bsnl
12149 s/["\\]/\\&/g
12150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12151 D["\1"]=" \3\\\\\\n"\\/p
12152 t cont
12153 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12154 t cont
12155 d
12156 :cont
12157 n
12158 s/.\{148\}/&'"$ac_delim"'/g
12159 t clear
12160 :clear
12161 s/\\$//
12162 t bsnlc
12163 s/["\\]/\\&/g; s/^/"/; s/$/"/p
12164 d
12165 :bsnlc
12166 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12167 b cont
12168 ' <confdefs.h | sed '
12169 s/'"$ac_delim"'/"\\\
12170 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12171
12172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12173 for (key in D) D_is_set[key] = 1
12174 FS = ""
12175 }
12176 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12177 line = \$ 0
12178 split(line, arg, " ")
12179 if (arg[1] == "#") {
12180 defundef = arg[2]
12181 mac1 = arg[3]
12182 } else {
12183 defundef = substr(arg[1], 2)
12184 mac1 = arg[2]
12185 }
12186 split(mac1, mac2, "(") #)
12187 macro = mac2[1]
12188 prefix = substr(line, 1, index(line, defundef) - 1)
12189 if (D_is_set[macro]) {
12190 # Preserve the white space surrounding the "#".
12191 print prefix "define", macro P[macro] D[macro]
12192 next
12193 } else {
12194 # Replace #undef with comments. This is necessary, for example,
12195 # in the case of _POSIX_SOURCE, which is predefined and required
12196 # on some systems where configure will not decide to define it.
12197 if (defundef == "undef") {
12198 print "/*", prefix defundef, macro, "*/"
12199 next
12200 }
12201 }
12202 }
12203 { print }
12204 _ACAWK
12205 _ACEOF
12206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12207 as_fn_error "could not setup config headers machinery" "$LINENO" 5
12208 fi # test -n "$CONFIG_HEADERS"
12209
12210
12211 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11941 shift 12212 shift
11942 for ac_tag 12213 for ac_tag
11943 do 12214 do
11944 case $ac_tag in 12215 case $ac_tag in
11945 :[FHLC]) ac_mode=$ac_tag; continue;; 12216 :[FHLC]) ac_mode=$ac_tag; continue;;
12153 -) cat "$tmp/out" && rm -f "$tmp/out";; 12424 -) cat "$tmp/out" && rm -f "$tmp/out";;
12154 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 12425 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12155 esac \ 12426 esac \
12156 || as_fn_error "could not create $ac_file" "$LINENO" 5 12427 || as_fn_error "could not create $ac_file" "$LINENO" 5
12157 ;; 12428 ;;
12158 12429 :H)
12430 #
12431 # CONFIG_HEADER
12432 #
12433 if test x"$ac_file" != x-; then
12434 {
12435 $as_echo "/* $configure_input */" \
12436 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12437 } >"$tmp/config.h" \
12438 || as_fn_error "could not create $ac_file" "$LINENO" 5
12439 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12441 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12442 else
12443 rm -f "$ac_file"
12444 mv "$tmp/config.h" "$ac_file" \
12445 || as_fn_error "could not create $ac_file" "$LINENO" 5
12446 fi
12447 else
12448 $as_echo "/* $configure_input */" \
12449 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12450 || as_fn_error "could not create -" "$LINENO" 5
12451 fi
12452 # Compute "$ac_file"'s index in $config_headers.
12453 _am_arg="$ac_file"
12454 _am_stamp_count=1
12455 for _am_header in $config_headers :; do
12456 case $_am_header in
12457 $_am_arg | $_am_arg:* )
12458 break ;;
12459 * )
12460 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
12461 esac
12462 done
12463 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12464 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12465 X"$_am_arg" : 'X\(//\)[^/]' \| \
12466 X"$_am_arg" : 'X\(//\)$' \| \
12467 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12468 $as_echo X"$_am_arg" |
12469 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12470 s//\1/
12471 q
12472 }
12473 /^X\(\/\/\)[^/].*/{
12474 s//\1/
12475 q
12476 }
12477 /^X\(\/\/\)$/{
12478 s//\1/
12479 q
12480 }
12481 /^X\(\/\).*/{
12482 s//\1/
12483 q
12484 }
12485 s/.*/./; q'`/stamp-h$_am_stamp_count
12486 ;;
12159 12487
12160 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12488 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12161 $as_echo "$as_me: executing $ac_file commands" >&6;} 12489 $as_echo "$as_me: executing $ac_file commands" >&6;}
12162 ;; 12490 ;;
12163 esac 12491 esac