gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-286


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-2867-gc182937
Date: Fri, 29 Dec 2017 05:56:38 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.2-stable has been updated
       via  c182937de92dc028a12a6c9350773dced1841751 (commit)
      from  fb0b2663915846fb275ce9c04b78370c6bf9f2e4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=c182937de92dc028a12a6c9350773dced1841751

commit c182937de92dc028a12a6c9350773dced1841751
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Dec 29 12:56:09 2017 +0200

    Fix finding fmod in extension/configure.ac.

diff --git a/extension/ChangeLog b/extension/ChangeLog
index 5fd1757..06eedf3 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,10 @@
+2017-12-29         Arnold D. Robbins     <address@hidden>
+
+       * configure.ac (fmod): Put AC_SEARCH_LIBS before the call
+       to AC_CHECK_FUNCS and put fmod back into that list. Finally
+       causes config.h to have the correct check for HAVE_FMOD.
+       Thanks again to Michal Jaegermann <address@hidden>.
+
 2017-12-28         Arnold D. Robbins     <address@hidden>
 
        More configuration fixes, mainly for Fedora. Thanks to
@@ -6,7 +13,7 @@
 
        * configure.ac (AC_HEADER_MAJOR): Comment out, no longer works.
        (sys/sysmacros.h, sys/mkdev.h): Check for header existence.
-       (fmod): Check with AC_SEARCH_LIB instead of AC_CHECK_FUNCS.
+       (fmod): Check with AC_SEARCH_LIBs instead of AC_CHECK_FUNCS.
        * filefuncs.c: Rework header inclusion checks and order so
        that we get the `major' macro without warnings on Fedora.
        * fnmatch.c: Ditto.
diff --git a/extension/configh.in b/extension/configh.in
index c2b16d7..2789e1a 100644
--- a/extension/configh.in
+++ b/extension/configh.in
@@ -27,6 +27,9 @@
 /* Define to 1 if you have the `fdopendir' function. */
 #undef HAVE_FDOPENDIR
 
+/* Define to 1 if you have the `fmod' function. */
+#undef HAVE_FMOD
+
 /* Define to 1 if you have the `fnmatch' function. */
 #undef HAVE_FNMATCH
 
diff --git a/extension/configure b/extension/configure
index 854e296..084334e 100755
--- a/extension/configure
+++ b/extension/configure
@@ -12911,20 +12911,6 @@ $as_echo "#define HAVE_MPFR 1" >>confdefs.h
        ;;
 esac
 
-for ac_func in fdopendir fnmatch getdtablesize \
-               gettimeofday nanosleep select statvfs \
-               GetSystemTimeAsFileTime
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmod" 
>&5
 $as_echo_n "checking for library containing fmod... " >&6; }
 if ${ac_cv_search_fmod+:} false; then :
@@ -12981,6 +12967,20 @@ if test "$ac_res" != no; then :
 
 fi
 
+for ac_func in fdopendir fmod fnmatch getdtablesize \
+               gettimeofday nanosleep select statvfs \
+               GetSystemTimeAsFileTime
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
 
 
 
diff --git a/extension/configure.ac b/extension/configure.ac
index 1425933..e8b242a 100644
--- a/extension/configure.ac
+++ b/extension/configure.ac
@@ -96,10 +96,10 @@ case `uname -m` in
        ;;
 esac
 
-AC_CHECK_FUNCS(fdopendir fnmatch getdtablesize \
+AC_SEARCH_LIBS(fmod, m)
+AC_CHECK_FUNCS(fdopendir fmod fnmatch getdtablesize \
                gettimeofday nanosleep select statvfs \
                GetSystemTimeAsFileTime)
-AC_SEARCH_LIBS(fmod, m)
 
 GAWK_FUNC_DIRFD
 GAWK_PREREQ_DIRFD

-----------------------------------------------------------------------

Summary of changes:
 extension/ChangeLog    |  9 ++++++++-
 extension/configh.in   |  3 +++
 extension/configure    | 28 ++++++++++++++--------------
 extension/configure.ac |  4 ++--
 4 files changed, 27 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]