]> code.delx.au - pulseaudio/blobdiff - configure.ac
* add some missing "static"s
[pulseaudio] / configure.ac
index ddf0a3411349c00e5f3aea694a7363d35800e467..0a1ebd05e654416e5f6dda29a2aebd3b0fcf4c45 100644 (file)
@@ -6,7 +6,7 @@
 # This file is part of polypaudio.
 #
 # polypaudio is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
+# under the terms of the GNU Lesser General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
@@ -15,7 +15,7 @@
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 # General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License
+# You should have received a copy of the GNU Lesser General Public License
 # along with polypaudio; if not, write to the Free Software Foundation,
 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
 
@@ -37,11 +37,14 @@ fi
 
 # Checks for programs.
 AC_PROG_CC
+
+# libtool stuff
 AC_LIBLTDL_INSTALLABLE
-AC_SUBST(INCLTDL)
+AC_SUBST(LTDLINCL)
 AC_SUBST(LIBLTDL)
 AC_LIBTOOL_DLOPEN
 AC_PROG_LIBTOOL
+AC_CONFIG_SUBDIRS(libltdl)
 
 # Checks for header files.
 AC_HEADER_STDC
@@ -54,6 +57,7 @@ HAVE_X11=0
 test "x$no_x" != "xyes" && HAVE_X11=1
 AC_SUBST(HAVE_X11)
 AM_CONDITIONAL(HAVE_X11, test "x$no_x" != "xyes")
+AC_DEFINE([HAVE_X11], [], [Have X11])
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
@@ -115,6 +119,11 @@ AC_SUBST(GLIB12_LIBS)
 AC_SUBST(HAVE_GLIB12)
 AM_CONDITIONAL([HAVE_GLIB12], [test "x$HAVE_GLIB12" = x1])
 
+AC_PATH_PROG([M4], [m4 gm4], [no])
+if test "x$M4" = xno ; then
+   AC_MSG_ERROR([m4 missing])
+fi
+
 AC_MSG_CHECKING([for tcpwrap library and headers])
 LIBWRAP_LIBS=
 saved_LIBS="$LIBS"