31 lines
657 B
Plaintext
31 lines
657 B
Plaintext
AC_INIT(scsh-ncurses, 1.0)
|
|
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)
|
|
AC_OUTPUT([Makefile c/Makefile])
|