AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
+AC_PROG_MKDIR_P
AC_PROG_RANLIB
# -- Compiler Features --
# Required header files
AC_CHECK_HEADERS([ \
fcntl.h netdb.h netinet/in.h stdlib.h string.h \
- strings.h sys/socket.h sys/time.h unistd.h \
+ strings.h sys/socket.h sys/time.h sys/types.h unistd.h \
],,AC_MSG_ERROR([required C header missing!]))
# Optional header files
# Generate debian/ link if the dpkg command exists
# (read: if we are running on a debian compatible system)
echo "creating Debian-specific links ..."
- test -f debian/rules || ln -s contrib/Debian debian
+ if test ! -f debian/rules -a -f contrib/Debian/rules; then
+ ln -s contrib/Debian debian
+ fi
fi
# -- Result --