autotools: install angel in sbin, support pkglibdir configuration
This commit is contained in:
parent
63eadd22fa
commit
79ae4427f3
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue