configure.ac: Add --with--ffcall-include=PATH and

--with-ffcall-library=PATH options


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16955 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2003-06-18 14:43:32 +00:00
parent bdc39efa59
commit c921482b85
3 changed files with 50 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
* configure.ac: Add --with--ffcall-include=PATH and
--with-ffcall-library=PATH options
2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Implement -description for nodes.
@ -6,7 +11,7 @@
* GNUmakefile (SUBPROJECTS): Add Documentation
2003-06-17 Chris Vetter <chrisv@web4inc.com?
2003-06-17 Chris Vetter <chrisv@web4inc.com>
* Tools/AGSHtml.m: Tidy up formatting of author output.

28
configure vendored
View file

@ -839,6 +839,8 @@ Optional Features:
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-ffcall-include=PATH include path for ffcall headers
--with-ffcall-library=PATH library path for ffcall libraries
--with-xml-prefix=PFX Prefix where libxml is installed (optional)
--with-gmp-include=PATH include path for gmp headers
--with-gmp-library=PATH library path for gmp libraries
@ -11072,6 +11074,32 @@ else
enable_do=yes
fi;
# Check whether --with-ffcall-include or --without-ffcall-include was given.
if test "${with_ffcall_include+set}" = set; then
withval="$with_ffcall_include"
ffcall_incdir="$withval"
else
ffcall_incdir="no"
fi;
if test ${ffcall_incdir} != "no"; then
ffcall_check_lib_save_cppflags="$CPPFLAGS"
CPPFLAGS="-I${ffcall_incdir} $CPPFLAGS"
fi
# Check whether --with-ffcall-library or --without-ffcall-library was given.
if test "${with_ffcall_library+set}" = set; then
withval="$with_ffcall_library"
ffcall_libdir="$withval"
else
ffcall_libdir="no"
fi;
if test ${ffcall_libdir} != "no"; then
ffcall_check_lib_save_libs="$LIBS"
LIBS="-L${ffcall_libdir} $LIBS"
fi
if test "${ac_cv_header_ffi_h+set}" = set; then
echo "$as_me:$LINENO: checking for ffi.h" >&5
echo $ECHO_N "checking for ffi.h... $ECHO_C" >&6

View file

@ -860,6 +860,22 @@ AC_ARG_ENABLE(do,
[ --disable-do Compile even if DO-dependencies are not met],,
enable_do=yes)
AC_ARG_WITH(ffcall-include,
[ --with-ffcall-include=PATH include path for ffcall headers],
ffcall_incdir="$withval", ffcall_incdir="no")
if test ${ffcall_incdir} != "no"; then
ffcall_check_lib_save_cppflags="$CPPFLAGS"
CPPFLAGS="-I${ffcall_incdir} $CPPFLAGS"
fi
AC_ARG_WITH(ffcall-library,
[ --with-ffcall-library=PATH library path for ffcall libraries],
ffcall_libdir="$withval", ffcall_libdir="no")
if test ${ffcall_libdir} != "no"; then
ffcall_check_lib_save_libs="$LIBS"
LIBS="-L${ffcall_libdir} $LIBS"
fi
AC_CHECK_HEADER(ffi.h, , enable_libffi=no)
AC_MSG_CHECKING("for forwarding callback in runtime")