]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
update the generated files to be in sync with the source
authorTobias Oetiker <tobi@oetiker.ch>
Fri, 16 Jan 2015 08:12:38 +0000 (09:12 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Fri, 16 Jan 2015 08:12:38 +0000 (09:12 +0100)
configure
src/rrd_config.h.in

index 72ddd2a23eea31c8b72119a7c3d27ece5efffdee..a1250f90ce3535798c5cd43b2e7159e46fe0bdae 100755 (executable)
--- a/configure
+++ b/configure
 fi
 done
 
+for ac_func in sigwaitinfo
+do :
+  ac_fn_c_check_func "$LINENO" "sigwaitinfo" "ac_cv_func_sigwaitinfo"
+if test "x$ac_cv_func_sigwaitinfo" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SIGWAITINFO 1
+_ACEOF
+
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwaitinfo in -lrt" >&5
+$as_echo_n "checking for sigwaitinfo in -lrt... " >&6; }
+if ${ac_cv_lib_rt_sigwaitinfo+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lrt  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sigwaitinfo ();
+int
+main ()
+{
+return sigwaitinfo ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_rt_sigwaitinfo=yes
+else
+  ac_cv_lib_rt_sigwaitinfo=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sigwaitinfo" >&5
+$as_echo "$ac_cv_lib_rt_sigwaitinfo" >&6; }
+if test "x$ac_cv_lib_rt_sigwaitinfo" = xyes; then :
+  LIBS="${LIBS} -lrt"; $as_echo "#define HAVE_SIGWAITINFO 1" >>confdefs.h
 
+fi
+
+fi
+done
 
 
 if test "x$enable_mmap" = "xyes"; then
@@ -18225,59 +18276,6 @@ $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
         fi
 
 
-ac_fn_c_check_func "$LINENO" "sigwaitinfo" "ac_cv_func_sigwaitinfo"
-if test "x$ac_cv_func_sigwaitinfo" = xyes; then :
-  $as_echo "#define HAVE_SIGWAITINFO 1" >>confdefs.h
-
-else
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigwaitinfo in -lrt" >&5
-$as_echo_n "checking for sigwaitinfo in -lrt... " >&6; }
-if ${ac_cv_lib_rt_sigwaitinfo+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lrt  $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sigwaitinfo ();
-int
-main ()
-{
-return sigwaitinfo ();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_rt_sigwaitinfo=yes
-else
-  ac_cv_lib_rt_sigwaitinfo=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sigwaitinfo" >&5
-$as_echo "$ac_cv_lib_rt_sigwaitinfo" >&6; }
-if test "x$ac_cv_lib_rt_sigwaitinfo" = xyes; then :
-
-
-$as_echo "#define HAVE_SIGWAITINFO 1" >>confdefs.h
-
-
-fi
-
-
-fi
-
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sigwait has 2 arguments" >&5
 $as_echo_n "checking whether sigwait has 2 arguments... " >&6; }
index 66f2f3762ff337951b4fbfcbe8755c7479b85496..a0dd14706e264cda8ed10d9ea8bac23e6bf4c9bc 100644 (file)
 /* have two argument posix sigwait */
 #undef HAVE_SIGWAIT
 
-/* have sigwaitinfo in librt */
+/* Define to 1 if you have the `sigwaitinfo' function. */
 #undef HAVE_SIGWAITINFO
 
 /* Define to 1 if you have the `snprintf' function. */