OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.64. | 3 # Generated by GNU Autoconf 2.64. |
4 # | 4 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software | 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
7 # Foundation, Inc. | 7 # Foundation, Inc. |
8 # | 8 # |
9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
(...skipping 3902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3913 ac_cpp='$CPP $CPPFLAGS' | 3913 ac_cpp='$CPP $CPPFLAGS' |
3914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3916 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3916 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3917 | 3917 |
3918 | 3918 |
3919 ac_c_preproc_warn_flag=yes | 3919 ac_c_preproc_warn_flag=yes |
3920 | 3920 |
3921 ac_libiberty_warn_cflags= | 3921 ac_libiberty_warn_cflags= |
3922 save_CFLAGS="$CFLAGS" | 3922 save_CFLAGS="$CFLAGS" |
3923 for option in -W -Wall -Wwrite-strings -Wc++-compat \ | 3923 for real_option in -W -Wall -Wwrite-strings -Wc++-compat \ |
3924 -Wstrict-prototypes; do | 3924 -Wstrict-prototypes; do |
| 3925 # Do the check with the no- prefix removed since gcc silently |
| 3926 # accepts any -Wno-* option on purpose |
| 3927 case $real_option in |
| 3928 -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;; |
| 3929 *) option=$real_option ;; |
| 3930 esac |
3925 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` | 3931 as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` |
3926 | 3932 |
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option
" >&5 | 3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option
" >&5 |
3928 $as_echo_n "checking whether $CC supports $option... " >&6; } | 3934 $as_echo_n "checking whether $CC supports $option... " >&6; } |
3929 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then : | 3935 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then : |
3930 $as_echo_n "(cached) " >&6 | 3936 $as_echo_n "(cached) " >&6 |
3931 else | 3937 else |
3932 CFLAGS="$option" | 3938 CFLAGS="$option" |
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3934 /* end confdefs.h. */ | 3940 /* end confdefs.h. */ |
(...skipping 11 matching lines...) Expand all Loading... |
3946 else | 3952 else |
3947 eval "$as_acx_Woption=no" | 3953 eval "$as_acx_Woption=no" |
3948 fi | 3954 fi |
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3950 | 3956 |
3951 fi | 3957 fi |
3952 eval ac_res=\$$as_acx_Woption | 3958 eval ac_res=\$$as_acx_Woption |
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3954 $as_echo "$ac_res" >&6; } | 3960 $as_echo "$ac_res" >&6; } |
3955 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then : | 3961 if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then : |
3956 ac_libiberty_warn_cflags="$ac_libiberty_warn_cflags${ac_libiberty_warn_cflags:
+ }$option" | 3962 ac_libiberty_warn_cflags="$ac_libiberty_warn_cflags${ac_libiberty_warn_cflags:
+ }$real_option" |
3957 fi | 3963 fi |
3958 done | 3964 done |
3959 CFLAGS="$save_CFLAGS" | 3965 CFLAGS="$save_CFLAGS" |
3960 | 3966 |
| 3967 # Do the check with the no- prefix removed from the warning options |
| 3968 # since gcc silently accepts any -Wno-* option on purpose |
3961 if test "$GCC" = yes; then : | 3969 if test "$GCC" = yes; then : |
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedant
ic " >&5 | 3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedant
ic " >&5 |
3963 $as_echo_n "checking whether $CC supports -pedantic ... " >&6; } | 3971 $as_echo_n "checking whether $CC supports -pedantic ... " >&6; } |
3964 if test "${acx_cv_prog_cc_pedantic_+set}" = set; then : | 3972 if test "${acx_cv_prog_cc_pedantic_+set}" = set; then : |
3965 $as_echo_n "(cached) " >&6 | 3973 $as_echo_n "(cached) " >&6 |
3966 else | 3974 else |
3967 save_CFLAGS="$CFLAGS" | 3975 save_CFLAGS="$CFLAGS" |
3968 CFLAGS="-pedantic " | 3976 CFLAGS="-pedantic " |
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3970 /* end confdefs.h. */ | 3978 /* end confdefs.h. */ |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4852 PICFLAG=-fno-common | 4860 PICFLAG=-fno-common |
4853 ;; | 4861 ;; |
4854 alpha*-dec-osf5*) | 4862 alpha*-dec-osf5*) |
4855 # PIC is the default. | 4863 # PIC is the default. |
4856 ;; | 4864 ;; |
4857 hppa*64*-*-hpux*) | 4865 hppa*64*-*-hpux*) |
4858 # PIC is the default for 64-bit PA HP-UX. | 4866 # PIC is the default for 64-bit PA HP-UX. |
4859 ;; | 4867 ;; |
4860 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) | 4868 i[34567]86-*-cygwin* | i[34567]86-*-mingw* | x86_64-*-mingw*) |
4861 ;; | 4869 ;; |
4862 i[34567]86-*-interix3*) | 4870 i[34567]86-*-interix[3-9]*) |
4863 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | 4871 # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
4864 # Instead, we relocate shared libraries at runtime. | 4872 # Instead, we relocate shared libraries at runtime. |
4865 ;; | 4873 ;; |
4866 i[34567]86-*-nto-qnx*) | 4874 i[34567]86-*-nto-qnx*) |
4867 # QNX uses GNU C++, but need to define -shared option too, otherwise | 4875 # QNX uses GNU C++, but need to define -shared option too, otherwise |
4868 # it will coredump. | 4876 # it will coredump. |
4869 PICFLAG='-fPIC -shared' | 4877 PICFLAG='-fPIC -shared' |
4870 ;; | 4878 ;; |
4871 i[34567]86-pc-msdosdjgpp*) | 4879 i[34567]86-pc-msdosdjgpp*) |
4872 # DJGPP does not support shared libraries at all. | 4880 # DJGPP does not support shared libraries at all. |
(...skipping 11 matching lines...) Expand all Loading... |
4884 ;; | 4892 ;; |
4885 | 4893 |
4886 # Some targets support both -fPIC and -fpic, but prefer the latter. | 4894 # Some targets support both -fPIC and -fpic, but prefer the latter. |
4887 # FIXME: Why? | 4895 # FIXME: Why? |
4888 i[34567]86-*-* | x86_64-*-*) | 4896 i[34567]86-*-* | x86_64-*-*) |
4889 PICFLAG=-fpic | 4897 PICFLAG=-fpic |
4890 ;; | 4898 ;; |
4891 m68k-*-*) | 4899 m68k-*-*) |
4892 PICFLAG=-fpic | 4900 PICFLAG=-fpic |
4893 ;; | 4901 ;; |
4894 s390*-*-*) | |
4895 PICFLAG=-fpic | |
4896 ;; | |
4897 # FIXME: Override -fPIC default in libgcc only? | 4902 # FIXME: Override -fPIC default in libgcc only? |
4898 sh-*-linux* | sh[2346lbe]*-*-linux*) | 4903 sh-*-linux* | sh[2346lbe]*-*-linux*) |
4899 PICFLAG=-fpic | 4904 PICFLAG=-fpic |
4900 ;; | 4905 ;; |
4901 # FIXME: Simplify to sh*-*-netbsd*? | 4906 # FIXME: Simplify to sh*-*-netbsd*? |
4902 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ | 4907 sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ |
4903 sh64-*-netbsd* | sh64l*-*-netbsd*) | 4908 sh64-*-netbsd* | sh64l*-*-netbsd*) |
4904 PICFLAG=-fpic | 4909 PICFLAG=-fpic |
4905 ;; | 4910 ;; |
4906 # Default to -fPIC unless specified otherwise. | 4911 # Default to -fPIC unless specified otherwise. |
(...skipping 1902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6809 rm -f conftest.mmap | 6814 rm -f conftest.mmap |
6810 | 6815 |
6811 fi | 6816 fi |
6812 | 6817 |
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strncmp" >&5 | 6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strncmp" >&5 |
6814 $as_echo_n "checking for working strncmp... " >&6; } | 6819 $as_echo_n "checking for working strncmp... " >&6; } |
6815 if test "${ac_cv_func_strncmp_works+set}" = set; then : | 6820 if test "${ac_cv_func_strncmp_works+set}" = set; then : |
6816 $as_echo_n "(cached) " >&6 | 6821 $as_echo_n "(cached) " >&6 |
6817 else | 6822 else |
6818 if test "$cross_compiling" = yes; then : | 6823 if test "$cross_compiling" = yes; then : |
6819 ac_cv_func_strncmp_works=no | 6824 ac_cv_func_strncmp_works=yes |
6820 else | 6825 else |
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6822 /* end confdefs.h. */ | 6827 /* end confdefs.h. */ |
6823 | 6828 |
6824 /* Test by Jim Wilson and Kaveh Ghazi. | 6829 /* Test by Jim Wilson and Kaveh Ghazi. |
6825 Check whether strncmp reads past the end of its string parameters. */ | 6830 Check whether strncmp reads past the end of its string parameters. */ |
6826 #include <sys/types.h> | 6831 #include <sys/types.h> |
6827 | 6832 |
6828 #ifdef HAVE_FCNTL_H | 6833 #ifdef HAVE_FCNTL_H |
6829 #include <fcntl.h> | 6834 #include <fcntl.h> |
(...skipping 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8258 exec 5>>config.log | 8263 exec 5>>config.log |
8259 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 8264 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
8260 # would make configure fail if this is the last instruction. | 8265 # would make configure fail if this is the last instruction. |
8261 $ac_cs_success || as_fn_exit $? | 8266 $ac_cs_success || as_fn_exit $? |
8262 fi | 8267 fi |
8263 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 8268 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 8269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
8265 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 8270 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
8266 fi | 8271 fi |
8267 | 8272 |
OLD | NEW |