Remove more autohell traces
This commit is contained in:
parent
1e63ba92bb
commit
6a0355ab05
|
@ -1,125 +0,0 @@
|
|||
AC_DEFUN([AC_PROG_SWIG],[
|
||||
AC_PATH_PROG([SWIG],[swig])
|
||||
if test -z "$SWIG" ; then
|
||||
AC_MSG_WARN([cannot find 'swig' program. You should look at http://www.swig.org])
|
||||
SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
|
||||
elif test -n "$1" ; then
|
||||
AC_MSG_CHECKING([for SWIG version])
|
||||
[swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`]
|
||||
AC_MSG_RESULT([$swig_version])
|
||||
if test -n "$swig_version" ; then
|
||||
# Calculate the required version number components
|
||||
[required=$1]
|
||||
[required_major=`echo $required | sed 's/[^0-9].*//'`]
|
||||
if test -z "$required_major" ; then
|
||||
[required_major=0]
|
||||
fi
|
||||
[required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
|
||||
[required_minor=`echo $required | sed 's/[^0-9].*//'`]
|
||||
if test -z "$required_minor" ; then
|
||||
[required_minor=0]
|
||||
fi
|
||||
[required=`echo $required | sed 's/[0-9]*[^0-9]//'`]
|
||||
[required_patch=`echo $required | sed 's/[^0-9].*//'`]
|
||||
if test -z "$required_patch" ; then
|
||||
[required_patch=0]
|
||||
fi
|
||||
# Calculate the available version number components
|
||||
[available=$swig_version]
|
||||
[available_major=`echo $available | sed 's/[^0-9].*//'`]
|
||||
if test -z "$available_major" ; then
|
||||
[available_major=0]
|
||||
fi
|
||||
[available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
|
||||
[available_minor=`echo $available | sed 's/[^0-9].*//'`]
|
||||
if test -z "$available_minor" ; then
|
||||
[available_minor=0]
|
||||
fi
|
||||
[available=`echo $available | sed 's/[0-9]*[^0-9]//'`]
|
||||
[available_patch=`echo $available | sed 's/[^0-9].*//'`]
|
||||
if test -z "$available_patch" ; then
|
||||
[available_patch=0]
|
||||
fi
|
||||
if test $available_major -ne $required_major \
|
||||
-o $available_minor -ne $required_minor \
|
||||
-o $available_patch -lt $required_patch ; then
|
||||
AC_MSG_WARN([SWIG version >= $1 is required. You have $swig_version. You should look at http://www.swig.org])
|
||||
SWIG='echo "Error: SWIG version >= $1 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
|
||||
else
|
||||
AC_MSG_NOTICE([SWIG executable is '$SWIG'])
|
||||
SWIG_LIB=`$SWIG -swiglib`
|
||||
AC_MSG_NOTICE([SWIG library directory is '$SWIG_LIB'])
|
||||
fi
|
||||
else
|
||||
AC_MSG_WARN([cannot determine SWIG version])
|
||||
SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([SWIG_LIB])
|
||||
])
|
||||
|
||||
dnl a macro to check for ability to create python extensions
|
||||
dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
|
||||
dnl function also defines PYTHON_INCLUDES
|
||||
AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
|
||||
[AC_REQUIRE([AM_PATH_PYTHON])
|
||||
AC_MSG_CHECKING(for headers required to compile python extensions)
|
||||
dnl deduce PYTHON_INCLUDES
|
||||
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
||||
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
||||
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
||||
if test "$py_prefix" != "$py_exec_prefix"; then
|
||||
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
|
||||
fi
|
||||
AC_SUBST(PYTHON_INCLUDES)
|
||||
dnl check if the headers exist:
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
|
||||
AC_TRY_CPP([#include <Python.h>],dnl
|
||||
[AC_MSG_RESULT(found)
|
||||
$1],dnl
|
||||
[AC_MSG_RESULT(not found)
|
||||
$2])
|
||||
CPPFLAGS="$save_CPPFLAGS"
|
||||
])
|
||||
|
||||
dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
|
||||
dnl example
|
||||
dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
|
||||
dnl will set SYSCONFDIR to /usr/local/etc
|
||||
|
||||
dnl written by thomas vander stichele
|
||||
|
||||
AC_DEFUN([AS_AC_EXPAND],
|
||||
[
|
||||
EXP_VAR=[$1]
|
||||
FROM_VAR=[$2]
|
||||
|
||||
dnl first expand prefix and exec_prefix if necessary
|
||||
prefix_save=$prefix
|
||||
if test "x$prefix" = "xNONE"; then
|
||||
prefix=/usr/local
|
||||
fi
|
||||
exec_prefix_save=$exec_prefix
|
||||
if test "x$exec_prefix" = "xNONE"; then
|
||||
if test "x$prefix_save" = "xNONE"; then
|
||||
exec_prefix=/usr/local
|
||||
else
|
||||
exec_prefix=$prefix
|
||||
fi
|
||||
fi
|
||||
|
||||
full_var="$FROM_VAR"
|
||||
dnl loop until it doesn't change anymore
|
||||
while true; do
|
||||
new_full_var="`eval echo $full_var`"
|
||||
if test "x$new_full_var" = "x$full_var"; then break; fi
|
||||
full_var=$new_full_var
|
||||
done
|
||||
|
||||
dnl clean up
|
||||
full_var=$new_full_var
|
||||
[$1]=$full_var
|
||||
prefix=$prefix_save
|
||||
exec_prefix=$exec_prefix_save
|
||||
])
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo -n "Generating build files... "
|
||||
|
||||
if ! test -e ltmain.sh; then
|
||||
if test -e /usr/share/libtool/ltmain.sh; then
|
||||
ln -s /usr/share/libtool/ltmain.sh .;
|
||||
else
|
||||
echo "could not link ltmain.sh to this directory; find it and copy/link it to here";
|
||||
fi
|
||||
fi
|
||||
|
||||
touch NEWS README ChangeLog
|
||||
|
||||
libtoolize --copy --force \
|
||||
&& aclocal -I m4 \
|
||||
&& autoheader \
|
||||
&& automake --gnu --add-missing \
|
||||
&& autoconf
|
||||
|
||||
#if test x$1 != x--no-conf; then
|
||||
# if test -e conf; then
|
||||
# sh conf;
|
||||
# fi
|
||||
#fi
|
||||
|
||||
echo "done"
|
|
@ -1 +0,0 @@
|
|||
AM_CPPFLAGS = -I$(top_srcdir)
|
|
@ -1,402 +0,0 @@
|
|||
AC_INIT([LASH],[0.6.0])
|
||||
AC_CONFIG_SRCDIR([lash/types.h])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
AM_INIT_AUTOMAKE
|
||||
#AM_ACLOCAL_INCLUDE([m4])
|
||||
|
||||
|
||||
### Check for programs ###
|
||||
AC_LANG([C])
|
||||
AM_PROG_CC_C_O
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
|
||||
######################
|
||||
### --enable-debug ###
|
||||
######################
|
||||
|
||||
lash_debug="no"
|
||||
AC_MSG_CHECKING([whether to enable debugging output])
|
||||
AC_ARG_ENABLE(debug,
|
||||
[AS_HELP_STRING(--enable-debug, enable debugging output [default=no])],
|
||||
[case "$enableval" in
|
||||
"yes")
|
||||
lash_debug="yes"
|
||||
;;
|
||||
"no")
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([must use --enable-debug(=yes/no) or --disable-debug])
|
||||
;;
|
||||
esac]
|
||||
)
|
||||
if test "x$lash_debug" = "xyes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(LASH_DEBUG, 1, [whether or not to enable debugging output])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
|
||||
########################
|
||||
### --enable-old-api ###
|
||||
########################
|
||||
|
||||
lash_old_api="yes"
|
||||
AC_MSG_CHECKING([whether to enable the old API])
|
||||
AC_ARG_ENABLE(old-api,
|
||||
[AS_HELP_STRING(--enable-old-api, enable the old API [default=yes])],
|
||||
[case "$enableval" in
|
||||
"yes")
|
||||
;;
|
||||
"no")
|
||||
lash_old_api="no"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([must use --enable-old-api(=yes/no) or --disable-old-api])
|
||||
;;
|
||||
esac]
|
||||
)
|
||||
if test "x$lash_old_api" = "xyes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
|
||||
#####################
|
||||
### --with-python ###
|
||||
#####################
|
||||
|
||||
lash_python="yes"
|
||||
AC_MSG_CHECKING([whether to build Python bindings])
|
||||
AC_ARG_WITH(python,
|
||||
[AS_HELP_STRING(--with-python, [build Python bindings [default=yes]])],
|
||||
[case "x$withval" in
|
||||
"xyes")
|
||||
;;
|
||||
"xno")
|
||||
lash_python="no"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([must use --with-python(=yes/no) or --without-python])
|
||||
;;
|
||||
esac]
|
||||
)
|
||||
if test "x$lash_python" = "xyes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi
|
||||
|
||||
|
||||
# Check for all required and selected dependencies. Report all missing
|
||||
# packages in one go so that the user doesn't need to play hit-and-miss.
|
||||
|
||||
MISSING_REQUIRED=""
|
||||
|
||||
HAVE_DBUS="no"
|
||||
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0.0, HAVE_DBUS="yes", [
|
||||
if test "x$MISSING_REQUIRED" != "x"; then
|
||||
MISSING_REQUIRED="$MISSING_REQUIRED
|
||||
D-Bus >= 1.0.0"
|
||||
else
|
||||
MISSING_REQUIRED=" D-Bus >= 1.0.0"
|
||||
fi
|
||||
])
|
||||
|
||||
HAVE_UUID="no"
|
||||
PKG_CHECK_MODULES(UUID, uuid, HAVE_UUID="pc",
|
||||
[
|
||||
AC_CHECK_HEADER(uuid/uuid.h,
|
||||
[
|
||||
AC_CHECK_LIB(uuid, uuid_generate, HAVE_UUID="lib", )
|
||||
],
|
||||
)
|
||||
if test "x$HAVE_UUID" = "xno"
|
||||
then
|
||||
if test "x$MISSING_REQUIRED" != "x"
|
||||
then
|
||||
MISSING_REQUIRED="$MISSING_REQUIRED
|
||||
libuuid (from e2fsprogs)"
|
||||
else
|
||||
MISSING_REQUIRED=" libuuid (from e2fsprogs)"
|
||||
fi
|
||||
fi
|
||||
]
|
||||
)
|
||||
|
||||
HAVE_XML2="no"
|
||||
PKG_CHECK_MODULES(XML2, libxml-2.0 >= 2.0.0, HAVE_XML2="yes", [
|
||||
if test "x$MISSING_REQUIRED" != "x"; then
|
||||
MISSING_REQUIRED="$MISSING_REQUIRED
|
||||
libxml2 >= 2.0.0"
|
||||
else
|
||||
MISSING_REQUIRED=" libxml2 >= 2.0.0"
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
MISSING_OPTIONAL=""
|
||||
|
||||
HAVE_PYTHON=""
|
||||
if test "x$lash_python" = "xyes"; then
|
||||
AM_PATH_PYTHON([2.3], [HAVE_PYTHON="yes"], [HAVE_PYTHON="no"])
|
||||
if test "x$HAVE_PYTHON" = "xyes"; then
|
||||
AM_CHECK_PYTHON_HEADERS(, [HAVE_PYTHON="no"])
|
||||
fi
|
||||
|
||||
if test "x$HAVE_PYTHON" = "xno"; then
|
||||
if test "x$MISSING_OPTIONAL" != "x"; then
|
||||
MISSING_OPTIONAL="$MISSING_OPTIONAL
|
||||
Python >= 2.3"
|
||||
else
|
||||
MISSING_OPTIONAL=" Python >= 2.3"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if test "x$MISSING_REQUIRED" != "x"; then
|
||||
AC_MSG_RESULT([
|
||||
The following required dependencies are missing from your system:
|
||||
|
||||
$MISSING_REQUIRED])
|
||||
fi
|
||||
|
||||
if test "x$MISSING_OPTIONAL" != "x"; then
|
||||
AC_MSG_RESULT([
|
||||
The following optionally selected dependencies are missing from your system:
|
||||
|
||||
$MISSING_OPTIONAL])
|
||||
fi
|
||||
|
||||
if test "x$MISSING_REQUIRED$MISSING_OPTIONAL" != "x"; then
|
||||
AC_MSG_RESULT([
|
||||
Please refer to these websites for further information:
|
||||
])
|
||||
|
||||
if test "x$HAVE_DBUS" = "xno"; then
|
||||
AC_MSG_RESULT([ D-Bus: http://dbus.freedesktop.org/])
|
||||
fi
|
||||
if test "x$HAVE_UUID" = "xno"; then
|
||||
AC_MSG_RESULT([ libuuid: http://e2fsprogs.sourceforge.net/])
|
||||
fi
|
||||
if test "x$HAVE_XML2" = "xno"; then
|
||||
AC_MSG_RESULT([ libxml2: http://xmlsoft.org/])
|
||||
fi
|
||||
if test "x$HAVE_PYTHON" = "xno"; then
|
||||
AC_MSG_RESULT([ Python: http://www.python.org/])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([])
|
||||
|
||||
AC_MSG_ERROR([Missing packages])
|
||||
fi
|
||||
|
||||
|
||||
###############
|
||||
### Old API ###
|
||||
###############
|
||||
|
||||
if test "x$lash_old_api" = "xyes"; then
|
||||
AC_DEFINE(LASH_OLD_API, 1, [whether or not to enable the old API])
|
||||
fi
|
||||
AM_CONDITIONAL(LASH_OLD_API, [test "x$lash_old_api" = "xyes"])
|
||||
|
||||
#############
|
||||
### D-Bus ###
|
||||
#############
|
||||
|
||||
DBUS_VERSION=$(pkg-config --modversion dbus-1)
|
||||
AC_SUBST(DBUS_CFLAGS)
|
||||
AC_SUBST(DBUS_LIBS)
|
||||
AC_DEFINE_UNQUOTED(LASH_DBUS_VERSION, "$DBUS_VERSION", [The version of D-Bus we're compiling against])
|
||||
PC_REQUIRES="$PC_REQUIRES dbus-1"
|
||||
|
||||
AC_ARG_ENABLE(pkg-config-dbus-service-dir,
|
||||
[ --enable-pkg-config-dbus-service-dir force D-Bus service install dir to be one returned by pkg-config ],
|
||||
DBUS_SERVICES_DIR_FORCE_REAL=$enableval , DBUS_SERVICES_DIR_FORCE_REAL=no )
|
||||
|
||||
DBUS_SERVICES_DIR_REAL=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
|
||||
if test "x$DBUS_SERVICES_DIR_FORCE_REAL" = "xyes"
|
||||
then
|
||||
AC_MSG_WARN([overriding D-Bus service install dir])
|
||||
DBUS_SERVICES_DIR="$DBUS_SERVICES_DIR_REAL"
|
||||
else
|
||||
AS_AC_EXPAND(DATADIR, $datadir)
|
||||
DBUS_SERVICES_DIR="$DATADIR/dbus-1/services"
|
||||
fi
|
||||
AC_SUBST(DBUS_SERVICES_DIR)
|
||||
AC_DEFINE_UNQUOTED(DBUS_SERVICES_DIR, "$DBUS_SERVICES_DIR", [Where services dir for DBUS is])
|
||||
|
||||
###############
|
||||
### libuuid ###
|
||||
###############
|
||||
|
||||
if test "x$HAVE_UUID" = "xpc"
|
||||
then
|
||||
UUID_VERSION=$(pkg-config --modversion uuid)
|
||||
PC_REQUIRES="$PC_REQUIRES uuid"
|
||||
else
|
||||
UUID_VERSION="unknown"
|
||||
UUID_CFLAGS=""
|
||||
UUID_LIBS="-luuid"
|
||||
fi
|
||||
AC_SUBST(UUID_CFLAGS)
|
||||
AC_SUBST(UUID_LIBS)
|
||||
AC_DEFINE_UNQUOTED(LASH_UUID_VERSION, "$UUID_VERSION", [The version of libuuid we're compiling against])
|
||||
|
||||
|
||||
###############
|
||||
### libxml2 ###
|
||||
###############
|
||||
|
||||
XML2_VERSION=$(pkg-config --modversion libxml-2.0)
|
||||
AC_SUBST(XML2_CFLAGS)
|
||||
AC_SUBST(XML2_LIBS)
|
||||
AC_DEFINE_UNQUOTED(LASH_XML2_VERSION, "$XML2_VERSION", [The version of libxml2 we're compiling against])
|
||||
PC_REQUIRES="$PC_REQUIRES libxml-2.0"
|
||||
|
||||
|
||||
# Check for optionals
|
||||
|
||||
################
|
||||
### Readline ###
|
||||
################
|
||||
|
||||
lash_readline="yes"
|
||||
VL_LIB_READLINE
|
||||
AC_SUBST(READLINE_LIBS)
|
||||
|
||||
AC_MSG_CHECKING([whether to enable readline])
|
||||
if test "x$vl_cv_lib_readline" != "xno"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE_READLINE, 1, [whether readline library is available])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
lash_readline="no"
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_READLINE, test "x$lash_readline" != "xno")
|
||||
|
||||
|
||||
################
|
||||
### Python ###
|
||||
################
|
||||
|
||||
AM_CONDITIONAL(BUILD_PYLASH, [test "x$HAVE_PYTHON" = "xyes"])
|
||||
|
||||
|
||||
#################
|
||||
### texi2html ###
|
||||
#################
|
||||
|
||||
AC_CHECK_PROG(lash_texi2html, texi2html, "yes", "no")
|
||||
if test x$lash_texi2html = xyes; then
|
||||
AC_MSG_NOTICE([texi2html found, building manual])
|
||||
else
|
||||
AC_MSG_WARN([texi2html not found, manual will not be built])
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_TEXI2HTML, test x$lash_texi2html = xyes)
|
||||
|
||||
|
||||
##########################
|
||||
### --with-project-dir ###
|
||||
##########################
|
||||
|
||||
AC_MSG_CHECKING([where to store projects])
|
||||
AC_ARG_WITH(project-dir,
|
||||
[AS_HELP_STRING(--with-project-dir=DIR, [store projects in $HOME/DIR [default=audio-projects]])],[
|
||||
if test x$withval = xno; then
|
||||
AC_MSG_ERROR([use --with-project-dir=DIR, not --without-project-dir])
|
||||
fi
|
||||
DEFAULT_PROJECT_DIR="$withval";
|
||||
],[
|
||||
DEFAULT_PROJECT_DIR="audio-projects";
|
||||
])
|
||||
AC_DEFINE_UNQUOTED(DEFAULT_PROJECT_DIR, "$DEFAULT_PROJECT_DIR", [Where to store projects])
|
||||
AC_MSG_RESULT($DEFAULT_PROJECT_DIR)
|
||||
|
||||
|
||||
######################
|
||||
### default CFLAGS ###
|
||||
######################
|
||||
|
||||
LASH_CFLAGS=""
|
||||
if test "x$lash_debug" = "xyes"; then
|
||||
LASH_CFLAGS="-g"
|
||||
fi
|
||||
AC_SUBST(LASH_CFLAGS)
|
||||
AC_MSG_CHECKING(LASH_CFLAGS)
|
||||
AC_MSG_RESULT($LASH_CFLAGS)
|
||||
|
||||
# For the manual
|
||||
DATE="`date -u`"
|
||||
AC_SUBST(DATE)
|
||||
|
||||
# For the Requires: line in the PC file
|
||||
AC_SUBST(PC_REQUIRES)
|
||||
AC_SUBST(PACKAGE_VERSION)
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([lash-1.0.pc])
|
||||
AC_CONFIG_FILES([m4/Makefile])
|
||||
AC_CONFIG_FILES([lash/Makefile])
|
||||
AC_CONFIG_FILES([common/Makefile])
|
||||
AC_CONFIG_FILES([dbus/Makefile])
|
||||
AC_CONFIG_FILES([liblash/Makefile])
|
||||
AC_CONFIG_FILES([lashd/Makefile])
|
||||
AC_CONFIG_FILES([icons/Makefile])
|
||||
AC_CONFIG_FILES([pylash/Makefile])
|
||||
|
||||
|
||||
### Print the results ###
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
if test "x$lash_readline" = "xno"; then
|
||||
lash_readline="no (lash_shell will not be built)"
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([
|
||||
LASH Configured
|
||||
|
||||
Readline support: $lash_readline
|
||||
Python bindings: $lash_python
|
||||
HTML manual: $lash_texi2html
|
||||
Debugging output: $lash_debug
|
||||
Support old API: $lash_old_api
|
||||
|
||||
D-Bus version: $DBUS_VERSION
|
||||
libuuid version: $UUID_VERSION
|
||||
libxml2 version: $XML2_VERSION])
|
||||
|
||||
AC_MSG_RESULT([
|
||||
CFLAGS: $CFLAGS
|
||||
|
||||
DBUS_CFLAGS: $DBUS_CFLAGS
|
||||
UUID_CFLAGS: $UUID_CFLAGS
|
||||
XML2_CFLAGS: $XML2_CFLAGS])
|
||||
|
||||
AC_MSG_RESULT([
|
||||
DBUS_LIBS: $DBUS_LIBS
|
||||
UUID_LIBS: $UUID_LIBS
|
||||
XML2_LIBS: $XML2_LIBS])
|
||||
|
||||
if test x$lash_readline = xyes; then
|
||||
AC_MSG_RESULT([ READLINE_LIBS: $READLINE_LIBS])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([
|
||||
Default project store: $DEFAULT_PROJECT_DIR
|
||||
Installation prefix: $prefix
|
||||
D-Bus service install dir: $DBUS_SERVICES_DIR])
|
||||
|
||||
if test "x$DBUS_SERVICES_DIR_REAL" != "x$DBUS_SERVICES_DIR"
|
||||
then
|
||||
AC_MSG_WARN([D-Bus session services directory as reported by pkg-config is $DBUS_SERVICES_DIR_REAL])
|
||||
AC_MSG_WARN([but service file will be installed in $DBUS_SERVICES_DIR])
|
||||
AC_MSG_WARN([You may need to adjust your D-Bus configuration after installing ladish])
|
||||
AC_MSG_WARN([You can override dbus service install dir])
|
||||
AC_MSG_WARN([with --enable-pkg-config-dbus-service-dir option to this script])
|
||||
fi
|
|
@ -1,16 +0,0 @@
|
|||
# aclocal-include.m4
|
||||
#
|
||||
# This macro adds the name macrodir to the set of directories
|
||||
# that `aclocal' searches for macros.
|
||||
|
||||
# serial 1
|
||||
|
||||
dnl AM_ACLOCAL_INCLUDE(macrodir)
|
||||
AC_DEFUN([AM_ACLOCAL_INCLUDE],
|
||||
[
|
||||
AM_CONDITIONAL(INSIDE_GNOME_COMMON, test x = y)
|
||||
|
||||
test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
|
||||
|
||||
for k in $1 ; do ACLOCAL="$ACLOCAL -I $k" ; done
|
||||
])
|
|
@ -1,52 +0,0 @@
|
|||
#
|
||||
# Original version: Copyright © 2008 Ville Laurikari <vl@iki.fi>
|
||||
# http://autoconf-archive.cryp.to/vl_lib_readline.html
|
||||
#
|
||||
# Modified for LASH by Juuso Alasuutari
|
||||
#
|
||||
AC_DEFUN([VL_LIB_READLINE], [
|
||||
AC_CACHE_CHECK([for a readline compatible library],
|
||||
vl_cv_lib_readline, [
|
||||
ORIG_LIBS="$LIBS"
|
||||
for readline_lib in readline edit editline; do
|
||||
for termcap_lib in "" termcap curses ncurses; do
|
||||
if test -z "$termcap_lib"; then
|
||||
TRY_LIB="-l$readline_lib"
|
||||
else
|
||||
TRY_LIB="-l$readline_lib -l$termcap_lib"
|
||||
fi
|
||||
LIBS="$ORIG_LIBS $TRY_LIB"
|
||||
AC_TRY_LINK_FUNC(readline, vl_cv_lib_readline="$TRY_LIB")
|
||||
if test -n "$vl_cv_lib_readline"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -n "$vl_cv_lib_readline"; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
if test -n "$vl_cv_lib_readline"; then
|
||||
READLINE_LIBS="$vl_cv_lib_readline"
|
||||
else
|
||||
vl_cv_lib_readline="no"
|
||||
fi
|
||||
])
|
||||
|
||||
if test "$vl_cv_lib_readline" != "no"; then
|
||||
AC_DEFINE(HAVE_LIBREADLINE, 1,
|
||||
[Define if you have a readline compatible library])
|
||||
AC_CHECK_HEADERS(readline.h readline/readline.h)
|
||||
AC_CACHE_CHECK([whether readline supports history],
|
||||
vl_cv_lib_readline_history, [
|
||||
vl_cv_lib_readline_history="no"
|
||||
AC_TRY_LINK_FUNC(add_history, vl_cv_lib_readline_history="yes")
|
||||
])
|
||||
if test "$vl_cv_lib_readline_history" = "yes"; then
|
||||
AC_DEFINE(HAVE_READLINE_HISTORY, 1,
|
||||
[Define if your readline library has \`add_history'])
|
||||
AC_CHECK_HEADERS(history.h readline/history.h)
|
||||
fi
|
||||
fi
|
||||
|
||||
LIBS="$ORIG_LIBS"
|
||||
])dnl
|
Loading…
Reference in New Issue