mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
* configure.in: Added AM_MAINTAINER_MODE
Makefile.in, aclocal.m4, configure: Regenerated
This commit is contained in:
parent
175475a8fc
commit
15ae1beecf
22 changed files with 486 additions and 351 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Feb 24 21:43:26 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||
|
||||
* configure.in: Added AM_MAINTAINER_MODE
|
||||
|
||||
Fri Feb 7 17:57:46 1997 Jim Blandy <jimb@floss.cyclic.com>
|
||||
|
||||
* config.sub, config.guess: New versions, that handle i686, etc.
|
||||
|
|
|
@ -37,10 +37,11 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
VERSION = @VERSION@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
PACKAGE = @PACKAGE@
|
||||
MAINT = @MAINT@
|
||||
existingdirs = @existingdirs@
|
||||
VERSION = @VERSION@
|
||||
|
||||
SUBDIRS = @existingdirs@ doc newdoc
|
||||
|
||||
|
@ -67,19 +68,19 @@ TAR = tar
|
|||
default: all
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --gnu Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(srcdir)/aclocal.m4: configure.in
|
||||
$(srcdir)/aclocal.m4: @MAINT@configure.in
|
||||
cd $(srcdir) && aclocal
|
||||
|
||||
config.status: configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && autoconf
|
||||
|
||||
install-aclocalDATA: $(aclocal_DATA)
|
||||
|
|
23
aclocal.m4
vendored
23
aclocal.m4
vendored
|
@ -50,3 +50,26 @@ fi
|
|||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_MAINTAINER_MODE,
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
||||
|
|
28
configure
vendored
28
configure
vendored
|
@ -11,6 +11,9 @@
|
|||
ac_help=
|
||||
ac_default_prefix=/usr/local
|
||||
# Any additions from configure.in:
|
||||
ac_help="$ac_help
|
||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer"
|
||||
|
||||
# Initialize some variables set by options.
|
||||
# The variables have the same names as the options, with
|
||||
|
@ -549,7 +552,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
echo "configure:553: checking for a BSD compatible install" >&5
|
||||
echo "configure:556: checking for a BSD compatible install" >&5
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -615,7 +618,7 @@ cat >> confdefs.h <<EOF
|
|||
EOF
|
||||
|
||||
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
||||
echo "configure:619: checking whether build environment is sane" >&5
|
||||
echo "configure:622: checking whether build environment is sane" >&5
|
||||
echo timestamp > conftestfile
|
||||
# Do this in a subshell so we don't clobber the current shell's
|
||||
# arguments. FIXME: maybe try `-L' hack like GETLOADAVG test?
|
||||
|
@ -649,7 +652,7 @@ test "$program_suffix" != NONE &&
|
|||
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
||||
|
||||
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
||||
echo "configure:653: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
echo "configure:656: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -675,6 +678,24 @@ else
|
|||
SET_MAKE="MAKE=${MAKE-make}"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:683: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
USE_MAINTAINER_MODE=$enableval
|
||||
else
|
||||
USE_MAINTAINER_MODE=no
|
||||
fi
|
||||
|
||||
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
|
||||
|
||||
|
||||
all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
|
||||
req_subdirs=`cat $srcdir/*/PLUGIN/REQ /dev/null | tsort | xargs echo`
|
||||
|
@ -846,6 +867,7 @@ s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
|||
s%@PACKAGE@%$PACKAGE%g
|
||||
s%@VERSION@%$VERSION%g
|
||||
s%@SET_MAKE@%$SET_MAKE%g
|
||||
s%@MAINT@%$MAINT%g
|
||||
s%@subdirs@%$subdirs%g
|
||||
s%@existingdirs@%$existingdirs%g
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ dnl Process this file with autoconf to produce configure.
|
|||
AC_INIT(Makefile.in)
|
||||
. $srcdir/GUILE-VERSION
|
||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
dnl FIXME: tsort, xargs not GNU standard.
|
||||
all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null | tsort | xargs echo`
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||
|
||||
* configure.in: Added AM_MAINTAINER_MODE
|
||||
|
||||
Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
|
||||
|
||||
* boot-9.scm (read-sharp): define directly, don't go through a
|
||||
|
|
|
@ -37,10 +37,11 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
module = @module@
|
||||
PACKAGE = @PACKAGE@
|
||||
MAINT = @MAINT@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
@ -65,19 +66,19 @@ TAR = tar
|
|||
default: all
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --foreign Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(srcdir)/aclocal.m4: configure.in
|
||||
$(srcdir)/aclocal.m4: @MAINT@configure.in
|
||||
cd $(srcdir) && aclocal
|
||||
|
||||
config.status: configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && autoconf
|
||||
|
||||
install-subpkgdataDATA: $(subpkgdata_DATA)
|
||||
|
|
23
ice-9/aclocal.m4
vendored
23
ice-9/aclocal.m4
vendored
|
@ -62,3 +62,26 @@ fi
|
|||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_MAINTAINER_MODE,
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
||||
|
|
28
ice-9/configure
vendored
28
ice-9/configure
vendored
|
@ -11,6 +11,9 @@
|
|||
ac_help=
|
||||
ac_default_prefix=/usr/local
|
||||
# Any additions from configure.in:
|
||||
ac_help="$ac_help
|
||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer"
|
||||
|
||||
# Initialize some variables set by options.
|
||||
# The variables have the same names as the options, with
|
||||
|
@ -548,7 +551,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
echo "configure:552: checking for a BSD compatible install" >&5
|
||||
echo "configure:555: checking for a BSD compatible install" >&5
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -616,7 +619,7 @@ cat >> confdefs.h <<EOF
|
|||
EOF
|
||||
|
||||
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
||||
echo "configure:620: checking whether build environment is sane" >&5
|
||||
echo "configure:623: checking whether build environment is sane" >&5
|
||||
echo timestamp > conftestfile
|
||||
# Do this in a subshell so we don't clobber the current shell's
|
||||
# arguments. FIXME: maybe try `-L' hack like GETLOADAVG test?
|
||||
|
@ -650,7 +653,7 @@ test "$program_suffix" != NONE &&
|
|||
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
||||
|
||||
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
||||
echo "configure:654: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
echo "configure:657: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -697,6 +700,24 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|||
|
||||
module=ice-9
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:705: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
USE_MAINTAINER_MODE=$enableval
|
||||
else
|
||||
USE_MAINTAINER_MODE=no
|
||||
fi
|
||||
|
||||
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
|
||||
|
||||
trap '' 1 2 15
|
||||
cat > confcache <<\EOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
|
@ -847,6 +868,7 @@ s%@PACKAGE@%$PACKAGE%g
|
|||
s%@VERSION@%$VERSION%g
|
||||
s%@SET_MAKE@%$SET_MAKE%g
|
||||
s%@module@%$module%g
|
||||
s%@MAINT@%$MAINT%g
|
||||
|
||||
CEOF
|
||||
EOF
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
#
|
||||
|
||||
AC_INIT(boot-9.scm)
|
||||
AM_INIT_GUILE_MODULE(ice-9)
|
||||
AC_OUTPUT(Makefile)
|
|
@ -1,3 +1,11 @@
|
|||
Tue Feb 25 00:14:10 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||
|
||||
* unif.c (scm_init_unif): Added #include "unif.x". (There are two
|
||||
scm_init_unif in this file. This will also fix a previous problem
|
||||
with guile-snarf.)
|
||||
|
||||
* configure.in: Added AM_MAINTAINER_MODE
|
||||
|
||||
Fri Feb 21 23:07:26 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||
|
||||
* gdb_interface.h (GDB_INTERFACE): Added some (void *) casts to
|
||||
|
|
|
@ -37,20 +37,21 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
host_triplet = @host@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
RANLIB = @RANLIB@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
AWK = @AWK@
|
||||
module = @module@
|
||||
LIBLOBJS = @LIBLOBJS@
|
||||
CC = @CC@
|
||||
PACKAGE = @PACKAGE@
|
||||
ERRNO_EXTRACT = @ERRNO_EXTRACT@
|
||||
FD_SETTER = @FD_SETTER@
|
||||
LIBLOBJS = @LIBLOBJS@
|
||||
AWK = @AWK@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
VERSION = @VERSION@
|
||||
module = @module@
|
||||
CC = @CC@
|
||||
RANLIB = @RANLIB@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
xtra_PLUGIN_guile_libs = @xtra_PLUGIN_guile_libs@
|
||||
PACKAGE = @PACKAGE@
|
||||
MAINT = @MAINT@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
@ -132,7 +133,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|||
LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@
|
||||
DATA = $(modinclude_DATA)
|
||||
|
||||
HEADERS = $(include_HEADERS) $(modinclude_HEADERS)
|
||||
HEADERS = $(modinclude_HEADERS) $(include_HEADERS)
|
||||
|
||||
DIST_COMMON = COPYING ChangeLog Makefile.am Makefile.in acconfig.h \
|
||||
acinclude.m4 aclocal.m4 configure configure.in fd.h.in guile-snarf.in \
|
||||
|
@ -167,19 +168,19 @@ default: all
|
|||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o .lo .x
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --foreign Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(srcdir)/aclocal.m4: configure.in acinclude.m4
|
||||
$(srcdir)/aclocal.m4: @MAINT@configure.in acinclude.m4
|
||||
cd $(srcdir) && aclocal
|
||||
|
||||
config.status: configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && autoconf
|
||||
|
||||
$(CONFIG_HEADER): stamp-h
|
||||
|
@ -188,7 +189,7 @@ stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status
|
|||
&& CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) \
|
||||
$(SHELL) ./config.status
|
||||
@echo timestamp > stamp-h
|
||||
$(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
|
||||
$(srcdir)/$(CONFIG_HEADER_IN): @MAINT@stamp-h.in
|
||||
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL) acconfig.h
|
||||
cd $(top_srcdir) && autoheader
|
||||
echo timestamp > $(srcdir)/stamp-h.in
|
||||
|
@ -296,19 +297,6 @@ uninstall-modincludeDATA:
|
|||
rm -f $(modincludedir)/$$p; \
|
||||
done
|
||||
|
||||
install-includeHEADERS: $(include_HEADERS)
|
||||
$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(includedir)
|
||||
@list="$(include_HEADERS)"; for p in $$list; do \
|
||||
echo "$(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p; \
|
||||
done
|
||||
|
||||
uninstall-includeHEADERS:
|
||||
list="$(include_HEADERS)"; for p in $$list; do \
|
||||
rm -f $(includedir)/$$p; \
|
||||
done
|
||||
|
||||
install-modincludeHEADERS: $(modinclude_HEADERS)
|
||||
$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(modincludedir)
|
||||
|
@ -322,6 +310,19 @@ uninstall-modincludeHEADERS:
|
|||
rm -f $(modincludedir)/$$p; \
|
||||
done
|
||||
|
||||
install-includeHEADERS: $(include_HEADERS)
|
||||
$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(includedir)
|
||||
@list="$(include_HEADERS)"; for p in $$list; do \
|
||||
echo "$(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p"; \
|
||||
$(INSTALL_DATA) $(srcdir)/$$p $(includedir)/$$p; \
|
||||
done
|
||||
|
||||
uninstall-includeHEADERS:
|
||||
list="$(include_HEADERS)"; for p in $$list; do \
|
||||
rm -f $(includedir)/$$p; \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES)
|
||||
|
@ -418,21 +419,21 @@ installcheck:
|
|||
install-exec: install-libPROGRAMS install-binSCRIPTS
|
||||
$(NORMAL_INSTALL)
|
||||
|
||||
install-data: install-modincludeDATA install-includeHEADERS install-modincludeHEADERS
|
||||
install-data: install-modincludeDATA install-modincludeHEADERS install-includeHEADERS
|
||||
$(NORMAL_INSTALL)
|
||||
|
||||
install: install-exec install-data all
|
||||
@:
|
||||
|
||||
uninstall: uninstall-libPROGRAMS uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-includeHEADERS uninstall-modincludeHEADERS
|
||||
uninstall: uninstall-libPROGRAMS uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-modincludeHEADERS uninstall-includeHEADERS
|
||||
|
||||
all: $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) Makefile scmconfig.h
|
||||
|
||||
install-strip:
|
||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
||||
installdirs:
|
||||
$(mkinstalldirs) $(libdir) $(bindir) $(modincludedir) $(includedir) \
|
||||
$(modincludedir)
|
||||
$(mkinstalldirs) $(libdir) $(bindir) $(modincludedir) $(modincludedir) \
|
||||
$(includedir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
@ -477,10 +478,10 @@ install-libPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
|||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
||||
clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
|
||||
install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \
|
||||
uninstall-includeHEADERS install-includeHEADERS \
|
||||
uninstall-modincludeHEADERS install-modincludeHEADERS tags \
|
||||
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||
uninstall-modincludeHEADERS install-modincludeHEADERS \
|
||||
uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
|
||||
distclean-tags clean-tags maintainer-clean-tags distdir \
|
||||
mostlyclean-depend distclean-depend clean-depend \
|
||||
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||
|
|
31
libguile/aclocal.m4
vendored
31
libguile/aclocal.m4
vendored
|
@ -135,7 +135,31 @@ fi
|
|||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# serial 1 AM_PROG_LIBTOOL
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_MAINTAINER_MODE,
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
# serial 2 AM_PROG_LIBTOOL
|
||||
AC_DEFUN(AM_PROG_LIBTOOL,
|
||||
[AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_REQUIRE([AC_PROG_CC])
|
||||
|
@ -155,6 +179,11 @@ libtool_flags="$libtool_shared"
|
|||
test "$silent" = yes && libtool_flags="$libtool_flags --silent"
|
||||
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
|
||||
|
||||
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
||||
case "$host" in
|
||||
*-*-sco3.2v5*) CFLAGS="$CFLAGS -belf" ;;
|
||||
esac
|
||||
|
||||
# Actually configure libtool. ac_aux_dir is where install-sh is found.
|
||||
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LD="$LD" RANLIB="$RANLIB" \
|
||||
$ac_aux_dir/ltconfig $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|
||||
|
|
311
libguile/configure
vendored
311
libguile/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,7 @@
|
|||
AC_INIT(eval.c)
|
||||
AM_CONFIG_HEADER(scmconfig.h)
|
||||
AM_INIT_GUILE_MODULE(libguile)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
#
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Mon Feb 24 21:47:16 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||
|
||||
* configure.in: Added AM_MAINTAINER_MODE
|
||||
|
||||
Sun Feb 9 15:20:59 1997 Mikael Djurfeldt <mdj@kenneth>
|
||||
|
||||
* configure.in: Added changequote(,) before the host case (since
|
||||
|
|
|
@ -37,21 +37,22 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
host_triplet = @host@
|
||||
host_alias = @host_alias@
|
||||
target_libs = @target_libs@
|
||||
VERSION = @VERSION@
|
||||
host_triplet = @host@
|
||||
RANLIB = @RANLIB@
|
||||
module = @module@
|
||||
qtmd_h = @qtmd_h@
|
||||
CC = @CC@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmds_o = @qtmds_o@
|
||||
qtmdc_o = @qtmdc_o@
|
||||
RANLIB = @RANLIB@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
target_libs = @target_libs@
|
||||
qtmds_s = @qtmds_s@
|
||||
PACKAGE = @PACKAGE@
|
||||
qtmd_h = @qtmd_h@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
MAINT = @MAINT@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
@ -97,19 +98,19 @@ default: all
|
|||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --foreign Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(srcdir)/aclocal.m4: configure.in
|
||||
$(srcdir)/aclocal.m4: @MAINT@configure.in
|
||||
cd $(srcdir) && aclocal
|
||||
|
||||
config.status: configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
$(srcdir)/configure: @MAINT@configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && autoconf
|
||||
qt.h: $(top_builddir)/config.status qt.h.in
|
||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
||||
|
|
23
qt/aclocal.m4
vendored
23
qt/aclocal.m4
vendored
|
@ -62,6 +62,29 @@ fi
|
|||
rm -f conftest*
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Add --enable-maintainer-mode option to configure.
|
||||
# From Jim Meyering
|
||||
|
||||
# serial 1
|
||||
|
||||
AC_DEFUN(AM_MAINTAINER_MODE,
|
||||
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
dnl maintainer-mode is disabled by default
|
||||
AC_ARG_ENABLE(maintainer-mode,
|
||||
[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer],
|
||||
USE_MAINTAINER_MODE=$enableval,
|
||||
USE_MAINTAINER_MODE=no)
|
||||
AC_MSG_RESULT($USE_MAINTAINER_MODE)
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
AC_SUBST(MAINT)dnl
|
||||
]
|
||||
)
|
||||
|
||||
dnl
|
||||
dnl CY_AC_WITH_THREADS determines which thread library the user intends
|
||||
dnl to put underneath guile. Pass it the path to find the guile top-level
|
||||
|
|
108
qt/configure
vendored
108
qt/configure
vendored
|
@ -11,6 +11,9 @@
|
|||
ac_help=
|
||||
ac_default_prefix=/usr/local
|
||||
# Any additions from configure.in:
|
||||
ac_help="$ac_help
|
||||
--enable-maintainer-mode enable make rules and dependencies not useful
|
||||
(and sometimes confusing) to the casual installer"
|
||||
ac_help="$ac_help
|
||||
--with-threads thread interface"
|
||||
|
||||
|
@ -550,7 +553,7 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|||
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
||||
# ./install, which can be erroneously created by make from ./install.sh.
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
echo "configure:554: checking for a BSD compatible install" >&5
|
||||
echo "configure:557: checking for a BSD compatible install" >&5
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -618,7 +621,7 @@ cat >> confdefs.h <<EOF
|
|||
EOF
|
||||
|
||||
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
||||
echo "configure:622: checking whether build environment is sane" >&5
|
||||
echo "configure:625: checking whether build environment is sane" >&5
|
||||
echo timestamp > conftestfile
|
||||
# Do this in a subshell so we don't clobber the current shell's
|
||||
# arguments. FIXME: maybe try `-L' hack like GETLOADAVG test?
|
||||
|
@ -652,7 +655,7 @@ test "$program_suffix" != NONE &&
|
|||
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
||||
|
||||
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
||||
echo "configure:656: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
echo "configure:659: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
||||
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -699,11 +702,29 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|||
|
||||
module=qt
|
||||
|
||||
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
|
||||
echo "configure:707: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
||||
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
||||
if test "${enable_maintainer_mode+set}" = set; then
|
||||
enableval="$enable_maintainer_mode"
|
||||
USE_MAINTAINER_MODE=$enableval
|
||||
else
|
||||
USE_MAINTAINER_MODE=no
|
||||
fi
|
||||
|
||||
echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
|
||||
if test $USE_MAINTAINER_MODE = yes; then
|
||||
MAINT=
|
||||
else
|
||||
MAINT='#M#'
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Extract the first word of "gcc", so it can be a program name with args.
|
||||
set dummy gcc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:707: checking for $ac_word" >&5
|
||||
echo "configure:728: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -732,7 +753,7 @@ if test -z "$CC"; then
|
|||
# Extract the first word of "cc", so it can be a program name with args.
|
||||
set dummy cc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:736: checking for $ac_word" >&5
|
||||
echo "configure:757: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -780,7 +801,7 @@ fi
|
|||
fi
|
||||
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
||||
echo "configure:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
echo "configure:805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
||||
|
||||
ac_ext=c
|
||||
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
||||
|
@ -790,11 +811,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
|
|||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 794 "configure"
|
||||
#line 815 "configure"
|
||||
#include "confdefs.h"
|
||||
main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
if { (eval echo configure:819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
# If we can't run a trivial program, we are probably using a cross compiler.
|
||||
if (./conftest; exit) 2>/dev/null; then
|
||||
|
@ -814,12 +835,12 @@ if test $ac_cv_prog_cc_works = no; then
|
|||
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
||||
fi
|
||||
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
||||
echo "configure:818: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
||||
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
||||
cross_compiling=$ac_cv_prog_cc_cross
|
||||
|
||||
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
||||
echo "configure:823: checking whether we are using GNU C" >&5
|
||||
echo "configure:844: checking whether we are using GNU C" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -828,7 +849,7 @@ else
|
|||
yes;
|
||||
#endif
|
||||
EOF
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
||||
ac_cv_prog_gcc=yes
|
||||
else
|
||||
ac_cv_prog_gcc=no
|
||||
|
@ -843,7 +864,7 @@ if test $ac_cv_prog_gcc = yes; then
|
|||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS=
|
||||
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
||||
echo "configure:847: checking whether ${CC-cc} accepts -g" >&5
|
||||
echo "configure:868: checking whether ${CC-cc} accepts -g" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -871,7 +892,7 @@ else
|
|||
fi
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
echo "configure:875: checking how to run the C preprocessor" >&5
|
||||
echo "configure:896: checking how to run the C preprocessor" >&5
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
||||
|
@ -886,13 +907,13 @@ else
|
|||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||
# not just through cpp.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 890 "configure"
|
||||
#line 911 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -903,13 +924,13 @@ else
|
|||
rm -rf conftest*
|
||||
CPP="${CC-cc} -E -traditional-cpp"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 907 "configure"
|
||||
#line 928 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <assert.h>
|
||||
Syntax Error
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out`
|
||||
if test -z "$ac_err"; then
|
||||
:
|
||||
|
@ -934,7 +955,7 @@ echo "$ac_t""$CPP" 1>&6
|
|||
# Extract the first word of "ranlib", so it can be a program name with args.
|
||||
set dummy ranlib; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:938: checking for $ac_word" >&5
|
||||
echo "configure:959: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -963,7 +984,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking "threads package type"""... $ac_c" 1>&6
|
||||
echo "configure:967: checking "threads package type"" >&5
|
||||
echo "configure:988: checking "threads package type"" >&5
|
||||
if eval "test \"`echo '$''{'cy_cv_threads_package'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -1022,27 +1043,6 @@ if test "$use_threads" != no; then
|
|||
LDFLAGS="-L$use_threads/lib"
|
||||
LIBS="-lgthreads -lmalloc"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1026 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <pthread.h>
|
||||
int main() {
|
||||
|
||||
pthread_equal(NULL,NULL);
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
threads_package=FSU
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
if test "$threads_package" = unknown; then
|
||||
LIBS="-lpthread"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1047 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <pthread.h>
|
||||
|
@ -1054,7 +1054,7 @@ pthread_equal(NULL,NULL);
|
|||
EOF
|
||||
if { (eval echo configure:1056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
threads_package=MIT
|
||||
threads_package=FSU
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
|
@ -1062,7 +1062,7 @@ fi
|
|||
rm -f conftest*
|
||||
fi
|
||||
if test "$threads_package" = unknown; then
|
||||
LIBS="-lpthreads"
|
||||
LIBS="-lpthread"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1068 "configure"
|
||||
#include "confdefs.h"
|
||||
|
@ -1074,6 +1074,27 @@ pthread_equal(NULL,NULL);
|
|||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
threads_package=MIT
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
if test "$threads_package" = unknown; then
|
||||
LIBS="-lpthreads"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1089 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <pthread.h>
|
||||
int main() {
|
||||
|
||||
pthread_equal(NULL,NULL);
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||
rm -rf conftest*
|
||||
threads_package=PCthreads
|
||||
else
|
||||
|
@ -1117,7 +1138,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
|||
fi
|
||||
|
||||
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
||||
echo "configure:1121: checking host system type" >&5
|
||||
echo "configure:1142: checking host system type" >&5
|
||||
|
||||
host_alias=$host
|
||||
case "$host_alias" in
|
||||
|
@ -1345,6 +1366,7 @@ s%@PACKAGE@%$PACKAGE%g
|
|||
s%@VERSION@%$VERSION%g
|
||||
s%@SET_MAKE@%$SET_MAKE%g
|
||||
s%@module@%$module%g
|
||||
s%@MAINT@%$MAINT%g
|
||||
s%@CC@%$CC%g
|
||||
s%@CPP@%$CPP%g
|
||||
s%@RANLIB@%$RANLIB%g
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
AC_INIT(qt.c)
|
||||
AM_INIT_GUILE_MODULE(qt)
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_RANLIB
|
||||
|
||||
CY_AC_WITH_THREADS
|
||||
|
||||
threads_enabled=false
|
||||
if test "$cy_cv_threads_package" = COOP; then
|
||||
threads_enabled=true
|
||||
fi
|
||||
|
||||
# Determine the host we are working on
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
changequote(,)dnl We use [ and ] in a regexp in the case
|
||||
case "$host" in
|
||||
i[3456]86-*-*)
|
||||
qtmds_s=$srcdir/md/i386.s
|
||||
qtmd_h=$srcdir/md/i386.h
|
||||
qtmdc_c=$srcdir/md/null.c
|
||||
;;
|
||||
mips-sgi-irix5*)
|
||||
qtmds_s=$srcdir/md/mips-irix5.s
|
||||
qtmd_h=$srcdir/md/mips.h
|
||||
qtmdc_c=$srcdir/md/null.c
|
||||
qtdmdb_s=$srcdir/md/mips_b.s
|
||||
;;
|
||||
mips-*-*)
|
||||
qtmds_s=$srcdir/md/mips.s
|
||||
qtmd_h=$srcdir/md/mips.h
|
||||
qtmdc_c=$srcdir/md/null.c
|
||||
qtdmdb_s=$srcdir/md/mips_b.s
|
||||
;;
|
||||
sparc-sun-solaris2.*)
|
||||
qtmd_h=$srcdir/md/sparc.h
|
||||
qtmdc_c=$srcdir/md/null.c
|
||||
qtmds_s=$srcdir/md/sparc.s
|
||||
qtdmdb_s=$srcdir/md/sparc_b.s
|
||||
;;
|
||||
sparc-*-*)
|
||||
qtmd_h=$srcdir/md/sparc.h
|
||||
qtmdc_c=$srcdir/md/null.c
|
||||
qtmds_s=$srcdir/md/_sparc.s
|
||||
qtdmdb_s=$srcdir/md/_sparc_b.s
|
||||
;;
|
||||
*)
|
||||
echo "Unknown configuration; threads package disabled"
|
||||
threads_enabled=false
|
||||
;;
|
||||
esac
|
||||
changequote([, ])
|
||||
|
||||
|
||||
if $threads_enabled; then
|
||||
target_libs=libqt.a
|
||||
else
|
||||
target_libs=
|
||||
fi
|
||||
|
||||
# Give the Makefile the names of the object files that will be
|
||||
# generated by compiling $qtmdc_c and $qtmds_s.
|
||||
qtmdc_o="`echo ${qtmdc_c} | sed -e 's:^.*/::' | sed -e 's:\.c$:\.o:'`"
|
||||
qtmds_o="`echo ${qtmds_s} | sed -e 's:^.*/::' | sed -e 's:\.s$:\.o:'`"
|
||||
|
||||
AC_SUBST(target_libs)
|
||||
AC_SUBST(qtmd_h)
|
||||
AC_SUBST(qtmdc_c)
|
||||
AC_SUBST(qtmdc_o)
|
||||
AC_SUBST(qtmds_s)
|
||||
AC_SUBST(qtmds_o)
|
||||
AC_SUBST(qtmdb_s)
|
||||
|
||||
AC_OUTPUT(Makefile qt.h md/Makefile time/Makefile)
|
|
@ -37,21 +37,22 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
host_triplet = @host@
|
||||
host_alias = @host_alias@
|
||||
target_libs = @target_libs@
|
||||
VERSION = @VERSION@
|
||||
host_triplet = @host@
|
||||
RANLIB = @RANLIB@
|
||||
module = @module@
|
||||
qtmd_h = @qtmd_h@
|
||||
CC = @CC@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmds_o = @qtmds_o@
|
||||
qtmdc_o = @qtmdc_o@
|
||||
RANLIB = @RANLIB@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
target_libs = @target_libs@
|
||||
qtmds_s = @qtmds_s@
|
||||
PACKAGE = @PACKAGE@
|
||||
qtmd_h = @qtmd_h@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
MAINT = @MAINT@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
@ -74,7 +75,7 @@ TAR = tar
|
|||
default: all
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --foreign md/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
|
|
|
@ -37,21 +37,22 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
host_triplet = @host@
|
||||
host_alias = @host_alias@
|
||||
target_libs = @target_libs@
|
||||
VERSION = @VERSION@
|
||||
host_triplet = @host@
|
||||
RANLIB = @RANLIB@
|
||||
module = @module@
|
||||
qtmd_h = @qtmd_h@
|
||||
CC = @CC@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmds_o = @qtmds_o@
|
||||
qtmdc_o = @qtmdc_o@
|
||||
RANLIB = @RANLIB@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
target_libs = @target_libs@
|
||||
qtmds_s = @qtmds_s@
|
||||
PACKAGE = @PACKAGE@
|
||||
qtmd_h = @qtmd_h@
|
||||
qtmdc_c = @qtmdc_c@
|
||||
qtmdb_s = @qtmdb_s@
|
||||
MAINT = @MAINT@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
|
@ -68,7 +69,7 @@ TAR = tar
|
|||
default: all
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL)
|
||||
cd $(top_srcdir) && automake --foreign time/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue