hlswmaster/configure.in

37 lines
796 B
Plaintext
Raw Normal View History

dnl projekname, version, bugsto
AC_INIT(hlswmaster, 0.64, [Olaf Rempel <razzor@kopf-tisch.de>])
dnl same for automake
AM_INIT_AUTOMAKE(hlswmaster, 0.64)
dnl do not rebuild configure
AM_MAINTAINER_MODE
dnl request autoconf 2.57
AC_PREREQ(2.57)
dnl libtool stuff
AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
dnl store config here
AC_CONFIG_HEADER(config.h)
dnl check compiler
AC_PROG_CC
AC_LANG_C
dnl check headers
AC_HEADER_STDC
AC_CHECK_HEADERS(sys/ioctl.h, , AC_MSG_ERROR(sys/ioctl.h is missing) )
AC_CHECK_HEADERS(dlfcn.h, , AC_MSG_ERROR(dlfcn.h is missing) )
AC_CHECK_HEADERS(pthread.h, , AC_MSG_ERROR(pthread.h is missing) )
dnl check install-sh, make env
AC_PROG_INSTALL
AC_PROG_MAKE_SET
dnl generate Makefile
AC_OUTPUT(Makefile src/Makefile plugins/Makefile tools/Makefile)