2005-10-04 09:29:43 -04:00
|
|
|
AC_INIT(scsh-ncurses, 1.0)
|
2004-09-07 10:34:15 -04:00
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
|
|
|
|
AC_CONFIG_SRCDIR(configure.in)
|
|
|
|
AC_LANG(C)
|
|
|
|
|
|
|
|
define([PREPEND], [[$2]="$[$2] [$1]"])
|
|
|
|
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
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)
|
|
|
|
|
|
|
|
missing_yp_funs=""
|
|
|
|
|
|
|
|
schemedir='${prefix}'"/scheme"
|
|
|
|
libdir='${prefix}'"/lib"
|
|
|
|
libsysdir='${prefix}'
|
|
|
|
|
|
|
|
AC_SUBST(libdir)
|
|
|
|
AC_SUBST(libsysdir)
|
|
|
|
AC_SUBST(schemedir)
|
|
|
|
AC_SUBST(LIBS)
|
|
|
|
AC_SUBST(CC)
|
2005-10-04 09:29:43 -04:00
|
|
|
AC_OUTPUT([Makefile c/Makefile])
|