Bump version number.
[oweals/opkg-lede.git] / configure.ac
index df58817735031c4c40d3d8d27d866c36dc229edd..1dbd369729326d7a86a8c4bac47a6b4f3dee2965 100644 (file)
@@ -3,13 +3,18 @@ AC_INIT(libopkg/libopkg.c)
 
 AC_CONFIG_AUX_DIR([conf])
 AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_MACRO_DIR([shave])
 
-AM_INIT_AUTOMAKE([opkg], [0.1.6])
+AM_INIT_AUTOMAKE([opkg], [0.1.7])
 AM_CONFIG_HEADER(libopkg/config.h)
 
 AC_CANONICAL_HOST
 AC_GNU_SOURCE 
 
+# Disable C++/Fortran checks
+define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])
+define([AC_LIBTOOL_LANG_F77_CONFIG], [:])
+
 
 for top_builddir in . .. ../.. $ac_auxdir $ac_auxdir/..; do
   test -f $top_builddir/configure && break
@@ -26,12 +31,13 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 AM_PROG_INSTALL_STRIP
 AC_PROG_LIBTOOL
+PKG_PROG_PKG_CONFIG([0.20])
 
 # Checks for libraries
 
-dnl extra argument: --with-pathfinder
+dnl extra argument: --enable-pathfinder
 AC_ARG_ENABLE(pathfinder,
-              AC_HELP_STRING([--with-pathfinder], [With libpathfinder support.
+              AC_HELP_STRING([--enable-pathfinder], [Enable libpathfinder support.
       [[default=no]] ]),
     [want_pathfinder="$enableval"], [want_pathfinder="no"])
 dnl Check for libpathfinder
@@ -252,6 +258,9 @@ fi
 AC_SUBST(opkglibdir)
 AC_SUBST(opkgetcdir)
 
+# Setup output beautifier.
+SHAVE_INIT([shave], [enable])
+
 AC_OUTPUT(
     Makefile
     libopkg/Makefile
@@ -259,5 +268,8 @@ AC_OUTPUT(
     src/Makefile
     libbb/Makefile
     utils/Makefile
+    utils/update-alternatives
     libopkg.pc
+    shave/shave
+    shave/shave-libtool
     )