2003-03-10 21:49:51 -05:00
|
|
|
#AC_DEFUN(
|
|
|
|
|
|
|
|
AC_INIT
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
AC_PATH_X
|
|
|
|
AC_SUBST(x_includes)
|
|
|
|
AC_SUBST(x_libraries)
|
|
|
|
|
2003-05-16 10:43:26 -04:00
|
|
|
AC_ARG_WITH(scsh-includes, [ --with-scsh-includes=DIR scsh include files are in DIR [/usr/local/include]],
|
2003-05-16 14:27:37 -04:00
|
|
|
scsh_includes=$withval , scsh_includes=/usr/local/include)
|
2003-03-10 21:49:51 -05:00
|
|
|
AC_SUBST(scsh_includes)
|
|
|
|
AC_ARG_WITH(scsh-libraries, [ --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)
|
2003-05-16 10:43:26 -04:00
|
|
|
AC_ARG_WITH(scsh-modules, [ --with-scsh-modules=DIR scsh modules are in DIR [/usr/local/lib/scsh/modules]],
|
2003-05-16 14:27:37 -04:00
|
|
|
scsh_modules=$withval , scsh_modules=/usr/local/lib/scsh/modules)
|
2003-05-16 10:43:26 -04:00
|
|
|
AC_SUBST(scsh_modules)
|
2003-03-10 21:49:51 -05:00
|
|
|
|
|
|
|
#AC_MSG_CHECKING(scsh installation)
|
|
|
|
#AC_CHECK_HEADER(scheme48.h)
|
|
|
|
#AC_CHECK_LIB(scsh/libscsh.a, scsh_access)
|
|
|
|
|
|
|
|
AC_CHECK_LIB(crypt, crypt)
|
|
|
|
AC_CHECK_LIB(dl, dlopen)
|
|
|
|
AC_CHECK_LIB(m, exp)
|
|
|
|
|
|
|
|
#if no_x == 'yes' fail ...
|
|
|
|
|
|
|
|
AC_SUBST(LIBS)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|