[113872] trunk/base
cal at macports.org
cal at macports.org
Sun Nov 24 14:27:49 PST 2013
Revision: 113872
https://trac.macports.org/changeset/113872
Author: cal at macports.org
Date: 2013-11-24 14:27:49 -0800 (Sun, 24 Nov 2013)
Log Message:
-----------
configure: regenerate
Modified Paths:
--------------
trunk/base/configure
trunk/base/src/config.h.in
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2013-11-24 22:27:12 UTC (rev 113871)
+++ trunk/base/configure 2013-11-24 22:27:49 UTC (rev 113872)
@@ -640,6 +640,7 @@
STLIB_LD
INCLUDES
subdirs
+TRACEMODE_SUPPORT
SQLITE3_TCL_DIR
LDFLAGS_SQLITE3
CFLAGS_SQLITE3
@@ -9800,6 +9801,74 @@
fi
+# check whether trace mode is supported on this platform
+
+
+
+ for ac_func in kqueue kevent
+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 whether trace mode is supported on this platform" >&5
+$as_echo_n "checking whether trace mode is supported on this platform... " >&6; }
+ if test x"${OS_PLATFORM}" != "xdarwin"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: not darwin, no" >&5
+$as_echo "not darwin, no" >&6; }
+ TRACEMODE_SUPPORT=0
+ elif test x"${ac_cv_func_kqueue}" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: kqueue() not available, no" >&5
+$as_echo "kqueue() not available, no" >&6; }
+ TRACEMODE_SUPPORT=0
+ elif test x"${ac_cv_func_kevent}" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: kevent() not available, no" >&5
+$as_echo "kevent() not available, no" >&6; }
+ TRACEMODE_SUPPORT=0
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+ #include <sys/types.h>
+ #include <sys/event.h>
+ #include <sys/time.h>
+ #ifdef EV_RECEIPT
+ yes_have_ev_receipt
+ #endif
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "yes_have_ev_receipt" >/dev/null 2>&1; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ TRACEMODE_SUPPORT=1
+
+else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: EV_RECEIPT not available, no" >&5
+$as_echo "EV_RECEIPT not available, no" >&6; }
+ TRACEMODE_SUPPORT=0
+
+fi
+rm -f conftest*
+
+ fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_TRACEMODE_SUPPORT $TRACEMODE_SUPPORT
+_ACEOF
+
+
+
# Determine if we need to install some bundled packages
OUR_INCLUDED_PACKAGES=
Modified: trunk/base/src/config.h.in
===================================================================
--- trunk/base/src/config.h.in 2013-11-24 22:27:12 UTC (rev 113871)
+++ trunk/base/src/config.h.in 2013-11-24 22:27:49 UTC (rev 113872)
@@ -83,6 +83,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `kevent' function. */
+#undef HAVE_KEVENT
+
/* Define to 1 if you have the `kqueue' function. */
#undef HAVE_KQUEUE
@@ -244,6 +247,9 @@
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H
+/* Platform supports tracemode. */
+#undef HAVE_TRACEMODE_SUPPORT
+
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131124/57718ed0/attachment-0001.html>
More information about the macports-changes
mailing list