tapset-utrace.cxx task_finder.cxx dwflpp.cxx rpm_finder.cxx \
setupdwfl.cxx csclient.cxx remote.cxx
noinst_HEADERS = sdt_types.h
-stap_LDADD = @stap_LIBS@ @sqlite3_LIBS@
+stap_LDADD = @stap_LIBS@ @sqlite3_LIBS@ @LIBASPRINTF@ @LIBINTL@
stap_DEPENDENCIES =
endif
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
+LIBASPRINTF = @LIBASPRINTF@
+LIBINTL = @LIBINTL@
LIBS = @LIBS@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
@BUILD_TRANSLATOR_TRUE@ csclient.cxx remote.cxx \
@BUILD_TRANSLATOR_TRUE@ $(am__append_13)
@BUILD_TRANSLATOR_TRUE@noinst_HEADERS = sdt_types.h
-@BUILD_TRANSLATOR_TRUE@stap_LDADD = @stap_LIBS@ @sqlite3_LIBS@ \
+@BUILD_TRANSLATOR_TRUE@stap_LDADD = @stap_LIBS@ @sqlite3_LIBS@ -lasprintf \
@BUILD_TRANSLATOR_TRUE@ $(am__append_12) $(am__append_17)
@BUILD_TRANSLATOR_TRUE@stap_DEPENDENCIES = $(am__append_23)
@BUILD_CRASHMOD_TRUE@STAPLOG = staplog.so
# Get extra libs as needed
-LDADD =
+LDADD =
EXAMPLE_SOURCE_DIR = $(srcdir)/testsuite/systemtap.examples
EXAMPLE_META_FILES = $(EXAMPLE_SOURCE_DIR)/*/*.meta
TEST_COV_DIR = coverage
/* have librpm */
#undef HAVE_LIBRPM
-/* have librpmio */
-#undef HAVE_LIBRPMIO
-
/* Define to 1 if you have the `sqlite3' library (-lsqlite3). */
#undef HAVE_LIBSQLITE3
/* configure prefix location */
#undef STAP_PREFIX
+/* I18N the thing */
+#undef LOCALEDIR
+
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
have_librpm="no"
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rpmFreeCrypto in -lrpmio" >&5
-$as_echo_n "checking for rpmFreeCrypto in -lrpmio... " >&6; }
-if test "${ac_cv_lib_rpmio_rpmFreeCrypto+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lrpmio $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 rpmFreeCrypto ();
-int
-main ()
-{
-return rpmFreeCrypto ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_rpmio_rpmFreeCrypto=yes
-else
- ac_cv_lib_rpmio_rpmFreeCrypto=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_rpmio_rpmFreeCrypto" >&5
-$as_echo "$ac_cv_lib_rpmio_rpmFreeCrypto" >&6; }
-if test "x$ac_cv_lib_rpmio_rpmFreeCrypto" = x""yes; then :
-
-
-$as_echo "#define HAVE_LIBRPMIO 1" >>confdefs.h
-
- stap_LIBS="$stap_LIBS -lrpmio"
- have_librpmio="yes"
-else
- have_librpmio="no"
-fi
-
if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
as_fn_error "cannot find librpm" "$LINENO" 5
fi
- if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find librpmio" >&5
-$as_echo "$as_me: WARNING: cannot find librpmio" >&2;}
- fi
fi
fi
+localedir='/usr/share/locale'
+
+cat >>confdefs.h <<_ACEOF
+#define LOCALEDIR "$localedir"
+_ACEOF
+
stap_prefix=$prefix
test "$stap_prefix" = NONE && stap_prefix=$ac_default_prefix
AC_DEFINE([HAVE_LIBRPM],[1],[have librpm])
stap_LIBS="$stap_LIBS -lrpm"
have_librpm="yes"], [have_librpm="no"])
- AC_CHECK_LIB(rpmio, rpmFreeCrypto, [
- AC_DEFINE([HAVE_LIBRPMIO],[1],[have librpmio])
- stap_LIBS="$stap_LIBS -lrpmio"
- have_librpmio="yes"], [have_librpmio="no"])
if test "x$have_librpm" != "xyes" -a "$with_rpm" == "yes"; then
AC_MSG_ERROR([cannot find librpm])
fi
- if test "x$have_librpmio" != "xyes" -a "$with_rpm" == "yes"; then
- AC_MSG_WARN([cannot find librpmio])
- fi
fi
dnl prefix is passed through indirectly in the Makefile.am AM_CPPFLAGS.
dnl Formerly: Don't use this directly (when not given it is set to NONE).
dnl Currently: inline autoconf's later defaulting
+
+localedir=/usr/share/locale
+AC_DEFINE_UNQUOTED(LOCALEDIR, "$localedir", [I18N the thing])
+AC_LIB_LINKFLAGS([asprintf])
+
stap_prefix=$prefix
test "$stap_prefix" = NONE && stap_prefix=$ac_default_prefix
AC_DEFINE_UNQUOTED(STAP_PREFIX, "$stap_prefix", [configure prefix location])