comparison libquadmath/configure @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 561a7518be6b
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
599 599
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 get_gcc_base_ver
604 GENINSRC_FALSE 605 GENINSRC_FALSE
605 GENINSRC_TRUE 606 GENINSRC_TRUE
606 BUILD_LIBQUADMATH_FALSE 607 BUILD_LIBQUADMATH_FALSE
607 BUILD_LIBQUADMATH_TRUE 608 BUILD_LIBQUADMATH_TRUE
608 LIBQUAD_USE_SYMVER_SUN_FALSE 609 LIBQUAD_USE_SYMVER_SUN_FALSE
611 LIBQUAD_USE_SYMVER_GNU_TRUE 612 LIBQUAD_USE_SYMVER_GNU_TRUE
612 LIBQUAD_USE_SYMVER_FALSE 613 LIBQUAD_USE_SYMVER_FALSE
613 LIBQUAD_USE_SYMVER_TRUE 614 LIBQUAD_USE_SYMVER_TRUE
614 toolexeclibdir 615 toolexeclibdir
615 toolexecdir 616 toolexecdir
616 multi_basedir
617 MAINT 617 MAINT
618 MAINTAINER_MODE_FALSE 618 MAINTAINER_MODE_FALSE
619 MAINTAINER_MODE_TRUE 619 MAINTAINER_MODE_TRUE
620 enable_static 620 enable_static
621 enable_shared 621 enable_shared
644 GREP 644 GREP
645 CPP 645 CPP
646 am__fastdepCC_FALSE 646 am__fastdepCC_FALSE
647 am__fastdepCC_TRUE 647 am__fastdepCC_TRUE
648 CCDEPMODE 648 CCDEPMODE
649 am__nodep
649 AMDEPBACKSLASH 650 AMDEPBACKSLASH
650 AMDEP_FALSE 651 AMDEP_FALSE
651 AMDEP_TRUE 652 AMDEP_TRUE
652 am__quote 653 am__quote
653 am__include 654 am__include
680 CYGPATH_W 681 CYGPATH_W
681 am__isrc 682 am__isrc
682 INSTALL_DATA 683 INSTALL_DATA
683 INSTALL_SCRIPT 684 INSTALL_SCRIPT
684 INSTALL_PROGRAM 685 INSTALL_PROGRAM
686 multi_basedir
685 target_noncanonical 687 target_noncanonical
686 target_os 688 target_os
687 target_vendor 689 target_vendor
688 target_cpu 690 target_cpu
689 target 691 target
734 PATH_SEPARATOR 736 PATH_SEPARATOR
735 SHELL' 737 SHELL'
736 ac_subst_files='' 738 ac_subst_files=''
737 ac_user_opts=' 739 ac_user_opts='
738 enable_option_checking 740 enable_option_checking
741 enable_multilib
739 enable_version_specific_runtime_libs 742 enable_version_specific_runtime_libs
740 enable_dependency_tracking 743 enable_dependency_tracking
741 with_bugurl 744 with_bugurl
742 enable_shared 745 enable_shared
743 enable_static 746 enable_static
744 with_pic 747 with_pic
745 enable_fast_install 748 enable_fast_install
746 with_gnu_ld 749 with_gnu_ld
747 enable_libtool_lock 750 enable_libtool_lock
748 enable_maintainer_mode 751 enable_maintainer_mode
749 enable_multilib 752 enable_symvers
750 enable_generated_files_in_srcdir 753 enable_generated_files_in_srcdir
754 with_gcc_major_version_only
751 ' 755 '
752 ac_precious_vars='build_alias 756 ac_precious_vars='build_alias
753 host_alias 757 host_alias
754 target_alias 758 target_alias
755 CC 759 CC
1376 1380
1377 Optional Features: 1381 Optional Features:
1378 --disable-option-checking ignore unrecognized --enable/--with options 1382 --disable-option-checking ignore unrecognized --enable/--with options
1379 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1383 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1380 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1384 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1385 --enable-multilib build many library versions (default)
1381 --enable-version-specific-runtime-libs 1386 --enable-version-specific-runtime-libs
1382 specify that runtime libraries should be installed 1387 specify that runtime libraries should be installed
1383 in a compiler-specific directory 1388 in a compiler-specific directory
1384 --disable-dependency-tracking speeds up one-time build 1389 --disable-dependency-tracking speeds up one-time build
1385 --enable-dependency-tracking do not reject slow dependency extractors 1390 --enable-dependency-tracking do not reject slow dependency extractors
1388 --enable-fast-install[=PKGS] 1393 --enable-fast-install[=PKGS]
1389 optimize for fast installation [default=yes] 1394 optimize for fast installation [default=yes]
1390 --disable-libtool-lock avoid locking (might break parallel builds) 1395 --disable-libtool-lock avoid locking (might break parallel builds)
1391 --enable-maintainer-mode enable make rules and dependencies not useful 1396 --enable-maintainer-mode enable make rules and dependencies not useful
1392 (and sometimes confusing) to the casual installer 1397 (and sometimes confusing) to the casual installer
1393 --enable-multilib build many library versions (default) 1398 --disable-symvers disable symbol versioning for libquadmath
1394 --enable-generated-files-in-srcdir 1399 --enable-generated-files-in-srcdir
1395 put copies of generated files in source dir intended 1400 put copies of generated files in source dir intended
1396 for creating source tarballs for users without 1401 for creating source tarballs for users without
1397 texinfo bison or flex 1402 texinfo bison or flex
1398 1403
1401 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1406 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1402 --with-bugurl=URL Direct users to URL to report a bug 1407 --with-bugurl=URL Direct users to URL to report a bug
1403 --with-pic try to use only PIC/non-PIC objects [default=use 1408 --with-pic try to use only PIC/non-PIC objects [default=use
1404 both] 1409 both]
1405 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1410 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1411 --with-gcc-major-version-only
1412 use only GCC major number in filesystem paths
1406 1413
1407 Some influential environment variables: 1414 Some influential environment variables:
1408 CC C compiler command 1415 CC C compiler command
1409 CFLAGS C compiler flags 1416 CFLAGS C compiler flags
1410 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1417 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2366 esac 2373 esac
2367 2374
2368 2375
2369 2376
2370 2377
2378 # Default to --enable-multilib
2379 # Check whether --enable-multilib was given.
2380 if test "${enable_multilib+set}" = set; then :
2381 enableval=$enable_multilib; case "$enableval" in
2382 yes) multilib=yes ;;
2383 no) multilib=no ;;
2384 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2385 esac
2386 else
2387 multilib=yes
2388 fi
2389
2390
2391 # We may get other options which we leave undocumented:
2392 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2393 # See config-ml.in if you want the gory details.
2394
2395 if test "$srcdir" = "."; then
2396 if test "$with_target_subdir" != "."; then
2397 multi_basedir="$srcdir/$with_multisrctop../.."
2398 else
2399 multi_basedir="$srcdir/$with_multisrctop.."
2400 fi
2401 else
2402 multi_basedir="$srcdir/.."
2403 fi
2404
2405
2406 # Even if the default multilib is not a cross compilation,
2407 # it may be that some of the other multilibs are.
2408 if test $cross_compiling = no && test $multilib = yes \
2409 && test "x${with_multisubdir}" != x ; then
2410 cross_compiling=maybe
2411 fi
2412
2413 ac_config_commands="$ac_config_commands default-1"
2414
2415
2371 target_alias=${target_alias-$host_alias} 2416 target_alias=${target_alias-$host_alias}
2372 2417
2373 2418
2374 am__api_version='1.11' 2419 am__api_version='1.11'
2375 2420
2837 2882
2838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2883 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2839 2884
2840 # We need awk for the "check" target. The system "awk" is bad on 2885 # We need awk for the "check" target. The system "awk" is bad on
2841 # some platforms. 2886 # some platforms.
2842 # Always define AMTAR for backward compatibility. 2887 # Always define AMTAR for backward compatibility. Yes, it's still used
2843 2888 # in the wild :-( We should find a proper way to deprecate it ...
2844 AMTAR=${AMTAR-"${am_missing_run}tar"} 2889 AMTAR='$${TAR-tar}'
2845 2890
2846 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2891 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2847 2892
2848 2893
2849 2894
2850 2895
2851 2896
2918 fi 2963 fi
2919 2964
2920 if test "x$enable_dependency_tracking" != xno; then 2965 if test "x$enable_dependency_tracking" != xno; then
2921 am_depcomp="$ac_aux_dir/depcomp" 2966 am_depcomp="$ac_aux_dir/depcomp"
2922 AMDEPBACKSLASH='\' 2967 AMDEPBACKSLASH='\'
2968 am__nodep='_no'
2923 fi 2969 fi
2924 if test "x$enable_dependency_tracking" != xno; then 2970 if test "x$enable_dependency_tracking" != xno; then
2925 AMDEP_TRUE= 2971 AMDEP_TRUE=
2926 AMDEP_FALSE='#' 2972 AMDEP_FALSE='#'
2927 else 2973 else
3735 # We make a subdir and do the tests there. Otherwise we can end up 3781 # We make a subdir and do the tests there. Otherwise we can end up
3736 # making bogus files that we don't know about and never remove. For 3782 # making bogus files that we don't know about and never remove. For
3737 # instance it was reported that on HP-UX the gcc test will end up 3783 # instance it was reported that on HP-UX the gcc test will end up
3738 # making a dummy file named `D' -- because `-MD' means `put the output 3784 # making a dummy file named `D' -- because `-MD' means `put the output
3739 # in D'. 3785 # in D'.
3786 rm -rf conftest.dir
3740 mkdir conftest.dir 3787 mkdir conftest.dir
3741 # Copy depcomp to subdir because otherwise we won't find it if we're 3788 # Copy depcomp to subdir because otherwise we won't find it if we're
3742 # using a relative directory. 3789 # using a relative directory.
3743 cp "$am_depcomp" conftest.dir 3790 cp "$am_depcomp" conftest.dir
3744 cd conftest.dir 3791 cd conftest.dir
3794 continue 3841 continue
3795 else 3842 else
3796 break 3843 break
3797 fi 3844 fi
3798 ;; 3845 ;;
3799 msvisualcpp | msvcmsys) 3846 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3800 # This compiler won't grok `-c -o', but also, the minuso test has 3847 # This compiler won't grok `-c -o', but also, the minuso test has
3801 # not run yet. These depmodes are late enough in the game, and 3848 # not run yet. These depmodes are late enough in the game, and
3802 # so weak that their functioning should not be impacted. 3849 # so weak that their functioning should not be impacted.
3803 am__obj=conftest.${OBJEXT-o} 3850 am__obj=conftest.${OBJEXT-o}
3804 am__minus_obj= 3851 am__minus_obj=
4397 ;; 4444 ;;
4398 *) BUGURL="$withval" 4445 *) BUGURL="$withval"
4399 ;; 4446 ;;
4400 esac 4447 esac
4401 else 4448 else
4402 BUGURL="http://gcc.gnu.org/bugs.html" 4449 BUGURL="https://gcc.gnu.org/bugs/"
4403 4450
4404 fi 4451 fi
4405 4452
4406 case ${BUGURL} in 4453 case ${BUGURL} in
4407 "") 4454 "")
6244 fi 6291 fi
6245 fi 6292 fi
6246 rm -rf conftest* 6293 rm -rf conftest*
6247 ;; 6294 ;;
6248 6295
6249 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6296 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6250 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6297 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6251 # Find out which ABI we are using. 6298 # Find out which ABI we are using.
6252 echo 'int i;' > conftest.$ac_ext 6299 echo 'int i;' > conftest.$ac_ext
6253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6300 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6254 (eval $ac_compile) 2>&5 6301 (eval $ac_compile) 2>&5
6260 case $host in 6307 case $host in
6261 x86_64-*kfreebsd*-gnu) 6308 x86_64-*kfreebsd*-gnu)
6262 LD="${LD-ld} -m elf_i386_fbsd" 6309 LD="${LD-ld} -m elf_i386_fbsd"
6263 ;; 6310 ;;
6264 x86_64-*linux*) 6311 x86_64-*linux*)
6265 LD="${LD-ld} -m elf_i386" 6312 case `/usr/bin/file conftest.o` in
6313 *x86-64*)
6314 LD="${LD-ld} -m elf32_x86_64"
6315 ;;
6316 *)
6317 LD="${LD-ld} -m elf_i386"
6318 ;;
6319 esac
6266 ;; 6320 ;;
6267 ppc64-*linux*|powerpc64-*linux*) 6321 powerpc64le-*linux*)
6322 LD="${LD-ld} -m elf32lppclinux"
6323 ;;
6324 powerpc64-*linux*)
6268 LD="${LD-ld} -m elf32ppclinux" 6325 LD="${LD-ld} -m elf32ppclinux"
6269 ;; 6326 ;;
6270 s390x-*linux*) 6327 s390x-*linux*)
6271 LD="${LD-ld} -m elf_s390" 6328 LD="${LD-ld} -m elf_s390"
6272 ;; 6329 ;;
6281 LD="${LD-ld} -m elf_x86_64_fbsd" 6338 LD="${LD-ld} -m elf_x86_64_fbsd"
6282 ;; 6339 ;;
6283 x86_64-*linux*) 6340 x86_64-*linux*)
6284 LD="${LD-ld} -m elf_x86_64" 6341 LD="${LD-ld} -m elf_x86_64"
6285 ;; 6342 ;;
6286 ppc*-*linux*|powerpc*-*linux*) 6343 powerpcle-*linux*)
6344 LD="${LD-ld} -m elf64lppc"
6345 ;;
6346 powerpc-*linux*)
6287 LD="${LD-ld} -m elf64ppc" 6347 LD="${LD-ld} -m elf64ppc"
6288 ;; 6348 ;;
6289 s390*-*linux*|s390*-*tpf*) 6349 s390*-*linux*|s390*-*tpf*)
6290 LD="${LD-ld} -m elf64_s390" 6350 LD="${LD-ld} -m elf64_s390"
6291 ;; 6351 ;;
6969 # to the OS version, if on x86, and 10.4, the deployment 7029 # to the OS version, if on x86, and 10.4, the deployment
6970 # target defaults to 10.4. Don't you love it? 7030 # target defaults to 10.4. Don't you love it?
6971 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7031 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6972 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7032 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6973 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7033 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6974 10.[012]*) 7034 10.[012][,.]*)
6975 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7035 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6976 10.*) 7036 10.*)
6977 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7037 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6978 esac 7038 esac
6979 ;; 7039 ;;
7536 # All AIX code is PIC. 7596 # All AIX code is PIC.
7537 if test "$host_cpu" = ia64; then 7597 if test "$host_cpu" = ia64; then
7538 # AIX 5 now supports IA64 processor 7598 # AIX 5 now supports IA64 processor
7539 lt_prog_compiler_static='-Bstatic' 7599 lt_prog_compiler_static='-Bstatic'
7540 fi 7600 fi
7601 lt_prog_compiler_pic='-fPIC'
7541 ;; 7602 ;;
7542 7603
7543 amigaos*) 7604 amigaos*)
7544 case $host_cpu in 7605 case $host_cpu in
7545 powerpc) 7606 powerpc)
8272 esac 8333 esac
8273 fi 8334 fi
8274 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8335 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8275 && test "$tmp_diet" = no 8336 && test "$tmp_diet" = no
8276 then 8337 then
8277 tmp_addflag= 8338 tmp_addflag=' $pic_flag'
8278 tmp_sharedflag='-shared' 8339 tmp_sharedflag='-shared'
8279 case $cc_basename,$host_cpu in 8340 case $cc_basename,$host_cpu in
8280 pgcc*) # Portland Group C compiler 8341 pgcc*) # Portland Group C compiler
8281 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' 8342 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'
8282 tmp_addflag=' $pic_flag' 8343 tmp_addflag=' $pic_flag'
8454 # Also, AIX nm treats weak defined symbols like other global 8515 # Also, AIX nm treats weak defined symbols like other global
8455 # defined symbols, whereas GNU nm marks them as "W". 8516 # defined symbols, whereas GNU nm marks them as "W".
8456 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8517 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8457 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' 8518 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'
8458 else 8519 else
8459 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' 8520 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'
8460 fi 8521 fi
8461 aix_use_runtimelinking=no 8522 aix_use_runtimelinking=no
8462 8523
8463 # Test if we are trying to use run time linking or normal 8524 # Test if we are trying to use run time linking or normal
8464 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8525 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8723 hardcode_direct=yes 8784 hardcode_direct=yes
8724 hardcode_shlibpath_var=no 8785 hardcode_shlibpath_var=no
8725 ;; 8786 ;;
8726 8787
8727 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8788 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8728 freebsd2*) 8789 freebsd2.*)
8729 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8790 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8730 hardcode_direct=yes 8791 hardcode_direct=yes
8731 hardcode_minus_L=yes 8792 hardcode_minus_L=yes
8732 hardcode_shlibpath_var=no 8793 hardcode_shlibpath_var=no
8733 ;; 8794 ;;
9639 # versioning mechanism, adjust this. 9700 # versioning mechanism, adjust this.
9640 if test -x /usr/bin/objformat; then 9701 if test -x /usr/bin/objformat; then
9641 objformat=`/usr/bin/objformat` 9702 objformat=`/usr/bin/objformat`
9642 else 9703 else
9643 case $host_os in 9704 case $host_os in
9644 freebsd[123]*) objformat=aout ;; 9705 freebsd[23].*) objformat=aout ;;
9645 *) objformat=elf ;; 9706 *) objformat=elf ;;
9646 esac 9707 esac
9647 fi 9708 fi
9648 version_type=freebsd-$objformat 9709 version_type=freebsd-$objformat
9649 case $version_type in 9710 case $version_type in
9657 need_version=yes 9718 need_version=yes
9658 ;; 9719 ;;
9659 esac 9720 esac
9660 shlibpath_var=LD_LIBRARY_PATH 9721 shlibpath_var=LD_LIBRARY_PATH
9661 case $host_os in 9722 case $host_os in
9662 freebsd2*) 9723 freebsd2.*)
9663 shlibpath_overrides_runpath=yes 9724 shlibpath_overrides_runpath=yes
9664 ;; 9725 ;;
9665 freebsd3.[01]* | freebsdelf3.[01]*) 9726 freebsd3.[01]* | freebsdelf3.[01]*)
9666 shlibpath_overrides_runpath=yes 9727 shlibpath_overrides_runpath=yes
9667 hardcode_into_libs=yes 9728 hardcode_into_libs=yes
10509 lt_cv_dlopen_self=cross 10570 lt_cv_dlopen_self=cross
10510 else 10571 else
10511 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10572 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10512 lt_status=$lt_dlunknown 10573 lt_status=$lt_dlunknown
10513 cat > conftest.$ac_ext <<_LT_EOF 10574 cat > conftest.$ac_ext <<_LT_EOF
10514 #line 10514 "configure" 10575 #line 10575 "configure"
10515 #include "confdefs.h" 10576 #include "confdefs.h"
10516 10577
10517 #if HAVE_DLFCN_H 10578 #if HAVE_DLFCN_H
10518 #include <dlfcn.h> 10579 #include <dlfcn.h>
10519 #endif 10580 #endif
10615 lt_cv_dlopen_self_static=cross 10676 lt_cv_dlopen_self_static=cross
10616 else 10677 else
10617 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10678 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10618 lt_status=$lt_dlunknown 10679 lt_status=$lt_dlunknown
10619 cat > conftest.$ac_ext <<_LT_EOF 10680 cat > conftest.$ac_ext <<_LT_EOF
10620 #line 10620 "configure" 10681 #line 10681 "configure"
10621 #include "confdefs.h" 10682 #include "confdefs.h"
10622 10683
10623 #if HAVE_DLFCN_H 10684 #if HAVE_DLFCN_H
10624 #include <dlfcn.h> 10685 #include <dlfcn.h>
10625 #endif 10686 #endif
10899 MAINTAINER_MODE_FALSE= 10960 MAINTAINER_MODE_FALSE=
10900 fi 10961 fi
10901 10962
10902 MAINT=$MAINTAINER_MODE_TRUE 10963 MAINT=$MAINTAINER_MODE_TRUE
10903 10964
10904
10905 # Default to --enable-multilib
10906 # Check whether --enable-multilib was given.
10907 if test "${enable_multilib+set}" = set; then :
10908 enableval=$enable_multilib; case "$enableval" in
10909 yes) multilib=yes ;;
10910 no) multilib=no ;;
10911 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
10912 esac
10913 else
10914 multilib=yes
10915 fi
10916
10917
10918 # We may get other options which we leave undocumented:
10919 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10920 # See config-ml.in if you want the gory details.
10921
10922 if test "$srcdir" = "."; then
10923 if test "$with_target_subdir" != "."; then
10924 multi_basedir="$srcdir/$with_multisrctop../.."
10925 else
10926 multi_basedir="$srcdir/$with_multisrctop.."
10927 fi
10928 else
10929 multi_basedir="$srcdir/.."
10930 fi
10931
10932
10933 # Even if the default multilib is not a cross compilation,
10934 # it may be that some of the other multilibs are.
10935 if test $cross_compiling = no && test $multilib = yes \
10936 && test "x${with_multisubdir}" != x ; then
10937 cross_compiling=maybe
10938 fi
10939
10940 ac_config_commands="$ac_config_commands default-1"
10941 10965
10942 10966
10943 ac_ext=c 10967 ac_ext=c
10944 ac_cpp='$CPP $CPPFLAGS' 10968 ac_cpp='$CPP $CPPFLAGS'
10945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11504 # We make a subdir and do the tests there. Otherwise we can end up 11528 # We make a subdir and do the tests there. Otherwise we can end up
11505 # making bogus files that we don't know about and never remove. For 11529 # making bogus files that we don't know about and never remove. For
11506 # instance it was reported that on HP-UX the gcc test will end up 11530 # instance it was reported that on HP-UX the gcc test will end up
11507 # making a dummy file named `D' -- because `-MD' means `put the output 11531 # making a dummy file named `D' -- because `-MD' means `put the output
11508 # in D'. 11532 # in D'.
11533 rm -rf conftest.dir
11509 mkdir conftest.dir 11534 mkdir conftest.dir
11510 # Copy depcomp to subdir because otherwise we won't find it if we're 11535 # Copy depcomp to subdir because otherwise we won't find it if we're
11511 # using a relative directory. 11536 # using a relative directory.
11512 cp "$am_depcomp" conftest.dir 11537 cp "$am_depcomp" conftest.dir
11513 cd conftest.dir 11538 cd conftest.dir
11563 continue 11588 continue
11564 else 11589 else
11565 break 11590 break
11566 fi 11591 fi
11567 ;; 11592 ;;
11568 msvisualcpp | msvcmsys) 11593 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11569 # This compiler won't grok `-c -o', but also, the minuso test has 11594 # This compiler won't grok `-c -o', but also, the minuso test has
11570 # not run yet. These depmodes are late enough in the game, and 11595 # not run yet. These depmodes are late enough in the game, and
11571 # so weak that their functioning should not be impacted. 11596 # so weak that their functioning should not be impacted.
11572 am__obj=conftest.${OBJEXT-o} 11597 am__obj=conftest.${OBJEXT-o}
11573 am__minus_obj= 11598 am__minus_obj=
11935 fi 11960 fi
11936 11961
11937 done 11962 done
11938 11963
11939 11964
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the math.h includes POSIX's signgam" >&5
11966 $as_echo_n "checking whether the math.h includes POSIX's signgam... " >&6; }
11967 if test "${libgfor_cv_have_math_h_signgam+set}" = set; then :
11968 $as_echo_n "(cached) " >&6
11969 else
11970
11971 save_CFLAGS="$CFLAGS"
11972 CFLAGS="$CFLAGS -Werror"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11975
11976 #include <math.h>
11977 void foo(void) { signgam = 1; }
11978 int
11979 main ()
11980 {
11981
11982 ;
11983 return 0;
11984 }
11985 _ACEOF
11986 if ac_fn_c_try_compile "$LINENO"; then :
11987 libgfor_cv_have_math_h_signgam=yes
11988 else
11989 libgfor_cv_have_math_h_signgam=no
11990 fi
11991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11992 CFLAGS="$save_CFLAGS"
11993 fi
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_math_h_signgam" >&5
11995 $as_echo "$libgfor_cv_have_math_h_signgam" >&6; }
11996 if test $libgfor_cv_have_math_h_signgam = yes; then
11997
11998 $as_echo "#define HAVE_MATH_H_SIGNGAM 1" >>confdefs.h
11999
12000 fi
12001
11940 # If available, sqrtl and cbrtl speed up the calculation - 12002 # If available, sqrtl and cbrtl speed up the calculation -
11941 # but they are not required 12003 # but they are not required
11942 if test x$gcc_no_link != xyes; then 12004 if test x$gcc_no_link != xyes; then
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5 12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11944 $as_echo_n "checking for sqrtl in -lm... " >&6; } 12006 $as_echo_n "checking for sqrtl in -lm... " >&6; }
12337 CFLAGS="$saved_CFLAGS" 12399 CFLAGS="$saved_CFLAGS"
12338 12400
12339 # Check for symbol versioning (copied from libssp). 12401 # Check for symbol versioning (copied from libssp).
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5 12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12341 $as_echo_n "checking whether symbol versioning is supported... " >&6; } 12403 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12342 if test x$gcc_no_link = xyes; then 12404 # Check whether --enable-symvers was given.
12343 # If we cannot link, we cannot build shared libraries, so do not use 12405 if test "${enable_symvers+set}" = set; then :
12344 # symbol versioning. 12406 enableval=$enable_symvers; quadmath_use_symver=$enableval
12345 quadmath_use_symver=no 12407 else
12346 else 12408 quadmath_use_symver=yes
12347 save_LDFLAGS="$LDFLAGS" 12409 fi
12348 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map" 12410
12349 cat > conftest.map <<EOF 12411 if test "x$quadmath_use_symver" != xno; then
12412 if test x$gcc_no_link = xyes; then
12413 # If we cannot link, we cannot build shared libraries, so do not use
12414 # symbol versioning.
12415 quadmath_use_symver=no
12416 else
12417 save_LDFLAGS="$LDFLAGS"
12418 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12419 cat > conftest.map <<EOF
12350 FOO_1.0 { 12420 FOO_1.0 {
12351 global: *foo*; bar; local: *; 12421 global: *foo*; bar; local: *;
12352 }; 12422 };
12353 EOF 12423 EOF
12354 if test x$gcc_no_link = xyes; then 12424 if test x$gcc_no_link = xyes; then
12355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12356 fi 12426 fi
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */ 12428 /* end confdefs.h. */
12359 int foo; 12429 int foo;
12370 else 12440 else
12371 quadmath_use_symver=no 12441 quadmath_use_symver=no
12372 fi 12442 fi
12373 rm -f core conftest.err conftest.$ac_objext \ 12443 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext 12444 conftest$ac_exeext conftest.$ac_ext
12375 if test x$quadmath_use_symver = xno; then 12445 if test x$quadmath_use_symver = xno; then
12376 case "$target_os" in 12446 case "$target_os" in
12377 solaris2*) 12447 solaris2*)
12378 LDFLAGS="$save_LDFLAGS" 12448 LDFLAGS="$save_LDFLAGS"
12379 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map" 12449 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12380 # Sun ld cannot handle wildcards and treats all entries as undefined. 12450 # Sun ld cannot handle wildcards and treats all entries as undefined.
12381 cat > conftest.map <<EOF 12451 cat > conftest.map <<EOF
12382 FOO_1.0 { 12452 FOO_1.0 {
12383 global: foo; local: *; 12453 global: foo; local: *;
12384 }; 12454 };
12385 EOF 12455 EOF
12386 if test x$gcc_no_link = xyes; then 12456 if test x$gcc_no_link = xyes; then
12387 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12388 fi 12458 fi
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */ 12460 /* end confdefs.h. */
12391 int foo; 12461 int foo;
12402 else 12472 else
12403 quadmath_use_symver=no 12473 quadmath_use_symver=no
12404 fi 12474 fi
12405 rm -f core conftest.err conftest.$ac_objext \ 12475 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext 12476 conftest$ac_exeext conftest.$ac_ext
12407 ;; 12477 ;;
12408 esac 12478 esac
12479 fi
12480 LDFLAGS="$save_LDFLAGS"
12409 fi 12481 fi
12410 LDFLAGS="$save_LDFLAGS"
12411 fi 12482 fi
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5 12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12413 $as_echo "$quadmath_use_symver" >&6; } 12484 $as_echo "$quadmath_use_symver" >&6; }
12414 if test "x$quadmath_use_symver" != xno; then 12485 if test "x$quadmath_use_symver" != xno; then
12415 LIBQUAD_USE_SYMVER_TRUE= 12486 LIBQUAD_USE_SYMVER_TRUE=
12443 else 12514 else
12444 if test x$gcc_no_link = xyes; then 12515 if test x$gcc_no_link = xyes; then
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */ 12517 /* end confdefs.h. */
12447 12518
12519 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12448 typedef _Complex float __attribute__((mode(TC))) __complex128; 12520 typedef _Complex float __attribute__((mode(TC))) __complex128;
12521 #else
12522 typedef _Complex float __attribute__((mode(KC))) __complex128;
12523 #endif
12449 12524
12450 __float128 foo (__float128 x) 12525 __float128 foo (__float128 x)
12451 { 12526 {
12452 12527
12453 __complex128 z1, z2; 12528 __complex128 z1, z2;
12490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 12565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12491 fi 12566 fi
12492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12493 /* end confdefs.h. */ 12568 /* end confdefs.h. */
12494 12569
12570 #if (!defined(_ARCH_PPC)) || defined(__LONG_DOUBLE_IEEE128__)
12495 typedef _Complex float __attribute__((mode(TC))) __complex128; 12571 typedef _Complex float __attribute__((mode(TC))) __complex128;
12572 #else
12573 typedef _Complex float __attribute__((mode(KC))) __complex128;
12574 #endif
12496 12575
12497 __float128 foo (__float128 x) 12576 __float128 foo (__float128 x)
12498 { 12577 {
12499 12578
12500 __complex128 z1, z2; 12579 __complex128 z1, z2;
12847 GENINSRC_FALSE='#' 12926 GENINSRC_FALSE='#'
12848 else 12927 else
12849 GENINSRC_TRUE='#' 12928 GENINSRC_TRUE='#'
12850 GENINSRC_FALSE= 12929 GENINSRC_FALSE=
12851 fi 12930 fi
12931
12932
12933 # Determine what GCC version number to use in filesystem paths.
12934
12935 get_gcc_base_ver="cat"
12936
12937 # Check whether --with-gcc-major-version-only was given.
12938 if test "${with_gcc_major_version_only+set}" = set; then :
12939 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
12940 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
12941 fi
12942
12943 fi
12944
12852 12945
12853 12946
12854 12947
12855 ac_config_files="$ac_config_files Makefile" 12948 ac_config_files="$ac_config_files Makefile"
12856 12949
13580 _ACEOF 13673 _ACEOF
13581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13582 # 13675 #
13583 # INIT-COMMANDS 13676 # INIT-COMMANDS
13584 # 13677 #
13678
13679 srcdir="$srcdir"
13680 host="$host"
13681 target="$target"
13682 with_multisubdir="$with_multisubdir"
13683 with_multisrctop="$with_multisrctop"
13684 with_target_subdir="$with_target_subdir"
13685 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13686 multi_basedir="$multi_basedir"
13687 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13688 CC="$CC"
13689 CXX="$CXX"
13690 GFORTRAN="$GFORTRAN"
13585 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13691 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13586 13692
13587 13693
13588 # The HP-UX ksh and POSIX shell print the target directory to stdout 13694 # The HP-UX ksh and POSIX shell print the target directory to stdout
13589 # if CDPATH is set. 13695 # if CDPATH is set.
13842 ofile='$ofile' 13948 ofile='$ofile'
13843 13949
13844 13950
13845 13951
13846 13952
13847 srcdir="$srcdir"
13848 host="$host"
13849 target="$target"
13850 with_multisubdir="$with_multisubdir"
13851 with_multisrctop="$with_multisrctop"
13852 with_target_subdir="$with_target_subdir"
13853 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13854 multi_basedir="$multi_basedir"
13855 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13856 CC="$CC"
13857 CXX="$CXX"
13858 GFORTRAN="$GFORTRAN"
13859 GCJ="$GCJ"
13860
13861 _ACEOF 13953 _ACEOF
13862 13954
13863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13864 13956
13865 # Handling of arguments. 13957 # Handling of arguments.
13866 for ac_config_target in $ac_config_targets 13958 for ac_config_target in $ac_config_targets
13867 do 13959 do
13868 case $ac_config_target in 13960 case $ac_config_target in
13869 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13961 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13962 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13870 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13963 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13871 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13964 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13872 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13873 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13965 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13874 13966
13875 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 13967 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13876 esac 13968 esac
13877 done 13969 done
14453 ;; 14545 ;;
14454 esac 14546 esac
14455 14547
14456 14548
14457 case $ac_file$ac_mode in 14549 case $ac_file$ac_mode in
14550 "default-1":C)
14551 # Only add multilib support code if we just rebuilt the top-level
14552 # Makefile.
14553 case " $CONFIG_FILES " in
14554 *" Makefile "*)
14555 ac_file=Makefile . ${multi_basedir}/config-ml.in
14556 ;;
14557 esac ;;
14458 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14558 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14459 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14559 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14460 # are listed without --file. Let's play safe and only enable the eval 14560 # are listed without --file. Let's play safe and only enable the eval
14461 # if we detect the quoting. 14561 # if we detect the quoting.
14462 case $CONFIG_FILES in 14562 case $CONFIG_FILES in
15187 mv -f "$cfgfile" "$ofile" || 15287 mv -f "$cfgfile" "$ofile" ||
15188 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15288 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15189 chmod +x "$ofile" 15289 chmod +x "$ofile"
15190 15290
15191 ;; 15291 ;;
15192 "default-1":C)
15193 # Only add multilib support code if we just rebuilt the top-level
15194 # Makefile.
15195 case " $CONFIG_FILES " in
15196 *" Makefile "*)
15197 ac_file=Makefile . ${multi_basedir}/config-ml.in
15198 ;;
15199 esac ;;
15200 15292
15201 esac 15293 esac
15202 done # for ac_tag 15294 done # for ac_tag
15203 15295
15204 15296