34 lines
976 B
Plaintext
34 lines
976 B
Plaintext
AC_INIT(scsh-yp,1.0)
|
|
AC_CONFIG_SRCDIR(configure.in)
|
|
AM_INIT_AUTOMAKE
|
|
|
|
dnl AM_MAINTAINER_MODE
|
|
|
|
AC_LIBTOOL_DLOPEN
|
|
AC_PROG_LIBTOOL
|
|
AC_LIB_LTDL
|
|
|
|
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)
|
|
AC_OUTPUT([Makefile c/Makefile]) |