mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
ltmain.sh, and missing from subdirectories. Autoconf automatically looks in the parent directory for these files. I had to copy the files depcomp, ltmain.sh, and missing into the root of the source tree.
24 lines
503 B
Plaintext
24 lines
503 B
Plaintext
AC_PREREQ(2.13)
|
|
AC_INIT([nselib.h])
|
|
|
|
AC_PROG_CC
|
|
|
|
# we want to compile lua modules written in C - which are shared libraries
|
|
# therefore disable building static libs - we shouldn't need them
|
|
AC_DISABLE_STATIC
|
|
AC_LIBTOOL_DLOPEN
|
|
AC_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL)
|
|
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
# needed for lua-includes
|
|
AC_CHECK_HEADER([lua.h],,[AC_MSG_NOTICE(using lua-includefiles provided with nmap);[LUAINCLUDE=-I../liblua/]],)
|
|
AC_SUBST(LUAINCLUDE)
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|
|
|