2003-11-11 09:19:09 -05:00
|
|
|
AC_INIT(scsh-yp,1.0)
|
|
|
|
AC_CONFIG_SRCDIR(configure.in)
|
2003-11-08 07:40:14 -05:00
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
|
2003-11-11 09:19:09 -05:00
|
|
|
dnl AM_MAINTAINER_MODE
|
|
|
|
|
2003-11-08 07:40:14 -05:00
|
|
|
AC_LIBTOOL_DLOPEN
|
2003-11-11 09:19:09 -05:00
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
AC_LIB_LTDL
|
|
|
|
|
2003-10-30 10:43:43 -05:00
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
AC_ARG_WITH(scsh-includes,
|
|
|
|
AC_HELP_STRING([--with-scsh-includes=DIR],
|
|
|
|
[scsh include files are in DIR [/usr/local/include]]),
|
|
|
|
scsh_includes=$withval,
|
|
|
|
scsh_includes=/usr/local/include)
|
|
|
|
AC_SUBST(scsh_includes)
|
|
|
|
|
|
|
|
AC_ARG_WITH(scsh-libraries,
|
|
|
|
AC_HELP_STRING([--with-scsh-libraries=DIR],
|
|
|
|
[scsh libraries are in DIR [/usr/local/lib/scsh]]),
|
|
|
|
scsh_libraries=$withval,
|
|
|
|
scsh_libraries=/usr/local/lib/scsh)
|
|
|
|
AC_SUBST(scsh_libraries)
|
|
|
|
|
|
|
|
AC_CHECK_FUNCS(yp_get_default_domain yp_bind yp_unbind)
|
|
|
|
AC_CHECK_FUNCS(yperr_string ypprot_err)
|
|
|
|
AC_CHECK_FUNCS(yp_match yp_order)
|
|
|
|
AC_CHECK_FUNCS(yp_master yp_first yp_next)
|
|
|
|
|
|
|
|
AC_SUBST(LIBS)
|
|
|
|
AC_SUBST(CC)
|
2003-11-08 07:40:14 -05:00
|
|
|
AC_OUTPUT([Makefile c/Makefile])
|