if { echo '#if __GNUC__ < 4'
echo ' yes '
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- enable_prologues=no
+ enable_sdt_probes=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
if { echo '#if __GNUC__ < 4'
echo ' yes '
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
- enable_prologues=no
+ enable_sdt_probes=no
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
-[m4_warning([this file was generated for autoconf 2.65.
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
LOCALEDIR="$localedir"
+if test "${enable_sdt_probes+set}" != set; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if sdt probes should be the default" >&5
+$as_echo_n "checking to see if sdt probes should be the default... " >&6; }
+ if { echo '#if __GNUC__ < 4'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ enable_sdt_probes=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+ fi
+fi
# Check whether --enable-sdt-probes was given.
if test "${enable_sdt_probes+set}" = set; then :
enableval=$enable_sdt_probes;
AC_SUBST(PIELDFLAGS)
AC_SUBST(LOCALEDIR, "$localedir")
+if test "${enable_sdt_probes+set}" != set; then
+ AC_MSG_CHECKING([to see if sdt probes should be the default])
+ if { echo '#if __GNUC__ < 4'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ enable_sdt_probes=no
+ AC_MSG_RESULT([no])
+ else
+ AC_MSG_RESULT([yes])
+ fi
+fi
AC_ARG_ENABLE([sdt-probes],
[AS_HELP_STRING([--disable-sdt-probes],
[disable process.mark probes in staprun, stapio])])