Mercurial > hg > CbC > CbC_gcc
comparison libssp/configure @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
600 | 600 |
601 ac_subst_vars='am__EXEEXT_FALSE | 601 ac_subst_vars='am__EXEEXT_FALSE |
602 am__EXEEXT_TRUE | 602 am__EXEEXT_TRUE |
603 LTLIBOBJS | 603 LTLIBOBJS |
604 LIBOBJS | 604 LIBOBJS |
605 get_gcc_base_ver | |
605 toolexeclibdir | 606 toolexeclibdir |
606 toolexecdir | 607 toolexecdir |
607 enable_static | 608 enable_static |
608 enable_shared | 609 enable_shared |
609 lt_host_flags | 610 lt_host_flags |
634 LIBSSP_USE_SYMVER_TRUE | 635 LIBSSP_USE_SYMVER_TRUE |
635 CPP | 636 CPP |
636 am__fastdepCC_FALSE | 637 am__fastdepCC_FALSE |
637 am__fastdepCC_TRUE | 638 am__fastdepCC_TRUE |
638 CCDEPMODE | 639 CCDEPMODE |
640 am__nodep | |
639 AMDEPBACKSLASH | 641 AMDEPBACKSLASH |
640 AMDEP_FALSE | 642 AMDEP_FALSE |
641 AMDEP_TRUE | 643 AMDEP_TRUE |
642 am__quote | 644 am__quote |
643 am__include | 645 am__include |
732 enable_option_checking | 734 enable_option_checking |
733 enable_version_specific_runtime_libs | 735 enable_version_specific_runtime_libs |
734 enable_maintainer_mode | 736 enable_maintainer_mode |
735 enable_multilib | 737 enable_multilib |
736 enable_dependency_tracking | 738 enable_dependency_tracking |
739 enable_symvers | |
737 enable_shared | 740 enable_shared |
738 enable_static | 741 enable_static |
739 with_pic | 742 with_pic |
740 enable_fast_install | 743 enable_fast_install |
741 with_gnu_ld | 744 with_gnu_ld |
742 enable_libtool_lock | 745 enable_libtool_lock |
746 with_gcc_major_version_only | |
743 ' | 747 ' |
744 ac_precious_vars='build_alias | 748 ac_precious_vars='build_alias |
745 host_alias | 749 host_alias |
746 target_alias | 750 target_alias |
747 CPP | 751 CPP |
1370 --enable-maintainer-mode enable make rules and dependencies not useful | 1374 --enable-maintainer-mode enable make rules and dependencies not useful |
1371 (and sometimes confusing) to the casual installer | 1375 (and sometimes confusing) to the casual installer |
1372 --enable-multilib build many library versions (default) | 1376 --enable-multilib build many library versions (default) |
1373 --disable-dependency-tracking speeds up one-time build | 1377 --disable-dependency-tracking speeds up one-time build |
1374 --enable-dependency-tracking do not reject slow dependency extractors | 1378 --enable-dependency-tracking do not reject slow dependency extractors |
1379 --disable-symvers disable symbol versioning for libssp | |
1375 --enable-shared[=PKGS] build shared libraries [default=yes] | 1380 --enable-shared[=PKGS] build shared libraries [default=yes] |
1376 --enable-static[=PKGS] build static libraries [default=yes] | 1381 --enable-static[=PKGS] build static libraries [default=yes] |
1377 --enable-fast-install[=PKGS] | 1382 --enable-fast-install[=PKGS] |
1378 optimize for fast installation [default=yes] | 1383 optimize for fast installation [default=yes] |
1379 --disable-libtool-lock avoid locking (might break parallel builds) | 1384 --disable-libtool-lock avoid locking (might break parallel builds) |
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1387 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1388 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1384 --with-pic try to use only PIC/non-PIC objects [default=use | 1389 --with-pic try to use only PIC/non-PIC objects [default=use |
1385 both] | 1390 both] |
1386 --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1391 --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1392 --with-gcc-major-version-only | |
1393 use only GCC major number in filesystem paths | |
1387 | 1394 |
1388 Some influential environment variables: | 1395 Some influential environment variables: |
1389 CC C compiler command | 1396 CC C compiler command |
1390 CFLAGS C compiler flags | 1397 CFLAGS C compiler flags |
1391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1398 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
2798 | 2805 |
2799 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 2806 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2800 | 2807 |
2801 # We need awk for the "check" target. The system "awk" is bad on | 2808 # We need awk for the "check" target. The system "awk" is bad on |
2802 # some platforms. | 2809 # some platforms. |
2803 # Always define AMTAR for backward compatibility. | 2810 # Always define AMTAR for backward compatibility. Yes, it's still used |
2804 | 2811 # in the wild :-( We should find a proper way to deprecate it ... |
2805 AMTAR=${AMTAR-"${am_missing_run}tar"} | 2812 AMTAR='$${TAR-tar}' |
2806 | 2813 |
2807 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | 2814 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
2808 | 2815 |
2809 | 2816 |
2810 | 2817 |
2811 | 2818 |
2812 | 2819 |
3753 fi | 3760 fi |
3754 | 3761 |
3755 if test "x$enable_dependency_tracking" != xno; then | 3762 if test "x$enable_dependency_tracking" != xno; then |
3756 am_depcomp="$ac_aux_dir/depcomp" | 3763 am_depcomp="$ac_aux_dir/depcomp" |
3757 AMDEPBACKSLASH='\' | 3764 AMDEPBACKSLASH='\' |
3765 am__nodep='_no' | |
3758 fi | 3766 fi |
3759 if test "x$enable_dependency_tracking" != xno; then | 3767 if test "x$enable_dependency_tracking" != xno; then |
3760 AMDEP_TRUE= | 3768 AMDEP_TRUE= |
3761 AMDEP_FALSE='#' | 3769 AMDEP_FALSE='#' |
3762 else | 3770 else |
3777 # We make a subdir and do the tests there. Otherwise we can end up | 3785 # We make a subdir and do the tests there. Otherwise we can end up |
3778 # making bogus files that we don't know about and never remove. For | 3786 # making bogus files that we don't know about and never remove. For |
3779 # instance it was reported that on HP-UX the gcc test will end up | 3787 # instance it was reported that on HP-UX the gcc test will end up |
3780 # making a dummy file named `D' -- because `-MD' means `put the output | 3788 # making a dummy file named `D' -- because `-MD' means `put the output |
3781 # in D'. | 3789 # in D'. |
3790 rm -rf conftest.dir | |
3782 mkdir conftest.dir | 3791 mkdir conftest.dir |
3783 # Copy depcomp to subdir because otherwise we won't find it if we're | 3792 # Copy depcomp to subdir because otherwise we won't find it if we're |
3784 # using a relative directory. | 3793 # using a relative directory. |
3785 cp "$am_depcomp" conftest.dir | 3794 cp "$am_depcomp" conftest.dir |
3786 cd conftest.dir | 3795 cd conftest.dir |
3836 continue | 3845 continue |
3837 else | 3846 else |
3838 break | 3847 break |
3839 fi | 3848 fi |
3840 ;; | 3849 ;; |
3841 msvisualcpp | msvcmsys) | 3850 msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3842 # This compiler won't grok `-c -o', but also, the minuso test has | 3851 # This compiler won't grok `-c -o', but also, the minuso test has |
3843 # not run yet. These depmodes are late enough in the game, and | 3852 # not run yet. These depmodes are late enough in the game, and |
3844 # so weak that their functioning should not be impacted. | 3853 # so weak that their functioning should not be impacted. |
3845 am__obj=conftest.${OBJEXT-o} | 3854 am__obj=conftest.${OBJEXT-o} |
3846 am__minus_obj= | 3855 am__minus_obj= |
4096 | 4105 |
4097 fi | 4106 fi |
4098 | 4107 |
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5 | 4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5 |
4100 $as_echo_n "checking whether symbol versioning is supported... " >&6; } | 4109 $as_echo_n "checking whether symbol versioning is supported... " >&6; } |
4101 if test x$gcc_no_link = xyes; then | 4110 # Check whether --enable-symvers was given. |
4102 # If we cannot link, we cannot build shared libraries, so do not use | 4111 if test "${enable_symvers+set}" = set; then : |
4103 # symbol versioning. | 4112 enableval=$enable_symvers; ssp_use_symver=$enableval |
4104 ssp_use_symver=no | 4113 else |
4105 else | 4114 ssp_use_symver=yes |
4106 save_LDFLAGS="$LDFLAGS" | 4115 fi |
4107 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" | 4116 |
4108 cat > conftest.map <<EOF | 4117 if test "x$ssp_use_symver" != xno; then |
4118 if test x$gcc_no_link = xyes; then | |
4119 # If we cannot link, we cannot build shared libraries, so do not use | |
4120 # symbol versioning. | |
4121 ssp_use_symver=no | |
4122 else | |
4123 save_LDFLAGS="$LDFLAGS" | |
4124 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" | |
4125 cat > conftest.map <<EOF | |
4109 FOO_1.0 { | 4126 FOO_1.0 { |
4110 global: *foo*; bar; local: *; | 4127 global: *foo*; bar; local: *; |
4111 }; | 4128 }; |
4112 EOF | 4129 EOF |
4113 if test x$gcc_no_link = xyes; then | 4130 if test x$gcc_no_link = xyes; then |
4114 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 | 4131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
4115 fi | 4132 fi |
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4117 /* end confdefs.h. */ | 4134 /* end confdefs.h. */ |
4118 int foo; | 4135 int foo; |
4129 else | 4146 else |
4130 ssp_use_symver=no | 4147 ssp_use_symver=no |
4131 fi | 4148 fi |
4132 rm -f core conftest.err conftest.$ac_objext \ | 4149 rm -f core conftest.err conftest.$ac_objext \ |
4133 conftest$ac_exeext conftest.$ac_ext | 4150 conftest$ac_exeext conftest.$ac_ext |
4134 if test x$ssp_use_symver = xno; then | 4151 if test x$ssp_use_symver = xno; then |
4135 case "$target_os" in | 4152 case "$target_os" in |
4136 solaris2*) | 4153 solaris2*) |
4137 LDFLAGS="$save_LDFLAGS" | 4154 LDFLAGS="$save_LDFLAGS" |
4138 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map" | 4155 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map" |
4139 # Sun ld cannot handle wildcards and treats all entries as undefined. | 4156 # Sun ld cannot handle wildcards and treats all entries as undefined. |
4140 cat > conftest.map <<EOF | 4157 cat > conftest.map <<EOF |
4141 FOO_1.0 { | 4158 FOO_1.0 { |
4142 global: foo; local: *; | 4159 global: foo; local: *; |
4143 }; | 4160 }; |
4144 EOF | 4161 EOF |
4145 if test x$gcc_no_link = xyes; then | 4162 if test x$gcc_no_link = xyes; then |
4146 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 | 4163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 |
4147 fi | 4164 fi |
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4149 /* end confdefs.h. */ | 4166 /* end confdefs.h. */ |
4150 int foo; | 4167 int foo; |
4161 else | 4178 else |
4162 ssp_use_symver=no | 4179 ssp_use_symver=no |
4163 fi | 4180 fi |
4164 rm -f core conftest.err conftest.$ac_objext \ | 4181 rm -f core conftest.err conftest.$ac_objext \ |
4165 conftest$ac_exeext conftest.$ac_ext | 4182 conftest$ac_exeext conftest.$ac_ext |
4166 ;; | 4183 ;; |
4167 esac | 4184 esac |
4185 fi | |
4186 LDFLAGS="$save_LDFLAGS" | |
4168 fi | 4187 fi |
4169 LDFLAGS="$save_LDFLAGS" | |
4170 fi | 4188 fi |
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_use_symver" >&5 | 4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssp_use_symver" >&5 |
4172 $as_echo "$ssp_use_symver" >&6; } | 4190 $as_echo "$ssp_use_symver" >&6; } |
4173 if test "x$ssp_use_symver" != xno; then | 4191 if test "x$ssp_use_symver" != xno; then |
4174 LIBSSP_USE_SYMVER_TRUE= | 4192 LIBSSP_USE_SYMVER_TRUE= |
6372 fi | 6390 fi |
6373 fi | 6391 fi |
6374 rm -rf conftest* | 6392 rm -rf conftest* |
6375 ;; | 6393 ;; |
6376 | 6394 |
6377 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 6395 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ |
6378 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 6396 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
6379 # Find out which ABI we are using. | 6397 # Find out which ABI we are using. |
6380 echo 'int i;' > conftest.$ac_ext | 6398 echo 'int i;' > conftest.$ac_ext |
6381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 6399 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6382 (eval $ac_compile) 2>&5 | 6400 (eval $ac_compile) 2>&5 |
6388 case $host in | 6406 case $host in |
6389 x86_64-*kfreebsd*-gnu) | 6407 x86_64-*kfreebsd*-gnu) |
6390 LD="${LD-ld} -m elf_i386_fbsd" | 6408 LD="${LD-ld} -m elf_i386_fbsd" |
6391 ;; | 6409 ;; |
6392 x86_64-*linux*) | 6410 x86_64-*linux*) |
6393 LD="${LD-ld} -m elf_i386" | 6411 case `/usr/bin/file conftest.o` in |
6412 *x86-64*) | |
6413 LD="${LD-ld} -m elf32_x86_64" | |
6414 ;; | |
6415 *) | |
6416 LD="${LD-ld} -m elf_i386" | |
6417 ;; | |
6418 esac | |
6394 ;; | 6419 ;; |
6395 ppc64-*linux*|powerpc64-*linux*) | 6420 powerpc64le-*linux*) |
6421 LD="${LD-ld} -m elf32lppclinux" | |
6422 ;; | |
6423 powerpc64-*linux*) | |
6396 LD="${LD-ld} -m elf32ppclinux" | 6424 LD="${LD-ld} -m elf32ppclinux" |
6397 ;; | 6425 ;; |
6398 s390x-*linux*) | 6426 s390x-*linux*) |
6399 LD="${LD-ld} -m elf_s390" | 6427 LD="${LD-ld} -m elf_s390" |
6400 ;; | 6428 ;; |
6409 LD="${LD-ld} -m elf_x86_64_fbsd" | 6437 LD="${LD-ld} -m elf_x86_64_fbsd" |
6410 ;; | 6438 ;; |
6411 x86_64-*linux*) | 6439 x86_64-*linux*) |
6412 LD="${LD-ld} -m elf_x86_64" | 6440 LD="${LD-ld} -m elf_x86_64" |
6413 ;; | 6441 ;; |
6414 ppc*-*linux*|powerpc*-*linux*) | 6442 powerpcle-*linux*) |
6443 LD="${LD-ld} -m elf64lppc" | |
6444 ;; | |
6445 powerpc-*linux*) | |
6415 LD="${LD-ld} -m elf64ppc" | 6446 LD="${LD-ld} -m elf64ppc" |
6416 ;; | 6447 ;; |
6417 s390*-*linux*|s390*-*tpf*) | 6448 s390*-*linux*|s390*-*tpf*) |
6418 LD="${LD-ld} -m elf64_s390" | 6449 LD="${LD-ld} -m elf64_s390" |
6419 ;; | 6450 ;; |
7097 # to the OS version, if on x86, and 10.4, the deployment | 7128 # to the OS version, if on x86, and 10.4, the deployment |
7098 # target defaults to 10.4. Don't you love it? | 7129 # target defaults to 10.4. Don't you love it? |
7099 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 7130 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
7100 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | 7131 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
7101 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 7132 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
7102 10.[012]*) | 7133 10.[012][,.]*) |
7103 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 7134 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
7104 10.*) | 7135 10.*) |
7105 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 7136 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
7106 esac | 7137 esac |
7107 ;; | 7138 ;; |
7664 # All AIX code is PIC. | 7695 # All AIX code is PIC. |
7665 if test "$host_cpu" = ia64; then | 7696 if test "$host_cpu" = ia64; then |
7666 # AIX 5 now supports IA64 processor | 7697 # AIX 5 now supports IA64 processor |
7667 lt_prog_compiler_static='-Bstatic' | 7698 lt_prog_compiler_static='-Bstatic' |
7668 fi | 7699 fi |
7700 lt_prog_compiler_pic='-fPIC' | |
7669 ;; | 7701 ;; |
7670 | 7702 |
7671 amigaos*) | 7703 amigaos*) |
7672 case $host_cpu in | 7704 case $host_cpu in |
7673 powerpc) | 7705 powerpc) |
8400 esac | 8432 esac |
8401 fi | 8433 fi |
8402 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 8434 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
8403 && test "$tmp_diet" = no | 8435 && test "$tmp_diet" = no |
8404 then | 8436 then |
8405 tmp_addflag= | 8437 tmp_addflag=' $pic_flag' |
8406 tmp_sharedflag='-shared' | 8438 tmp_sharedflag='-shared' |
8407 case $cc_basename,$host_cpu in | 8439 case $cc_basename,$host_cpu in |
8408 pgcc*) # Portland Group C compiler | 8440 pgcc*) # Portland Group C compiler |
8409 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 8441 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
8410 tmp_addflag=' $pic_flag' | 8442 tmp_addflag=' $pic_flag' |
8582 # Also, AIX nm treats weak defined symbols like other global | 8614 # Also, AIX nm treats weak defined symbols like other global |
8583 # defined symbols, whereas GNU nm marks them as "W". | 8615 # defined symbols, whereas GNU nm marks them as "W". |
8584 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 8616 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
8585 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 8617 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
8586 else | 8618 else |
8587 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 8619 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
8588 fi | 8620 fi |
8589 aix_use_runtimelinking=no | 8621 aix_use_runtimelinking=no |
8590 | 8622 |
8591 # Test if we are trying to use run time linking or normal | 8623 # Test if we are trying to use run time linking or normal |
8592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 8624 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
8851 hardcode_direct=yes | 8883 hardcode_direct=yes |
8852 hardcode_shlibpath_var=no | 8884 hardcode_shlibpath_var=no |
8853 ;; | 8885 ;; |
8854 | 8886 |
8855 # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 8887 # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
8856 freebsd2*) | 8888 freebsd2.*) |
8857 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 8889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
8858 hardcode_direct=yes | 8890 hardcode_direct=yes |
8859 hardcode_minus_L=yes | 8891 hardcode_minus_L=yes |
8860 hardcode_shlibpath_var=no | 8892 hardcode_shlibpath_var=no |
8861 ;; | 8893 ;; |
9767 # versioning mechanism, adjust this. | 9799 # versioning mechanism, adjust this. |
9768 if test -x /usr/bin/objformat; then | 9800 if test -x /usr/bin/objformat; then |
9769 objformat=`/usr/bin/objformat` | 9801 objformat=`/usr/bin/objformat` |
9770 else | 9802 else |
9771 case $host_os in | 9803 case $host_os in |
9772 freebsd[123]*) objformat=aout ;; | 9804 freebsd[23].*) objformat=aout ;; |
9773 *) objformat=elf ;; | 9805 *) objformat=elf ;; |
9774 esac | 9806 esac |
9775 fi | 9807 fi |
9776 version_type=freebsd-$objformat | 9808 version_type=freebsd-$objformat |
9777 case $version_type in | 9809 case $version_type in |
9785 need_version=yes | 9817 need_version=yes |
9786 ;; | 9818 ;; |
9787 esac | 9819 esac |
9788 shlibpath_var=LD_LIBRARY_PATH | 9820 shlibpath_var=LD_LIBRARY_PATH |
9789 case $host_os in | 9821 case $host_os in |
9790 freebsd2*) | 9822 freebsd2.*) |
9791 shlibpath_overrides_runpath=yes | 9823 shlibpath_overrides_runpath=yes |
9792 ;; | 9824 ;; |
9793 freebsd3.[01]* | freebsdelf3.[01]*) | 9825 freebsd3.[01]* | freebsdelf3.[01]*) |
9794 shlibpath_overrides_runpath=yes | 9826 shlibpath_overrides_runpath=yes |
9795 hardcode_into_libs=yes | 9827 hardcode_into_libs=yes |
10637 lt_cv_dlopen_self=cross | 10669 lt_cv_dlopen_self=cross |
10638 else | 10670 else |
10639 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 10671 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10640 lt_status=$lt_dlunknown | 10672 lt_status=$lt_dlunknown |
10641 cat > conftest.$ac_ext <<_LT_EOF | 10673 cat > conftest.$ac_ext <<_LT_EOF |
10642 #line 10642 "configure" | 10674 #line 10674 "configure" |
10643 #include "confdefs.h" | 10675 #include "confdefs.h" |
10644 | 10676 |
10645 #if HAVE_DLFCN_H | 10677 #if HAVE_DLFCN_H |
10646 #include <dlfcn.h> | 10678 #include <dlfcn.h> |
10647 #endif | 10679 #endif |
10743 lt_cv_dlopen_self_static=cross | 10775 lt_cv_dlopen_self_static=cross |
10744 else | 10776 else |
10745 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 10777 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10746 lt_status=$lt_dlunknown | 10778 lt_status=$lt_dlunknown |
10747 cat > conftest.$ac_ext <<_LT_EOF | 10779 cat > conftest.$ac_ext <<_LT_EOF |
10748 #line 10748 "configure" | 10780 #line 10780 "configure" |
10749 #include "confdefs.h" | 10781 #include "confdefs.h" |
10750 | 10782 |
10751 #if HAVE_DLFCN_H | 10783 #if HAVE_DLFCN_H |
10752 #include <dlfcn.h> | 10784 #include <dlfcn.h> |
10753 #endif | 10785 #endif |
11040 if test ${multilib} = yes; then | 11072 if test ${multilib} = yes; then |
11041 multilib_arg="--enable-multilib" | 11073 multilib_arg="--enable-multilib" |
11042 else | 11074 else |
11043 multilib_arg= | 11075 multilib_arg= |
11044 fi | 11076 fi |
11077 | |
11078 # Determine what GCC version number to use in filesystem paths. | |
11079 | |
11080 get_gcc_base_ver="cat" | |
11081 | |
11082 # Check whether --with-gcc-major-version-only was given. | |
11083 if test "${with_gcc_major_version_only+set}" = set; then : | |
11084 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then | |
11085 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'" | |
11086 fi | |
11087 | |
11088 fi | |
11089 | |
11090 | |
11091 | |
11045 | 11092 |
11046 ac_config_files="$ac_config_files Makefile ssp/ssp.h" | 11093 ac_config_files="$ac_config_files Makefile ssp/ssp.h" |
11047 | 11094 |
11048 cat >confcache <<\_ACEOF | 11095 cat >confcache <<\_ACEOF |
11049 # This file is a shell script that caches the results of configure | 11096 # This file is a shell script that caches the results of configure |
11768 multi_basedir="$multi_basedir" | 11815 multi_basedir="$multi_basedir" |
11769 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 11816 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
11770 CC="$CC" | 11817 CC="$CC" |
11771 CXX="$CXX" | 11818 CXX="$CXX" |
11772 GFORTRAN="$GFORTRAN" | 11819 GFORTRAN="$GFORTRAN" |
11773 GCJ="$GCJ" | |
11774 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 11820 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
11775 | 11821 |
11776 | 11822 |
11777 # The HP-UX ksh and POSIX shell print the target directory to stdout | 11823 # The HP-UX ksh and POSIX shell print the target directory to stdout |
11778 # if CDPATH is set. | 11824 # if CDPATH is set. |