Initial python support.
[deliverable/binutils-gdb.git] / gprof / configure.in
index 8ec7a766b7848eaeaf13c5c832e9846ed4f718ae..5913bf1a73582823695f84d5a8c1156be9f29d3e 100644 (file)
@@ -11,8 +11,6 @@ BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[       ]*\([^  ]*\)[   ]*).*/\1/p' < ${
 changequote([,])dnl
 AM_INIT_AUTOMAKE(gprof, ${BFD_VERSION})
 
-AM_PROG_LIBTOOL
-
 dnl For simplicity, we use the BFD configuration file for most
 dnl things.  However, we also need our own configuration file for
 dnl the automake PACKAGE and VERSION macros.  We don't name it
@@ -20,14 +18,19 @@ dnl config.h, to avoid any possible confusion with the bfd config.h.
 AC_CONFIG_HEADERS([gconfig.h:gconfig.in])
 
 AC_PROG_CC
+AC_GNU_SOURCE
 AC_PROG_INSTALL
 
+AM_PROG_LIBTOOL
+
 AC_CHECK_FUNCS(setmode)
 
-ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw"
-CY_GNU_GETTEXT
+ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl"
+ZW_GNU_GETTEXT_SISTER_DIR
+AM_PO_SUBDIRS
 
 AM_MAINTAINER_MODE
+AM_CONDITIONAL(GENINSRC_NEVER, false)
 AC_EXEEXT
 
 AC_CHECK_HEADERS(sys/gmon_out.h)
@@ -42,8 +45,15 @@ if test $gprof_cv_decl_getopt_unistd_h = yes; then
            [Is the prototype for getopt in <unistd.h> in the expected format?])
 fi
 
+# Some systems have fabs only in -lm, not in -lc.
+AC_SEARCH_LIBS(fabs, m)
+
 AM_BINUTILS_WARNINGS
 
+dnl Required by html and install-html
+AC_SUBST(datarootdir)
+AC_SUBST(docdir)
+AC_SUBST(htmldir)
+
 AC_CONFIG_FILES([Makefile po/Makefile.in:po/Make-in])
-AC_CONFIG_COMMANDS([default],[[sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile]],[[]])
 AC_OUTPUT
This page took 0.023109 seconds and 4 git commands to generate.