From: Francois-Xavier Coudert Date: Sat, 29 Aug 2015 13:17:05 +0000 (+0000) Subject: acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4879fba9985f5781c9c9b5bfdd60680519e6c1e1;p=gcc.git acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT. * 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. From-SVN: r227319 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 31481e5fef2..62db347978f 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,12 @@ +2015-08-29 Francois-Xavier Coudert + + * 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. + 2015-08-29 Francois-Xavier Coudert * io/unix.c (min): Remove unused macro. diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4 index 30b8b1a6291..a0975a92a36 100644 --- a/libgfortran/acinclude.m4 +++ b/libgfortran/acinclude.m4 @@ -43,21 +43,6 @@ AC_DEFUN([LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY], [ [Define to 1 if the target supports __attribute__((visibility(...))).]) fi]) -dnl Check whether the target supports dllexport -AC_DEFUN([LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT], [ - AC_CACHE_CHECK([whether the target supports dllexport], - libgfor_cv_have_attribute_dllexport, [ - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -Werror" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[void __attribute__((dllexport)) foo(void) { }]], [])], - libgfor_cv_have_attribute_dllexport=yes, - libgfor_cv_have_attribute_dllexport=no) - CFLAGS="$save_CFLAGS"]) - if test $libgfor_cv_have_attribute_dllexport = yes; then - AC_DEFINE(HAVE_ATTRIBUTE_DLLEXPORT, 1, - [Define to 1 if the target supports __attribute__((dllexport)).]) - fi]) - dnl Check whether the target supports symbol aliases. AC_DEFUN([LIBGFOR_CHECK_ATTRIBUTE_ALIAS], [ AC_CACHE_CHECK([whether the target supports symbol aliases], diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 5dfa7c67a25..70a34b113a1 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -75,9 +75,6 @@ /* Define to 1 if the target supports __attribute__((alias(...))). */ #undef HAVE_ATTRIBUTE_ALIAS -/* Define to 1 if the target supports __attribute__((dllexport)). */ -#undef HAVE_ATTRIBUTE_DLLEXPORT - /* Define to 1 if the target supports __attribute__((visibility(...))). */ #undef HAVE_ATTRIBUTE_VISIBILITY @@ -219,9 +216,6 @@ /* Define to 1 if you have the `clogl' function. */ #undef HAVE_CLOGL -/* Define to 1 if you have the `close' function. */ -#undef HAVE_CLOSE - /* Define to 1 if you have the header file. */ #undef HAVE_COMPLEX_H @@ -330,12 +324,6 @@ /* Define to 1 if you have the `erff' function. */ #undef HAVE_ERFF -/* Define to 1 if you have the `erfl' function. */ -#undef HAVE_ERFL - -/* Define to 1 if you have the `execl' function. */ -#undef HAVE_EXECL - /* Define to 1 if you have the `exp' function. */ #undef HAVE_EXP @@ -462,18 +450,12 @@ /* Define to 1 if you have the `getpid' function. */ #undef HAVE_GETPID -/* Define to 1 if you have the `getppid' function. */ -#undef HAVE_GETPPID - /* Define to 1 if you have the `getpwuid' function. */ #undef HAVE_GETPWUID /* Define to 1 if you have the `getpwuid_r' function. */ #undef HAVE_GETPWUID_R -/* Define to 1 if you have the `getrlimit' function. */ -#undef HAVE_GETRLIMIT - /* Define to 1 if you have the `getrusage' function. */ #undef HAVE_GETRUSAGE @@ -510,18 +492,12 @@ /* Define to 1 if you have the `j0f' function. */ #undef HAVE_J0F -/* Define to 1 if you have the `j0l' function. */ -#undef HAVE_J0L - /* Define to 1 if you have the `j1' function. */ #undef HAVE_J1 /* Define to 1 if you have the `j1f' function. */ #undef HAVE_J1F -/* Define to 1 if you have the `j1l' function. */ -#undef HAVE_J1L - /* Define to 1 if you have the `jn' function. */ #undef HAVE_JN @@ -549,9 +525,6 @@ /* Define to 1 if you have the `lgammaf' function. */ #undef HAVE_LGAMMAF -/* Define to 1 if you have the `lgammal' function. */ -#undef HAVE_LGAMMAL - /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM @@ -636,18 +609,12 @@ /* Define to 1 if you have the `powf' function. */ #undef HAVE_POWF -/* Define to 1 if you have the `powl' function. */ -#undef HAVE_POWL - /* Define to 1 if the system has the type `ptrdiff_t'. */ #undef HAVE_PTRDIFF_T /* Define to 1 if you have the header file. */ #undef HAVE_PWD_H -/* Define to 1 if you have the `readlink' function. */ -#undef HAVE_READLINK - /* Define to 1 if you have the `round' function. */ #undef HAVE_ROUND @@ -714,9 +681,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strcasestr' function. */ -#undef HAVE_STRCASESTR - /* Define to 1 if you have the `strerror_l' function. */ #undef HAVE_STRERROR_L @@ -801,9 +765,6 @@ /* Define to 1 if you have the `tgammaf' function. */ #undef HAVE_TGAMMAF -/* Define to 1 if you have the `tgammal' function. */ -#undef HAVE_TGAMMAL - /* Define to 1 if you have the `times' function. */ #undef HAVE_TIMES @@ -852,18 +813,12 @@ /* Define to 1 if you have the `y0f' function. */ #undef HAVE_Y0F -/* Define to 1 if you have the `y0l' function. */ -#undef HAVE_Y0L - /* Define to 1 if you have the `y1' function. */ #undef HAVE_Y1 /* Define to 1 if you have the `y1f' function. */ #undef HAVE_Y1F -/* Define to 1 if you have the `y1l' function. */ -#undef HAVE_Y1L - /* Define to 1 if you have the `yn' function. */ #undef HAVE_YN 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 @@ -16623,18 +16614,6 @@ done - - - - - - - - - - - - @@ -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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 -#endif -#ifdef HAVE_MATH_H -#include -#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 : diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index a6a154126c8..97b91529ebc 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -286,7 +286,6 @@ if test "${hardwire_newlib:-0}" -eq 1; then AC_DEFINE(HAVE_MKSTEMP, 1, [Define if you have mkstemp.]) AC_DEFINE(HAVE_STRTOF, 1, [Define if you have strtof.]) AC_DEFINE(HAVE_SNPRINTF, 1, [Define if you have snprintf.]) - AC_DEFINE(HAVE_STRCASESTR, 1, [Define if you have strcasestr.]) AC_DEFINE(HAVE_VSNPRINTF, 1, [Define if you have vsnprintf.]) AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define if you have localtime_r.]) AC_DEFINE(HAVE_GMTIME_R, 1, [Define if you have gmtime_r.]) @@ -302,10 +301,10 @@ if test "${hardwire_newlib:-0}" -eq 1; then else AC_CHECK_FUNCS_ONCE(getrusage times mkstemp strtof strtold snprintf \ ftruncate chsize chdir getlogin gethostname kill link symlink sleep ttyname \ - alarm access fork execl setmode close fcntl \ - strcasestr getrlimit gettimeofday stat fstat lstat getpwuid vsnprintf dup \ + alarm access fork setmode fcntl \ + gettimeofday stat fstat lstat getpwuid vsnprintf dup \ getcwd localtime_r gmtime_r getpwuid_r ttyname_r clock_gettime \ - readlink getgid getpid getppid getuid geteuid umask getegid \ + getgid getpid getuid geteuid umask getegid \ secure_getenv __secure_getenv mkostemp strnlen strndup newlocale \ freelocale uselocale strerror_l) fi @@ -400,7 +399,6 @@ GCC_CHECK_MATH_FUNC([nextafter]) GCC_CHECK_MATH_FUNC([nextafterl]) GCC_CHECK_MATH_FUNC([powf]) GCC_CHECK_MATH_FUNC([pow]) -GCC_CHECK_MATH_FUNC([powl]) GCC_CHECK_MATH_FUNC([cpowf]) GCC_CHECK_MATH_FUNC([cpow]) GCC_CHECK_MATH_FUNC([cpowl]) @@ -451,34 +449,27 @@ GCC_CHECK_MATH_FUNC([trunc]) GCC_CHECK_MATH_FUNC([truncl]) GCC_CHECK_MATH_FUNC([erff]) GCC_CHECK_MATH_FUNC([erf]) -GCC_CHECK_MATH_FUNC([erfl]) GCC_CHECK_MATH_FUNC([erfcf]) GCC_CHECK_MATH_FUNC([erfc]) GCC_CHECK_MATH_FUNC([erfcl]) GCC_CHECK_MATH_FUNC([j0f]) GCC_CHECK_MATH_FUNC([j0]) -GCC_CHECK_MATH_FUNC([j0l]) GCC_CHECK_MATH_FUNC([j1f]) GCC_CHECK_MATH_FUNC([j1]) -GCC_CHECK_MATH_FUNC([j1l]) GCC_CHECK_MATH_FUNC([jnf]) GCC_CHECK_MATH_FUNC([jn]) GCC_CHECK_MATH_FUNC([jnl]) GCC_CHECK_MATH_FUNC([y0f]) GCC_CHECK_MATH_FUNC([y0]) -GCC_CHECK_MATH_FUNC([y0l]) GCC_CHECK_MATH_FUNC([y1f]) GCC_CHECK_MATH_FUNC([y1]) -GCC_CHECK_MATH_FUNC([y1l]) GCC_CHECK_MATH_FUNC([ynf]) GCC_CHECK_MATH_FUNC([yn]) GCC_CHECK_MATH_FUNC([ynl]) GCC_CHECK_MATH_FUNC([tgamma]) GCC_CHECK_MATH_FUNC([tgammaf]) -GCC_CHECK_MATH_FUNC([tgammal]) GCC_CHECK_MATH_FUNC([lgamma]) GCC_CHECK_MATH_FUNC([lgammaf]) -GCC_CHECK_MATH_FUNC([lgammal]) # Check for GFORTRAN_C99_1.1 funcs GCC_CHECK_MATH_FUNC([cacos]) @@ -599,7 +590,6 @@ fi # Check out attribute support. LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY -LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT LIBGFOR_CHECK_ATTRIBUTE_ALIAS # Check out sync builtins support.