You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
knemo/src/configure.in.in

38 lines
1.2 KiB

AM_INIT_AUTOMAKE(knemo, 0.4.8)
dnl These are common macros that you might or might not want to use
dnl Image readers/writers
dnl If you want to use this test, you have to define it somewhere
dnl KDE_CHECK_KIMGIO
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_TIME
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h stdlib.h paths.h)
AC_CHECK_FUNCS(usleep)
AC_CHECK_LIB(iw,iw_sockets_open)
dnl Check path to ifconfig, iwconfig and route.
AC_PATH_PROG([PATH_IFCONFIG],[ifconfig],,
[$PATH:/sbin:/usr/sbin:/usr/local/sbin])
AC_PATH_PROG([PATH_IWCONFIG],[iwconfig],,
[$PATH:/sbin:/usr/sbin:/usr/local/sbin])
AC_PATH_PROG([PATH_ROUTE],[route],,
[$PATH:/sbin:/usr/sbin:/usr/local/sbin])
if test -n "${PATH_IFCONFIG}"; then
AC_SUBST([PATH_IFCONFIG])
AC_DEFINE_UNQUOTED(PATH_IFCONFIG, "${PATH_IFCONFIG}", [Path of ifconfig program])
fi
if test -n "${PATH_IWCONFIG}"; then
AC_SUBST([PATH_IWCONFIG])
AC_DEFINE_UNQUOTED(PATH_IWCONFIG, "${PATH_IWCONFIG}", [Path of iwconfig program])
fi
if test -n "${PATH_ROUTE}"; then
AC_SUBST([PATH_ROUTE])
AC_DEFINE_UNQUOTED(PATH_ROUTE, "${PATH_ROUTE}", [Path of route program])
fi