mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-03 08:10:31 +02:00
* configure.in: changes for autoconf 2.50.
(AC_PREREQ): require at least autoconf 2.50. (AC_INIT): no longer takes an arg. (AC_CONFIG_SRCDIR): takes arg AC_INIT used to take. (AC_STRUCT_ST_RDEV): changed -> AC_CHECK_MEMBERS. (AC_STRUCT_ST_BLKSIZE): deprecated -> AC_CHECK_MEMBERS. (AC_STRUCT_ST_BLOCKS): use it rather than our version. (AC_CONFIG_FILES): now generated files go here, not in AC_OUTPUT. (AC_CONFIG_COMMANDS): now actions go here, not in AC_OUTPUT. (AC_OUTPUT): no longer takes args.
This commit is contained in:
parent
f02327ae03
commit
237b3247ac
1 changed files with 45 additions and 41 deletions
86
configure.in
86
configure.in
|
@ -20,7 +20,10 @@ dnl along with GUILE; see the file COPYING. If not, write to the
|
|||
dnl Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
dnl Boston, MA 02111-1307, USA.
|
||||
|
||||
AC_INIT(Makefile.in)
|
||||
AC_PREREQ(2.50)
|
||||
|
||||
AC_INIT
|
||||
AC_CONFIG_SRCDIR([Makefile.in])
|
||||
. $srcdir/GUILE-VERSION
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
|
||||
AM_MAINTAINER_MODE
|
||||
|
@ -411,18 +414,10 @@ AC_REPLACE_FUNCS(inet_aton putenv strerror memmove mkstemp)
|
|||
AC_FUNC_ALLOCA
|
||||
if test "$ALLOCA" = "alloca.o"; then LIBOBJS="alloca.o $LIBOBJS"; fi
|
||||
|
||||
AC_STRUCT_ST_RDEV
|
||||
AC_STRUCT_ST_BLKSIZE
|
||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||
AC_CHECK_MEMBERS([struct stat.st_blksize])
|
||||
|
||||
# We could use AC_STRUCT_ST_BLOCKS here, but that adds fileblocks.o to
|
||||
# LIBOBJS, which we don't need. This seems more direct.
|
||||
AC_CACHE_CHECK([for st_blocks in struct stat], ac_cv_struct_st_blocks,
|
||||
[AC_TRY_COMPILE([#include <sys/types.h>
|
||||
#include <sys/stat.h>], [struct stat s; s.st_blocks;],
|
||||
ac_cv_struct_st_blocks=yes, ac_cv_struct_st_blocks=no)])
|
||||
if test $ac_cv_struct_st_blocks = yes; then
|
||||
AC_DEFINE(HAVE_ST_BLOCKS)
|
||||
fi
|
||||
AC_STRUCT_ST_BLOCKS
|
||||
|
||||
AC_CACHE_CHECK([for S_ISLNK in sys/stat.h], ac_cv_macro_S_ISLNK,
|
||||
[AC_TRY_CPP([#include <sys/stat.h>
|
||||
|
@ -603,35 +598,44 @@ AC_SUBST(LIBLOBJS)
|
|||
AC_SUBST(EXTRA_DOT_DOC_FILES)
|
||||
AC_SUBST(EXTRA_DOT_X_FILES)
|
||||
|
||||
AC_OUTPUT([Makefile
|
||||
libguile/Makefile
|
||||
libguile/guile-snarf
|
||||
libguile/guile-doc-snarf
|
||||
libguile/guile-func-name-check
|
||||
libguile/guile-snarf-docs
|
||||
libguile/guile-snarf-docs-texi
|
||||
libguile/versiondat.h
|
||||
ice-9/Makefile
|
||||
oop/Makefile
|
||||
oop/goops/Makefile
|
||||
scripts/Makefile
|
||||
srfi/Makefile
|
||||
qt/Makefile
|
||||
qt/qt.h
|
||||
qt/md/Makefile
|
||||
qt/time/Makefile
|
||||
guile-config/Makefile
|
||||
doc/Makefile
|
||||
examples/Makefile
|
||||
examples/scripts/Makefile
|
||||
examples/box/Makefile
|
||||
examples/box-module/Makefile
|
||||
examples/box-dynamic/Makefile
|
||||
examples/modules/Makefile
|
||||
examples/safe/Makefile
|
||||
check-guile
|
||||
guile-tools],
|
||||
[chmod +x libguile/guile-snarf libguile/guile-doc-snarf libguile/guile-func-name-check libguile/guile-snarf-docs libguile/guile-snarf-docs-texi check-guile guile-tools])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
libguile/Makefile
|
||||
libguile/guile-doc-snarf
|
||||
libguile/guile-func-name-check
|
||||
libguile/guile-snarf-docs
|
||||
libguile/guile-snarf-docs-texi
|
||||
libguile/versiondat.h
|
||||
ice-9/Makefile
|
||||
oop/Makefile
|
||||
oop/goops/Makefile
|
||||
scripts/Makefile
|
||||
srfi/Makefile
|
||||
qt/Makefile
|
||||
qt/qt.h
|
||||
qt/md/Makefile
|
||||
qt/time/Makefile
|
||||
guile-config/Makefile
|
||||
doc/Makefile
|
||||
examples/Makefile
|
||||
examples/scripts/Makefile
|
||||
examples/box/Makefile
|
||||
examples/box-module/Makefile
|
||||
examples/box-dynamic/Makefile
|
||||
examples/modules/Makefile
|
||||
examples/safe/Makefile
|
||||
check-guile
|
||||
guile-tools])
|
||||
|
||||
AC_CONFIG_COMMANDS(default,
|
||||
[ chmod +x libguile/guile-doc-snarf \
|
||||
libguile/guile-func-name-check \
|
||||
libguile/guile-snarf-docs \
|
||||
libguile/guile-snarf-docs-texi \
|
||||
check-guile \
|
||||
guile-tools])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
dnl Local Variables:
|
||||
dnl comment-start: "dnl "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue