2
0
Fork 0

autotools: install angel in sbin, support pkglibdir configuration

This commit is contained in:
Stefan Bühler 2009-12-23 01:30:28 +01:00
parent 63eadd22fa
commit 79ae4427f3
2 changed files with 10 additions and 1 deletions

View File

@ -37,6 +37,15 @@ AC_CHECK_HEADERS([ \
sys/un.h \
])
# pkglibdir
AC_ARG_WITH(
[pkglibdir],
AS_HELP_STRING([--with-pkglibdir=dir],
[specify directory for driver files (default LIBDIR/lighttpd)]),
[pkglibdir=$withval],
[pkglibdir=$libdir/lighttpd])
AC_SUBST(pkglibdir)
# Checks for libraries.
# glib/gthread (gthread includes glib)

View File

@ -1,5 +1,5 @@
bin_PROGRAMS=lighttpd-angel
sbin_PROGRAMS=lighttpd-angel
lib_LTLIBRARIES=liblighttpd-sharedangel.la
common_cflags=-I$(top_srcdir)/include -I$(top_builddir)/include