Browse Source

autotools: install angel in sbin, support pkglibdir configuration

personal/stbuehler/wip
Stefan Bühler 12 years ago
parent
commit
79ae4427f3
  1. 9
      configure.ac
  2. 2
      src/angel/Makefile.am

9
configure.ac

@ -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)

2
src/angel/Makefile.am

@ -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…
Cancel
Save