diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-29 13:17:05 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-08-29 13:17:05 +0000 |
commit | aa7e5a7047edf77a7b0e875ed5ab6e76df123911 (patch) | |
tree | b925f5bb01c19b8f75e593ebc7adf270ecef3822 /libgfortran/configure | |
parent | 49125e0e2a6966389edd2290d29b2cb06187c693 (diff) | |
download | gcc-aa7e5a7047edf77a7b0e875ed5ab6e76df123911.tar.gz |
* acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT.
* configure.ac: Remove checks for strcasestr, execl, close,
getrlimit, readlink, getppid, powl, erfl, j0l, j1l, y0l, y1l,
tgammal, and lgammal.
* config.h.in: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/configure')
-rwxr-xr-x | libgfortran/configure | 444 |
1 files changed, 2 insertions, 442 deletions
diff --git a/libgfortran/configure b/libgfortran/configure index c236320f07d..546a5a9b55e 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -2569,12 +2569,8 @@ as_fn_append ac_func_list " ttyname" as_fn_append ac_func_list " alarm" as_fn_append ac_func_list " access" as_fn_append ac_func_list " fork" -as_fn_append ac_func_list " execl" as_fn_append ac_func_list " setmode" -as_fn_append ac_func_list " close" as_fn_append ac_func_list " fcntl" -as_fn_append ac_func_list " strcasestr" -as_fn_append ac_func_list " getrlimit" as_fn_append ac_func_list " gettimeofday" as_fn_append ac_func_list " stat" as_fn_append ac_func_list " fstat" @@ -2588,10 +2584,8 @@ as_fn_append ac_func_list " gmtime_r" as_fn_append ac_func_list " getpwuid_r" as_fn_append ac_func_list " ttyname_r" as_fn_append ac_func_list " clock_gettime" -as_fn_append ac_func_list " readlink" as_fn_append ac_func_list " getgid" as_fn_append ac_func_list " getpid" -as_fn_append ac_func_list " getppid" as_fn_append ac_func_list " getuid" as_fn_append ac_func_list " geteuid" as_fn_append ac_func_list " umask" @@ -12369,7 +12363,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12372 "configure" +#line 12366 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12475,7 +12469,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12478 "configure" +#line 12472 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16494,9 +16488,6 @@ $as_echo "#define HAVE_STRTOF 1" >>confdefs.h $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h -$as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h - - $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h @@ -16636,18 +16627,6 @@ done - - - - - - - - - - - - fi # Check strerror_r, cannot be above as versions with two and three arguments exist @@ -20882,54 +20861,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5 -$as_echo_n "checking for powl... " >&6; } -if test "${gcc_cv_math_func_powl+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())powl; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_powl=yes -else - gcc_cv_math_func_powl=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5 -$as_echo "$gcc_cv_math_func_powl" >&6; } - if test $gcc_cv_math_func_powl = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5 $as_echo_n "checking for cpowf... " >&6; } if test "${gcc_cv_math_func_cpowf+set}" = set; then : @@ -23330,54 +23261,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5 -$as_echo_n "checking for erfl... " >&6; } -if test "${gcc_cv_math_func_erfl+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())erfl; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_erfl=yes -else - gcc_cv_math_func_erfl=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5 -$as_echo "$gcc_cv_math_func_erfl" >&6; } - if test $gcc_cv_math_func_erfl = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_ERFL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5 $as_echo_n "checking for erfcf... " >&6; } if test "${gcc_cv_math_func_erfcf+set}" = set; then : @@ -23618,54 +23501,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5 -$as_echo_n "checking for j0l... " >&6; } -if test "${gcc_cv_math_func_j0l+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())j0l; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_j0l=yes -else - gcc_cv_math_func_j0l=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5 -$as_echo "$gcc_cv_math_func_j0l" >&6; } - if test $gcc_cv_math_func_j0l = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_J0L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5 $as_echo_n "checking for j1f... " >&6; } if test "${gcc_cv_math_func_j1f+set}" = set; then : @@ -23762,54 +23597,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5 -$as_echo_n "checking for j1l... " >&6; } -if test "${gcc_cv_math_func_j1l+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())j1l; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_j1l=yes -else - gcc_cv_math_func_j1l=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5 -$as_echo "$gcc_cv_math_func_j1l" >&6; } - if test $gcc_cv_math_func_j1l = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_J1L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5 $as_echo_n "checking for jnf... " >&6; } if test "${gcc_cv_math_func_jnf+set}" = set; then : @@ -24050,54 +23837,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5 -$as_echo_n "checking for y0l... " >&6; } -if test "${gcc_cv_math_func_y0l+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())y0l; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_y0l=yes -else - gcc_cv_math_func_y0l=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5 -$as_echo "$gcc_cv_math_func_y0l" >&6; } - if test $gcc_cv_math_func_y0l = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_Y0L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5 $as_echo_n "checking for y1f... " >&6; } if test "${gcc_cv_math_func_y1f+set}" = set; then : @@ -24194,54 +23933,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5 -$as_echo_n "checking for y1l... " >&6; } -if test "${gcc_cv_math_func_y1l+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())y1l; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_y1l=yes -else - gcc_cv_math_func_y1l=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5 -$as_echo "$gcc_cv_math_func_y1l" >&6; } - if test $gcc_cv_math_func_y1l = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_Y1L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5 $as_echo_n "checking for ynf... " >&6; } if test "${gcc_cv_math_func_ynf+set}" = set; then : @@ -24482,54 +24173,6 @@ _ACEOF - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5 -$as_echo_n "checking for tgammal... " >&6; } -if test "${gcc_cv_math_func_tgammal+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())tgammal; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_tgammal=yes -else - gcc_cv_math_func_tgammal=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5 -$as_echo "$gcc_cv_math_func_tgammal" >&6; } - if test $gcc_cv_math_func_tgammal = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_TGAMMAL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5 $as_echo_n "checking for lgamma... " >&6; } if test "${gcc_cv_math_func_lgamma+set}" = set; then : @@ -24624,54 +24267,6 @@ _ACEOF fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5 -$as_echo_n "checking for lgammal... " >&6; } -if test "${gcc_cv_math_func_lgammal+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - if test x$gcc_no_link = xyes; then - as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#ifdef HAVE_COMPLEX_H -#include <complex.h> -#endif -#ifdef HAVE_MATH_H -#include <math.h> -#endif - -int (*ptr)() = (int (*)())lgammal; - -int -main () -{ - return 0; -} - -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_math_func_lgammal=yes -else - gcc_cv_math_func_lgammal=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5 -$as_echo "$gcc_cv_math_func_lgammal" >&6; } - if test $gcc_cv_math_func_lgammal = yes; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_LGAMMAL 1 -_ACEOF - - fi - - # Check for GFORTRAN_C99_1.1 funcs @@ -26280,41 +25875,6 @@ $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5 -$as_echo_n "checking whether the target supports dllexport... " >&6; } -if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -Werror" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -void __attribute__((dllexport)) foo(void) { } -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - libgfor_cv_have_attribute_dllexport=yes -else - libgfor_cv_have_attribute_dllexport=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - CFLAGS="$save_CFLAGS" -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5 -$as_echo "$libgfor_cv_have_attribute_dllexport" >&6; } - if test $libgfor_cv_have_attribute_dllexport = yes; then - -$as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5 $as_echo_n "checking whether the target supports symbol aliases... " >&6; } if test "${libgfor_cv_have_attribute_alias+set}" = set; then : |