2006-02-02 16:40:20 +01:00
|
|
|
dnl projekname, version, bugsto
|
2006-02-02 16:52:26 +01:00
|
|
|
AC_INIT(hlswmaster, 0.64, [Olaf Rempel <razzor@kopf-tisch.de>])
|
2006-02-02 16:40:20 +01:00
|
|
|
|
|
|
|
dnl same for automake
|
2006-02-02 16:52:26 +01:00
|
|
|
AM_INIT_AUTOMAKE(hlswmaster, 0.64)
|
2006-02-02 16:40:20 +01:00
|
|
|
|
|
|
|
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)
|