X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=946162b571542c18ba97d9f1f1c2975090a9454b;hb=b65cb493330307f8028e7e8ae88f312cb47842b3;hp=16e49cbc83bf45afe561fc6a1d5f591f13f77405;hpb=9e741d3e8f1def567acb24cefc18bca6919166be;p=oweals%2Fopkg-lede.git diff --git a/configure.ac b/configure.ac index 16e49cb..946162b 100644 --- a/configure.ac +++ b/configure.ac @@ -3,6 +3,7 @@ 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_CONFIG_HEADER(libopkg/config.h) @@ -10,6 +11,10 @@ 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 @@ -30,9 +35,9 @@ 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 @@ -253,6 +258,9 @@ fi AC_SUBST(opkglibdir) AC_SUBST(opkgetcdir) +# Setup output beautifier. +SHAVE_INIT([shave], [enable]) + AC_OUTPUT( Makefile libopkg/Makefile @@ -260,5 +268,8 @@ AC_OUTPUT( src/Makefile libbb/Makefile utils/Makefile + utils/update-alternatives libopkg.pc + shave/shave + shave/shave-libtool )