[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-tcltk Makefile.am Makefile.in acinc...
From: |
Mikael Djurfeldt |
Subject: |
guile/guile-tcltk Makefile.am Makefile.in acinc... |
Date: |
Sun, 17 Nov 2002 21:10:04 -0500 |
CVSROOT: /cvs
Module name: guile
Changes by: Mikael Djurfeldt <address@hidden> 02/11/17 21:10:03
Modified files:
guile-tcltk : Makefile.am Makefile.in acinclude.m4 aclocal.m4
configure configure.in
Log message:
* configure.in: Make thread support test depend on the existence
of scm_internal_select instead of -lqthreads GUILE_LIBS;
Don't update LIBOBJS directly. Instead use AC_LIBOBJ. Later
versions of autoconf demands this.
* Makefile.am (INCLUDES): Define INCLUDES to GUILE_CFLAGS.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/Makefile.am.diff?cvsroot=OldCVS&tr1=1.24&tr2=1.25&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/Makefile.in.diff?cvsroot=OldCVS&tr1=1.53&tr2=1.54&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/acinclude.m4.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/aclocal.m4.diff?cvsroot=OldCVS&tr1=1.26&tr2=1.27&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/configure.diff?cvsroot=OldCVS&tr1=1.43&tr2=1.44&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-tcltk/configure.in.diff?cvsroot=OldCVS&tr1=1.33&tr2=1.34&r1=text&r2=text
Patches:
Index: guile/guile-tcltk/Makefile.am
diff -c guile/guile-tcltk/Makefile.am:1.24 guile/guile-tcltk/Makefile.am:1.25
*** guile/guile-tcltk/Makefile.am:1.24 Sun Nov 17 19:09:37 2002
--- guile/guile-tcltk/Makefile.am Sun Nov 17 21:10:03 2002
***************
*** 11,18 ****
guile-tcl.h guile-tk.h gtcltk-module.c
EXTRA_libguile_tcltk_gtcltk_la_SOURCES = tclInt.h tclUnixPort.h tclUnixNotfy.c
BUILT_SOURCES = guile-tcl.x guile-tk.x
! #libguile_tcltk_gtcltk_la_DEPENDENCIES = @LIBLOBJS@
! #libguile_tcltk_gtcltk_la_LIBADD = @LIBLOBJS@
libguile_tcltk_gtcltk_la_LDFLAGS = -version-info 1:0 -export-dynamic
guile_tcltk_LDADD = libguile-tcltk-gtcltk.la $(GUILE_LIBS)
--- 11,18 ----
guile-tcl.h guile-tk.h gtcltk-module.c
EXTRA_libguile_tcltk_gtcltk_la_SOURCES = tclInt.h tclUnixPort.h tclUnixNotfy.c
BUILT_SOURCES = guile-tcl.x guile-tk.x
! libguile_tcltk_gtcltk_la_DEPENDENCIES = @LIBLOBJS@
! libguile_tcltk_gtcltk_la_LIBADD = @LIBLOBJS@
libguile_tcltk_gtcltk_la_LDFLAGS = -version-info 1:0 -export-dynamic
guile_tcltk_LDADD = libguile-tcltk-gtcltk.la $(GUILE_LIBS)
***************
*** 41,47 ****
## We assume the user has already installed Guile.
SNARF=guile-snarf
.c.x:
! $(SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS) $< > $@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
--- 41,47 ----
## We assume the user has already installed Guile.
SNARF=guile-snarf
.c.x:
! $(SNARF) -o $@ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
Index: guile/guile-tcltk/Makefile.in
diff -c guile/guile-tcltk/Makefile.in:1.53 guile/guile-tcltk/Makefile.in:1.54
*** guile/guile-tcltk/Makefile.in:1.53 Sun Nov 17 18:03:03 2002
--- guile/guile-tcltk/Makefile.in Sun Nov 17 21:10:03 2002
***************
*** 1,6 ****
! # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
! # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
--- 1,8 ----
! # Makefile.in generated by automake 1.7.1 from Makefile.am.
! # @configure_input@
! # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
! # Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
***************
*** 10,94 ****
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
!
! SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
- prefix = @prefix@
- exec_prefix = @exec_prefix@
-
- bindir = @bindir@
- sbindir = @sbindir@
- libexecdir = @libexecdir@
- datadir = @datadir@
- sysconfdir = @sysconfdir@
- sharedstatedir = @sharedstatedir@
- localstatedir = @localstatedir@
- libdir = @libdir@
- infodir = @infodir@
- mandir = @mandir@
- includedir = @includedir@
- oldincludedir = /usr/include
-
- DESTDIR =
-
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
-
top_builddir = .
! ACLOCAL = @ACLOCAL@
! AUTOCONF = @AUTOCONF@
! AUTOMAKE = @AUTOMAKE@
! AUTOHEADER = @AUTOHEADER@
!
INSTALL = @INSTALL@
! INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
! INSTALL_DATA = @INSTALL_DATA@
! INSTALL_SCRIPT = @INSTALL_SCRIPT@
! transform = @program_transform_name@
!
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
- host_alias = @host_alias@
host_triplet = @host@
AMTAR = @AMTAR@
! AS = @AS@
AWK = @AWK@
CC = @CC@
CPP = @CPP@
DEPDIR = @DEPDIR@
- DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
GUILE_CFLAGS = @GUILE_CFLAGS@
GUILE_CONFIG = @GUILE_CONFIG@
GUILE_LDFLAGS = @GUILE_LDFLAGS@
GUILE_LIBS = @GUILE_LIBS@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LIBLOBJS = @LIBLOBJS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
- OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
STRIP = @STRIP@
TCLTKDIR = @TCLTKDIR@
TCL_EXTRA_LIBS = @TCL_EXTRA_LIBS@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
AUTOMAKE_OPTIONS = foreign
--- 12,134 ----
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
! @SET_MAKE@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
! am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
! install_sh_DATA = $(install_sh) -c -m 644
! install_sh_PROGRAM = $(install_sh) -c
! install_sh_SCRIPT = $(install_sh) -c
! INSTALL_HEADER = $(INSTALL_DATA)
! transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = @host@
+ ACLOCAL = @ACLOCAL@
+ AMDEP_FALSE = @AMDEP_FALSE@
+ AMDEP_TRUE = @AMDEP_TRUE@
AMTAR = @AMTAR@
! AUTOCONF = @AUTOCONF@
! AUTOHEADER = @AUTOHEADER@
! AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+ CFLAGS = @CFLAGS@
CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO = @ECHO@
+ ECHO_C = @ECHO_C@
+ ECHO_N = @ECHO_N@
+ ECHO_T = @ECHO_T@
+ EGREP = @EGREP@
EXEEXT = @EXEEXT@
GUILE_CFLAGS = @GUILE_CFLAGS@
GUILE_CONFIG = @GUILE_CONFIG@
GUILE_LDFLAGS = @GUILE_LDFLAGS@
GUILE_LIBS = @GUILE_LIBS@
+ INSTALL_DATA = @INSTALL_DATA@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
LIBLOBJS = @LIBLOBJS@
+ LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
+ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
MAKEINFO = @MAKEINFO@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_STRING = @PACKAGE_STRING@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
RANLIB = @RANLIB@
+ SET_MAKE = @SET_MAKE@
+ SHELL = @SHELL@
STRIP = @STRIP@
TCLTKDIR = @TCLTKDIR@
TCL_EXTRA_LIBS = @TCL_EXTRA_LIBS@
VERSION = @VERSION@
+ X_CFLAGS = @X_CFLAGS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
+ X_LIBS = @X_LIBS@
+ X_PRE_LIBS = @X_PRE_LIBS@
+ ac_ct_CC = @ac_ct_CC@
+ ac_ct_RANLIB = @ac_ct_RANLIB@
+ ac_ct_STRIP = @ac_ct_STRIP@
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__include = @am__include@
am__quote = @am__quote@
+ bindir = @bindir@
+ build = @build@
+ build_alias = @build_alias@
+ build_cpu = @build_cpu@
+ build_os = @build_os@
+ build_vendor = @build_vendor@
+ datadir = @datadir@
+ exec_prefix = @exec_prefix@
+ host = @host@
+ host_alias = @host_alias@
+ host_cpu = @host_cpu@
+ host_os = @host_os@
+ host_vendor = @host_vendor@
+ includedir = @includedir@
+ infodir = @infodir@
install_sh = @install_sh@
+ libdir = @libdir@
+ libexecdir = @libexecdir@
+ localstatedir = @localstatedir@
+ mandir = @mandir@
+ oldincludedir = @oldincludedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
AUTOMAKE_OPTIONS = foreign
***************
*** 97,103 ****
lib_LTLIBRARIES = libguile-tcltk-gtcltk.la libguiledlopenhelper.la
bin_PROGRAMS = guile-tcltk
! libguile_tcltk_gtcltk_la_SOURCES = guile-tcl.c guile-tk.c
guile-tcl.h guile-tk.h gtcltk-module.c
EXTRA_libguile_tcltk_gtcltk_la_SOURCES = tclInt.h tclUnixPort.h tclUnixNotfy.c
BUILT_SOURCES = guile-tcl.x guile-tk.x
--- 137,144 ----
lib_LTLIBRARIES = libguile-tcltk-gtcltk.la libguiledlopenhelper.la
bin_PROGRAMS = guile-tcltk
! libguile_tcltk_gtcltk_la_SOURCES = guile-tcl.c guile-tk.c \
! guile-tcl.h guile-tk.h gtcltk-module.c
EXTRA_libguile_tcltk_gtcltk_la_SOURCES = tclInt.h tclUnixPort.h tclUnixNotfy.c
BUILT_SOURCES = guile-tcl.x guile-tk.x
***************
*** 114,120 ****
modinclude_HEADERS = guile-tcl.h guile-tk.h
subpkgdatadir = @TCLTKDIR@
! subpkgdata_DATA = tcltk.scm dynlink.scm gtcltk.scm hand.scm
graph.scm breakout.scm
# install-exec-hook:
--- 155,163 ----
modinclude_HEADERS = guile-tcl.h guile-tk.h
subpkgdatadir = @TCLTKDIR@
! subpkgdata_DATA = tcltk.scm dynlink.scm gtcltk.scm \
! hand.scm graph.scm breakout.scm
!
# install-exec-hook:
***************
*** 124,130 ****
# && rm -f libgtcltk.la libgtcltk.so.1 \
# && $(LN_S) $(libdir)/libgtcltk.la \
# && $(LN_S) $(libdir)/libgtcltk.so.1))
-
EXTRA_DIST = license.terms $(subpkgdata_DATA)
SUFFIXES = .x
--- 167,172 ----
***************
*** 133,256 ****
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
! CONFIG_CLEAN_FILES =
! LTLIBRARIES = $(lib_LTLIBRARIES)
!
! DEFS = @DEFS@ -I. -I$(srcdir)
! CPPFLAGS = @CPPFLAGS@
! LDFLAGS = @LDFLAGS@
! LIBS = @LIBS@
! X_CFLAGS = @X_CFLAGS@
! X_LIBS = @X_LIBS@
! X_EXTRA_LIBS = @X_EXTRA_LIBS@
! X_PRE_LIBS = @X_PRE_LIBS@
! libguile_tcltk_gtcltk_la_OBJECTS = guile-tcl.lo guile-tk.lo \
! gtcltk-module.lo
! libguiledlopenhelper_la_LIBADD =
! libguiledlopenhelper_la_OBJECTS = guiledlopenhelper.lo
! bin_PROGRAMS = guile-tcltk$(EXEEXT)
! PROGRAMS = $(bin_PROGRAMS)
guile_tcltk_SOURCES = guile-tcltk.c
! guile_tcltk_OBJECTS = guile-tcltk.$(OBJEXT)
! guile_tcltk_DEPENDENCIES = libguile-tcltk-gtcltk.la
! guile_tcltk_LDFLAGS =
! CFLAGS = @CFLAGS@
! LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES)
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
! LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
! DATA = $(subpkgdata_DATA)
!
! HEADERS = $(modinclude_HEADERS)
!
! DIST_COMMON = README COPYING ChangeLog INSTALL Makefile.am Makefile.in \
! THANKS acinclude.m4 aclocal.m4 config.guess config.sub configure \
! configure.in install-sh ltconfig ltmain.sh mdate-sh missing \
! mkinstalldirs
!
!
! DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
!
! TAR = tar
! GZIP_ENV = --best
! DEP_FILES = .deps/gtcltk-module.P .deps/guile-tcl.P .deps/guile-tcltk.P \
! .deps/guile-tk.P .deps/guiledlopenhelper.P .deps/tclUnixNotfy.P
SOURCES = $(libguile_tcltk_gtcltk_la_SOURCES)
$(EXTRA_libguile_tcltk_gtcltk_la_SOURCES) $(libguiledlopenhelper_la_SOURCES)
guile-tcltk.c
- OBJECTS = $(libguile_tcltk_gtcltk_la_OBJECTS)
$(libguiledlopenhelper_la_OBJECTS) guile-tcltk.$(OBJEXT)
! all: all-redirect
.SUFFIXES:
! .SUFFIXES: .S .c .lo .o .obj .s .x
! $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am
$(top_srcdir)/configure.in $(ACLOCAL_M4)
! 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
! $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
! cd $(srcdir) && $(ACLOCAL)
! config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
! $(srcdir)/configure: @address@hidden(srcdir)/configure.in $(ACLOCAL_M4)
$(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
! mostlyclean-libLTLIBRARIES:
!
! clean-libLTLIBRARIES:
! -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
!
! distclean-libLTLIBRARIES:
!
! maintainer-clean-libLTLIBRARIES:
!
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
! echo "$(LIBTOOL) --mode=install $(INSTALL) $$p
$(DESTDIR)$(libdir)/$$p"; \
! $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
else :; fi; \
done
uninstall-libLTLIBRARIES:
@$(NORMAL_UNINSTALL)
! list='$(lib_LTLIBRARIES)'; for p in $$list; do \
! $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
done
! # FIXME: We should only use cygpath when building on Windows,
! # and only if it is available.
! .c.obj:
! $(COMPILE) -c `cygpath -w $<`
! .s.o:
! $(COMPILE) -c $<
! .S.o:
! $(COMPILE) -c $<
mostlyclean-compile:
! -rm -f *.o core *.core
! -rm -f *.$(OBJEXT)
!
! clean-compile:
distclean-compile:
-rm -f *.tab.c
! maintainer-clean-compile:
! .s.lo:
! $(LIBTOOL) --mode=compile $(COMPILE) -c $<
! .S.lo:
! $(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool:
-rm -f *.lo
--- 175,361 ----
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
MKDEP = gcc -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
+ subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
! CONFIG_CLEAN_FILES =
! LTLIBRARIES = $(lib_LTLIBRARIES)
! am_libguile_tcltk_gtcltk_la_OBJECTS = guile-tcl.lo guile-tk.lo \
! gtcltk-module.lo
! libguile_tcltk_gtcltk_la_OBJECTS = \
! $(am_libguile_tcltk_gtcltk_la_OBJECTS)
! libguiledlopenhelper_la_LIBADD =
! am_libguiledlopenhelper_la_OBJECTS = guiledlopenhelper.lo
! libguiledlopenhelper_la_OBJECTS = $(am_libguiledlopenhelper_la_OBJECTS)
! bin_PROGRAMS = guile-tcltk$(EXEEXT)
! PROGRAMS = $(bin_PROGRAMS)
guile_tcltk_SOURCES = guile-tcltk.c
! guile_tcltk_OBJECTS = guile-tcltk.$(OBJEXT)
! guile_tcltk_DEPENDENCIES = libguile-tcltk-gtcltk.la
! guile_tcltk_LDFLAGS =
!
! DEFAULT_INCLUDES = -I. -I$(srcdir)
! depcomp = $(SHELL) $(top_srcdir)/depcomp
! am__depfiles_maybe = depfiles
! @address@hidden = ./$(DEPDIR)/gtcltk-module.Plo \
! @AMDEP_TRUE@ ./$(DEPDIR)/guile-tcl.Plo \
! @AMDEP_TRUE@ ./$(DEPDIR)/guile-tcltk.Po ./$(DEPDIR)/guile-tk.Plo \
! @AMDEP_TRUE@ ./$(DEPDIR)/guiledlopenhelper.Plo \
! @AMDEP_TRUE@ ./$(DEPDIR)/tclUnixNotfy.Plo
! LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
! $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
! LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
! $(AM_LDFLAGS) $(LDFLAGS) -o $@
! DIST_SOURCES = $(libguile_tcltk_gtcltk_la_SOURCES) \
! $(EXTRA_libguile_tcltk_gtcltk_la_SOURCES) \
! $(libguiledlopenhelper_la_SOURCES) guile-tcltk.c
! DATA = $(subpkgdata_DATA)
!
! HEADERS = $(modinclude_HEADERS)
!
! DIST_COMMON = README $(modinclude_HEADERS) COPYING ChangeLog INSTALL \
! Makefile.am Makefile.in THANKS acinclude.m4 aclocal.m4 \
! config.guess config.sub configure configure.in depcomp \
! install-sh ltconfig ltmain.sh mdate-sh missing mkinstalldirs
SOURCES = $(libguile_tcltk_gtcltk_la_SOURCES)
$(EXTRA_libguile_tcltk_gtcltk_la_SOURCES) $(libguiledlopenhelper_la_SOURCES)
guile-tcltk.c
! all: $(BUILT_SOURCES)
! $(MAKE) $(AM_MAKEFLAGS) all-am
!
.SUFFIXES:
! .SUFFIXES: .x .c .lo .o .obj
! am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
! configure.lineno
! $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am
$(top_srcdir)/configure.in $(ACLOCAL_M4)
! cd $(top_srcdir) && \
! $(AUTOMAKE) --foreign Makefile
! Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in
$(top_builddir)/config.status
! cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
! $(top_builddir)/config.status: $(srcdir)/configure
$(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
! $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in
$(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
! $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
! cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
! libLTLIBRARIES_INSTALL = $(INSTALL)
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
if test -f $$p; then \
! f="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL)
$(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
! $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL)
$(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
else :; fi; \
done
uninstall-libLTLIBRARIES:
@$(NORMAL_UNINSTALL)
! @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
! p="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
! $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
done
! clean-libLTLIBRARIES:
! -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
! @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
! dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
! test "$$dir" = "$$p" && dir=.; \
! echo "rm -f \"$${dir}/so_locations\""; \
! rm -f "$${dir}/so_locations"; \
! done
! libguile-tcltk-gtcltk.la: $(libguile_tcltk_gtcltk_la_OBJECTS)
$(libguile_tcltk_gtcltk_la_DEPENDENCIES)
! $(LINK) -rpath $(libdir) $(libguile_tcltk_gtcltk_la_LDFLAGS)
$(libguile_tcltk_gtcltk_la_OBJECTS) $(libguile_tcltk_gtcltk_la_LIBADD) $(LIBS)
! libguiledlopenhelper.la: $(libguiledlopenhelper_la_OBJECTS)
$(libguiledlopenhelper_la_DEPENDENCIES)
! $(LINK) -rpath $(libdir) $(libguiledlopenhelper_la_LDFLAGS)
$(libguiledlopenhelper_la_OBJECTS) $(libguiledlopenhelper_la_LIBADD) $(LIBS)
! binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
! install-binPROGRAMS: $(bin_PROGRAMS)
! @$(NORMAL_INSTALL)
! $(mkinstalldirs) $(DESTDIR)$(bindir)
! @list='$(bin_PROGRAMS)'; for p in $$list; do \
! p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
! if test -f $$p \
! || test -f $$p1 \
! ; then \
! f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
! echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
! $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install
$(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
! else :; fi; \
! done
! uninstall-binPROGRAMS:
! @$(NORMAL_UNINSTALL)
! @list='$(bin_PROGRAMS)'; for p in $$list; do \
! f=`echo "$$p" | sed
's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
! echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
! rm -f $(DESTDIR)$(bindir)/$$f; \
! done
! clean-binPROGRAMS:
! @list='$(bin_PROGRAMS)'; for p in $$list; do \
! f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
! echo " rm -f $$p $$f"; \
! rm -f $$p $$f ; \
! done
! guile-tcltk$(EXEEXT): $(guile_tcltk_OBJECTS) $(guile_tcltk_DEPENDENCIES)
! @rm -f guile-tcltk$(EXEEXT)
! $(LINK) $(guile_tcltk_LDFLAGS) $(guile_tcltk_OBJECTS)
$(guile_tcltk_LDADD) $(LIBS)
mostlyclean-compile:
! -rm -f *.$(OBJEXT) core *.core
distclean-compile:
-rm -f *.tab.c
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
! @AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
!
! distclean-depend:
! -rm -rf ./$(DEPDIR)
! .c.o:
! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
! @am__fastdepCC_TRUE@ fi
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no
@AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
! @am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
! .c.obj:
! @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
! @am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<';
else $(CYGPATH_W) '$(srcdir)/$<'`; \
! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
! @am__fastdepCC_TRUE@ fi
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no
@AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po'
tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
! @am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<';
else $(CYGPATH_W) '$(srcdir)/$<'`
!
! .c.lo:
! @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
! @am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
! @am__fastdepCC_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
! @am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
! @am__fastdepCC_TRUE@ fi
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes
@AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo'
tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
! @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
! @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo
'$(srcdir)/'`$<
mostlyclean-libtool:
-rm -f *.lo
***************
*** 259,541 ****
-rm -rf .libs _libs
distclean-libtool:
!
! maintainer-clean-libtool:
!
! libguile-tcltk-gtcltk.la: $(libguile_tcltk_gtcltk_la_OBJECTS)
$(libguile_tcltk_gtcltk_la_DEPENDENCIES)
! $(LINK) -rpath $(libdir) $(libguile_tcltk_gtcltk_la_LDFLAGS)
$(libguile_tcltk_gtcltk_la_OBJECTS) $(libguile_tcltk_gtcltk_la_LIBADD) $(LIBS)
!
! libguiledlopenhelper.la: $(libguiledlopenhelper_la_OBJECTS)
$(libguiledlopenhelper_la_DEPENDENCIES)
! $(LINK) -rpath $(libdir) $(libguiledlopenhelper_la_LDFLAGS)
$(libguiledlopenhelper_la_OBJECTS) $(libguiledlopenhelper_la_LIBADD) $(LIBS)
!
! mostlyclean-binPROGRAMS:
!
! clean-binPROGRAMS:
! -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
!
! distclean-binPROGRAMS:
!
! maintainer-clean-binPROGRAMS:
!
! install-binPROGRAMS: $(bin_PROGRAMS)
! @$(NORMAL_INSTALL)
! $(mkinstalldirs) $(DESTDIR)$(bindir)
! @list='$(bin_PROGRAMS)'; for p in $$list; do \
! if test -f $$p; then \
! echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed
's/$$/$(EXEEXT)/'`"; \
! $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed
's/$$/$(EXEEXT)/'`; \
! else :; fi; \
! done
!
! uninstall-binPROGRAMS:
! @$(NORMAL_UNINSTALL)
! list='$(bin_PROGRAMS)'; for p in $$list; do \
! rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed
'$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
! done
!
! guile-tcltk$(EXEEXT): $(guile_tcltk_OBJECTS) $(guile_tcltk_DEPENDENCIES)
! @rm -f guile-tcltk$(EXEEXT)
! $(LINK) $(guile_tcltk_LDFLAGS) $(guile_tcltk_OBJECTS)
$(guile_tcltk_LDADD) $(LIBS)
!
install-subpkgdataDATA: $(subpkgdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(subpkgdatadir)
@list='$(subpkgdata_DATA)'; for p in $$list; do \
! if test -f $(srcdir)/$$p; then \
! echo " $(INSTALL_DATA) $(srcdir)/$$p
$(DESTDIR)$(subpkgdatadir)/$$p"; \
! $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(subpkgdatadir)/$$p; \
! else if test -f $$p; then \
! echo " $(INSTALL_DATA) $$p $(DESTDIR)$(subpkgdatadir)/$$p"; \
! $(INSTALL_DATA) $$p $(DESTDIR)$(subpkgdatadir)/$$p; \
! fi; fi; \
done
uninstall-subpkgdataDATA:
@$(NORMAL_UNINSTALL)
! list='$(subpkgdata_DATA)'; for p in $$list; do \
! rm -f $(DESTDIR)$(subpkgdatadir)/$$p; \
done
!
install-modincludeHEADERS: $(modinclude_HEADERS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(modincludedir)
@list='$(modinclude_HEADERS)'; for p in $$list; do \
! if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
! echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modincludedir)/$$p"; \
! $(INSTALL_DATA) $$d$$p $(DESTDIR)$(modincludedir)/$$p; \
done
uninstall-modincludeHEADERS:
@$(NORMAL_UNINSTALL)
! list='$(modinclude_HEADERS)'; for p in $$list; do \
! rm -f $(DESTDIR)$(modincludedir)/$$p; \
done
tags: TAGS
! ID: $(HEADERS) $(SOURCES) $(LISP)
! list='$(SOURCES) $(HEADERS)'; \
! unique=`for i in $$list; do echo $$i; done | \
! awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
! here=`pwd` && cd $(srcdir) \
! && mkid -f$$here/ID $$unique $(LISP)
! TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
! list='$(SOURCES) $(HEADERS)'; \
! unique=`for i in $$list; do echo $$i; done | \
! awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
! test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
! || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags
$$unique $(LISP))
! mostlyclean-tags:
! clean-tags:
! distclean-tags:
! -rm -f TAGS ID
! maintainer-clean-tags:
! distdir = $(PACKAGE)-$(VERSION)
! top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
! -rm -rf $(distdir)
! GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
! dc_install_base=`cd $(distdir)/=inst && pwd`; \
! cd $(distdir)/=build \
! && ../configure --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
! && $(MAKE) $(AM_MAKEFLAGS) dist
! -rm -rf $(distdir)
! @banner="$(distdir).tar.gz is ready for distribution"; \
! dashes=`echo "$$banner" | sed s/./=/g`; \
! echo "$$dashes"; \
! echo "$$banner"; \
! echo "$$dashes"
! dist: distdir
! -chmod -R a+r $(distdir)
! GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
! -rm -rf $(distdir)
! dist-all: distdir
! -chmod -R a+r $(distdir)
! GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
! -rm -rf $(distdir)
! distdir: $(DISTFILES)
! -rm -rf $(distdir)
! mkdir $(distdir)
! -chmod 777 $(distdir)
! here=`cd $(top_builddir) && pwd`; \
! top_distdir=`cd $(distdir) && pwd`; \
! distdir=`cd $(distdir) && pwd`; \
! cd $(top_srcdir) \
! && $(AUTOMAKE) --include-deps --build-dir=$$here
--srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
! @for file in $(DISTFILES); do \
! d=$(srcdir); \
! if test -d $$d/$$file; then \
! cp -pr $$d/$$file $(distdir)/$$file; \
! else \
! test -f $(distdir)/$$file \
! || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
! || cp -p $$d/$$file $(distdir)/$$file || :; \
! fi; \
! done
!
! DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
!
! -include $(DEP_FILES)
!
! mostlyclean-depend:
!
! clean-depend:
- distclean-depend:
- -rm -rf .deps
! maintainer-clean-depend:
! %.o: %.c
! @echo '$(COMPILE) -c $<'; \
! $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
! @-cp .deps/$(*F).pp .deps/$(*F).P; \
! tr ' ' '\012' < .deps/$(*F).pp \
! | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
! >> .deps/$(*F).P; \
! rm .deps/$(*F).pp
!
! %.lo: %.c
! @echo '$(LTCOMPILE) -c $<'; \
! $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
! @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
! < .deps/$(*F).pp > .deps/$(*F).P; \
! tr ' ' '\012' < .deps/$(*F).pp \
! | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
! >> .deps/$(*F).P; \
! rm -f .deps/$(*F).pp
! info-am:
! info: info-am
! dvi-am:
! dvi: dvi-am
! check-am: all-am
! check: check-am
! installcheck-am:
! installcheck: installcheck-am
! install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
install-exec: install-exec-am
-
- install-data-am: install-subpkgdataDATA install-modincludeHEADERS
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- install: install-am
- uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
- uninstall-subpkgdataDATA uninstall-modincludeHEADERS
- uninstall: uninstall-am
- all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
- all-redirect: all-am
- install-strip:
- $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
- installdirs:
- $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
- $(DESTDIR)$(subpkgdatadir) $(DESTDIR)$(modincludedir)
-
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
- -rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
! mostlyclean-am: mostlyclean-libLTLIBRARIES mostlyclean-compile \
! mostlyclean-libtool mostlyclean-binPROGRAMS \
! mostlyclean-tags mostlyclean-depend mostlyclean-generic
! mostlyclean: mostlyclean-am
! clean-am: clean-libLTLIBRARIES clean-compile clean-libtool \
! clean-binPROGRAMS clean-tags clean-depend clean-generic \
! mostlyclean-am
! clean: clean-am
! distclean-am: distclean-libLTLIBRARIES distclean-compile \
! distclean-libtool distclean-binPROGRAMS distclean-tags \
! distclean-depend distclean-generic clean-am
! -rm -f libtool
! distclean: distclean-am
! -rm -f config.status
! maintainer-clean-am: maintainer-clean-libLTLIBRARIES \
! maintainer-clean-compile maintainer-clean-libtool \
! maintainer-clean-binPROGRAMS maintainer-clean-tags \
! maintainer-clean-depend maintainer-clean-generic \
! distclean-am
! @echo "This command is intended for maintainers to use;"
! @echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
! -rm -f config.status
! .PHONY: mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
! clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
! uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
! distclean-compile clean-compile maintainer-clean-compile \
! mostlyclean-libtool distclean-libtool clean-libtool \
! maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
! clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
! install-binPROGRAMS uninstall-subpkgdataDATA install-subpkgdataDATA \
! uninstall-modincludeHEADERS install-modincludeHEADERS tags \
! mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
! distdir mostlyclean-depend distclean-depend clean-depend \
! maintainer-clean-depend info-am info dvi-am dvi check check-am \
! installcheck-am installcheck install-exec-am install-exec \
! install-data-am install-data install-am install uninstall-am uninstall \
! all-redirect all-am all installdirs mostlyclean-generic \
! distclean-generic clean-generic maintainer-clean-generic clean \
! mostlyclean distclean maintainer-clean
! .c.x:
! $(SNARF) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS) $< > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
--- 364,675 ----
-rm -rf .libs _libs
distclean-libtool:
! -rm -f libtool
! uninstall-info-am:
! subpkgdataDATA_INSTALL = $(INSTALL_DATA)
install-subpkgdataDATA: $(subpkgdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(subpkgdatadir)
@list='$(subpkgdata_DATA)'; for p in $$list; do \
! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! f="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " $(subpkgdataDATA_INSTALL) $$d$$p
$(DESTDIR)$(subpkgdatadir)/$$f"; \
! $(subpkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(subpkgdatadir)/$$f; \
done
uninstall-subpkgdataDATA:
@$(NORMAL_UNINSTALL)
! @list='$(subpkgdata_DATA)'; for p in $$list; do \
! f="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " rm -f $(DESTDIR)$(subpkgdatadir)/$$f"; \
! rm -f $(DESTDIR)$(subpkgdatadir)/$$f; \
done
! modincludeHEADERS_INSTALL = $(INSTALL_HEADER)
install-modincludeHEADERS: $(modinclude_HEADERS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(modincludedir)
@list='$(modinclude_HEADERS)'; for p in $$list; do \
! if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
! f="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " $(modincludeHEADERS_INSTALL) $$d$$p
$(DESTDIR)$(modincludedir)/$$f"; \
! $(modincludeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(modincludedir)/$$f; \
done
uninstall-modincludeHEADERS:
@$(NORMAL_UNINSTALL)
! @list='$(modinclude_HEADERS)'; for p in $$list; do \
! f="`echo $$p | sed -e 's|^.*/||'`"; \
! echo " rm -f $(DESTDIR)$(modincludedir)/$$f"; \
! rm -f $(DESTDIR)$(modincludedir)/$$f; \
done
+ ETAGS = etags
+ ETAGSFLAGS =
+
+ CTAGS = ctags
+ CTAGSFLAGS =
+
tags: TAGS
! ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
! unique=`for i in $$list; do \
! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
! done | \
! $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
! mkid -fID $$unique
! TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
! $(TAGS_FILES) $(LISP)
! tags=; \
! here=`pwd`; \
! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
! unique=`for i in $$list; do \
! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
! done | \
! $(AWK) ' { files[$$0] = 1; } \
! END { for (i in files) print i; }'`; \
! test -z "$(ETAGS_ARGS)$$tags$$unique" \
! || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
! $$tags $$unique
!
! ctags: CTAGS
! CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
! $(TAGS_FILES) $(LISP)
tags=; \
here=`pwd`; \
! list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
! unique=`for i in $$list; do \
! if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
! done | \
! $(AWK) ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
! test -z "$(CTAGS_ARGS)$$tags$$unique" \
! || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
! $$tags $$unique
!
! GTAGS:
! here=`$(am__cd) $(top_builddir) && pwd` \
! && cd $(top_srcdir) \
! && gtags -i $(GTAGS_ARGS) $$here
! distclean-tags:
! -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
! DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
! top_distdir = .
! distdir = $(PACKAGE)-$(VERSION)
! am__remove_distdir = \
! { test ! -d $(distdir) \
! || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
! && rm -fr $(distdir); }; }
! GZIP_ENV = --best
! distuninstallcheck_listfiles = find . -type f -print
! distcleancheck_listfiles = find . -type f -print
! distdir: $(DISTFILES)
! $(am__remove_distdir)
! mkdir $(distdir)
! @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
! topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
! list='$(DISTFILES)'; for file in $$list; do \
! case $$file in \
! $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
! $(top_srcdir)/*) file=`echo "$$file" | sed
"s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
! esac; \
! if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
! dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
! if test "$$dir" != "$$file" && test "$$dir" != "."; then \
! dir="/$$dir"; \
! $(mkinstalldirs) "$(distdir)$$dir"; \
! else \
! dir=''; \
! fi; \
! if test -d $$d/$$file; then \
! if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
! cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
! fi; \
! cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
! else \
! test -f $(distdir)/$$file \
! || cp -p $$d/$$file $(distdir)/$$file \
! || exit 1; \
! fi; \
! done
! -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
! ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {}
\; \
! || chmod -R a+r $(distdir)
! dist-gzip: distdir
! $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! $(am__remove_distdir)
!
! dist dist-all: distdir
! $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
! $(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
! $(am__remove_distdir)
! GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
! chmod -R a-w $(distdir); chmod a+w $(distdir)
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
! chmod a-w $(distdir)
! dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
! && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
! && cd $(distdir)/=build \
! && ../configure --srcdir=.. --prefix="$$dc_install_base" \
! $(DISTCHECK_CONFIGURE_FLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
! && $(MAKE) $(AM_MAKEFLAGS) uninstall \
! && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base"
\
! distuninstallcheck \
! && chmod -R a-w "$$dc_install_base" \
! && ({ \
! (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
! && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
! && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
! && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
! distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
! } || { rm -rf "$$dc_destdir"; exit 1; }) \
! && rm -rf "$$dc_destdir" \
! && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
! && rm -f $(distdir).tar.gz \
! && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
! $(am__remove_distdir)
! @echo "$(distdir).tar.gz is ready for distribution" | \
! sed 'h;s/./=/g;p;x;p;x'
! distuninstallcheck:
! cd $(distuninstallcheck_dir) \
! && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
! || { echo "ERROR: files left after uninstall:" ; \
! if test -n "$(DESTDIR)"; then \
! echo " (check DESTDIR support)"; \
! fi ; \
! $(distuninstallcheck_listfiles) ; \
! exit 1; } >&2
! distcleancheck: distclean
! if test '$(srcdir)' = . ; then \
! echo "ERROR: distcleancheck can only run from a VPATH build" ; \
! exit 1 ; \
! fi
! test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
! || { echo "ERROR: files left in build directory after distclean:" ; \
! $(distcleancheck_listfiles) ; \
! exit 1; } >&2
! check-am: all-am
! check: check-am
! all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
! install-binPROGRAMS: install-libLTLIBRARIES
! installdirs:
! $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir)
$(DESTDIR)$(subpkgdatadir) $(DESTDIR)$(modincludedir)
! install: install-am
install-exec: install-exec-am
install-data: install-data-am
+ uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+ installcheck: installcheck-am
+ install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
! clean: clean-am
! clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
! clean-libtool mostlyclean-am
! distclean: distclean-am
! -rm -f $(am__CONFIG_DISTCLEAN_FILES)
! distclean-am: clean-am distclean-compile distclean-depend \
! distclean-generic distclean-libtool distclean-tags
! dvi: dvi-am
! dvi-am:
! info: info-am
! info-am:
!
! install-data-am: install-modincludeHEADERS install-subpkgdataDATA
!
! install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
!
! install-info: install-info-am
!
! install-man:
!
! installcheck-am:
maintainer-clean: maintainer-clean-am
! -rm -f $(am__CONFIG_DISTCLEAN_FILES)
! -rm -rf autom4te.cache
! maintainer-clean-am: distclean-am maintainer-clean-generic
! mostlyclean: mostlyclean-am
! mostlyclean-am: mostlyclean-compile mostlyclean-generic \
! mostlyclean-libtool
!
! pdf: pdf-am
!
! pdf-am:
+ ps: ps-am
+
+ ps-am:
+
+ uninstall-am: uninstall-binPROGRAMS uninstall-info-am \
+ uninstall-libLTLIBRARIES uninstall-modincludeHEADERS \
+ uninstall-subpkgdataDATA
+
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+ clean-generic clean-libLTLIBRARIES clean-libtool ctags dist \
+ dist-all dist-gzip distcheck distclean distclean-compile \
+ distclean-depend distclean-generic distclean-libtool \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am info info-am install install-am install-binPROGRAMS \
+ install-data install-data-am install-exec install-exec-am \
+ install-info install-info-am install-libLTLIBRARIES install-man \
+ install-modincludeHEADERS install-strip install-subpkgdataDATA \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-binPROGRAMS \
+ uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-modincludeHEADERS uninstall-subpkgdataDATA
+
+ .c.x:
+ $(SNARF) -o $@ $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(X_CFLAGS)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
Index: guile/guile-tcltk/acinclude.m4
diff -c guile/guile-tcltk/acinclude.m4:1.1 guile/guile-tcltk/acinclude.m4:1.2
*** guile/guile-tcltk/acinclude.m4:1.1 Sun Nov 17 19:09:37 2002
--- guile/guile-tcltk/acinclude.m4 Sun Nov 17 21:10:03 2002
***************
*** 1,17 ****
AC_DEFUN([GUILE_COMPAT],
! guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
! AC_CHECK_FUNCS(scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr)
! AC_MSG_CHECKING(for scm_t_bits)
! AC_CACHE_VAL(ac_cv_have_scm_t_bits,
! [AC_TRY_COMPILE([#include <libguile.h>],
! [scm_t_bits a;],
! ac_cv_have_scm_t_bits=yes, ac_cv_have_scm_t_bits=no)])
! AC_MSG_RESULT($ac_cv_have_scm_t_bits)
! if test $ac_cv_have_scm_t_bits = yes; then
! AC_DEFINE(HAVE_SCM_T_BITS)
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS")
--- 1,18 ----
AC_DEFUN([GUILE_COMPAT],
! [guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
! AC_CHECK_FUNCS([scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr])
! AC_MSG_CHECKING(for scm_t_bits)
! AC_CACHE_VAL(ac_cv_have_scm_t_bits,
! [AC_TRY_COMPILE([#include <libguile.h>],
! [scm_t_bits a;],
! ac_cv_have_scm_t_bits=yes,
! ac_cv_have_scm_t_bits=no)])
! AC_MSG_RESULT($ac_cv_have_scm_t_bits)
! if test $ac_cv_have_scm_t_bits = yes; then
! AC_DEFINE(HAVE_SCM_T_BITS)
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS"])
Index: guile/guile-tcltk/aclocal.m4
diff -c guile/guile-tcltk/aclocal.m4:1.26 guile/guile-tcltk/aclocal.m4:1.27
*** guile/guile-tcltk/aclocal.m4:1.26 Thu Nov 14 13:19:08 2002
--- guile/guile-tcltk/aclocal.m4 Sun Nov 17 21:10:03 2002
***************
*** 1,6 ****
! # aclocal.m4 generated automatically by aclocal 1.5
! # Copyright 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,6 ----
! # generated automatically by aclocal 1.7.1 -*- Autoconf -*-
! # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 12,39 ****
# PARTICULAR PURPOSE.
AC_DEFUN([GUILE_COMPAT],
! guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
! AC_CHECK_FUNCS(scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr)
! AC_MSG_CHECKING(for scm_t_bits)
! AC_CACHE_VAL(ac_cv_have_scm_t_bits,
! [AC_TRY_COMPILE([#include <libguile.h>],
! [scm_t_bits a;],
! ac_cv_have_scm_t_bits=yes, ac_cv_have_scm_t_bits=no)])
! AC_MSG_RESULT($ac_cv_have_scm_t_bits)
! if test $ac_cv_have_scm_t_bits = yes; then
! AC_DEFINE(HAVE_SCM_T_BITS)
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS")
!
! # Do all the work for Automake. This macro actually does too much --
! # some checks are only needed if your package does certain things.
! # But this isn't really a big deal.
! # serial 5
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
--- 12,59 ----
# PARTICULAR PURPOSE.
AC_DEFUN([GUILE_COMPAT],
! [guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
! AC_CHECK_FUNCS([scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr])
! AC_MSG_CHECKING(for scm_t_bits)
! AC_CACHE_VAL(ac_cv_have_scm_t_bits,
! [AC_TRY_COMPILE([#include <libguile.h>],
! [scm_t_bits a;],
! ac_cv_have_scm_t_bits=yes,
! ac_cv_have_scm_t_bits=no)])
! AC_MSG_RESULT($ac_cv_have_scm_t_bits)
! if test $ac_cv_have_scm_t_bits = yes; then
! AC_DEFINE(HAVE_SCM_T_BITS)
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS"])
! # Do all the work for Automake. -*- Autoconf -*-
!
! # This macro actually does too much some checks are only needed if
! # your package does certain things. But this isn't really a big deal.
!
! # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
! # Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! # serial 8
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
***************
*** 42,103 ****
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
! # We require 2.13 because we rely on SHELL being computed by configure.
! AC_PREREQ([2.13])
!
! # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
! # -----------------------------------------------------------
! # If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
! # The purpose of this macro is to provide the user with a means to
! # check macros which are provided without letting her know how the
! # information is coded.
! # If this macro is not defined by Autoconf, define it here.
! ifdef([AC_PROVIDE_IFELSE],
! [],
! [define([AC_PROVIDE_IFELSE],
! [ifdef([AC_PROVIDE_$1],
! [$2], [$3])])])
! # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
! # ----------------------------------------------
AC_DEFUN([AM_INIT_AUTOMAKE],
! [AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
! if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
! AC_MSG_ERROR([source directory already configured; run \"make distclean\"
there first])
fi
! # Define the identity of the package.
! PACKAGE=$1
! AC_SUBST(PACKAGE)dnl
! VERSION=$2
! AC_SUBST(VERSION)dnl
! ifelse([$3],,
! [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
! AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
! # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
! # the ones we care about.
! ifdef([m4_pattern_allow],
! [m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
! # Autoconf 2.50 always computes EXEEXT. However we need to be
! # compatible with 2.13, for now. So we always define EXEEXT, but we
! # don't compute it.
! AC_SUBST(EXEEXT)
! # Similar for OBJEXT -- only we only use OBJEXT if the user actually
! # requests that it be used. This is a bit dumb.
! : ${OBJEXT=o}
! AC_SUBST(OBJEXT)
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
! AM_MISSING_PROG(ACLOCAL, aclocal)
AM_MISSING_PROG(AUTOCONF, autoconf)
! AM_MISSING_PROG(AUTOMAKE, automake)
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_MISSING_PROG(AMTAR, tar)
--- 62,123 ----
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
! AC_PREREQ([2.54])
+ # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
+ # the ones we care about.
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
! # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
! # AM_INIT_AUTOMAKE([OPTIONS])
! # -----------------------------------------------
! # The call with PACKAGE and VERSION arguments is the old style
! # call (pre autoconf-2.50), which is being phased out. PACKAGE
! # and VERSION should now be passed to AC_INIT and removed from
! # the call to AM_INIT_AUTOMAKE.
! # We support both call styles for the transition. After
! # the next Automake release, Autoconf can make the AC_INIT
! # arguments mandatory, and then we can depend on a new Autoconf
! # release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
! [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
! AC_REQUIRE([AC_PROG_INSTALL])dnl
# test to see if srcdir already configured
! if test "`cd $srcdir && pwd`" != "`pwd`" &&
test -f $srcdir/config.status; then
! AC_MSG_ERROR([source directory already configured; run "make distclean"
there first])
fi
! # test whether we have cygpath
! if test -z "$CYGPATH_W"; then
! if (cygpath --version) >/dev/null 2>/dev/null; then
! CYGPATH_W='cygpath -w'
! else
! CYGPATH_W=echo
! fi
! fi
! AC_SUBST([CYGPATH_W])
! # Define the identity of the package.
! dnl Distinguish between old-style and new-style calls.
! m4_ifval([$2],
! [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
! AC_SUBST([PACKAGE], [$1])dnl
! AC_SUBST([VERSION], [$2])],
! [_AM_SET_OPTIONS([$1])dnl
! AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
! AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
! _AM_IF_OPTION([no-define],,
! [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
! AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
! AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
AM_MISSING_PROG(AUTOCONF, autoconf)
! AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
AM_MISSING_PROG(AUTOHEADER, autoheader)
AM_MISSING_PROG(MAKEINFO, makeinfo)
AM_MISSING_PROG(AMTAR, tar)
***************
*** 107,128 ****
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
! AC_REQUIRE([AM_DEP_TRACK])dnl
! AC_REQUIRE([AM_SET_DEPDIR])dnl
! AC_PROVIDE_IFELSE([AC_PROG_][CC],
[_AM_DEPENDENCIES(CC)],
! [define([AC_PROG_][CC],
! defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
! AC_PROVIDE_IFELSE([AC_PROG_][CXX],
[_AM_DEPENDENCIES(CXX)],
! [define([AC_PROG_][CXX],
! defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
#
# Check to make sure that the build environment is sane.
#
# serial 3
# AM_SANITY_CHECK
--- 127,251 ----
# some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
!
! _AM_IF_OPTION([no-dependencies],,
! [AC_PROVIDE_IFELSE([AC_PROG_CC],
[_AM_DEPENDENCIES(CC)],
! [define([AC_PROG_CC],
! defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
! AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
! [define([AC_PROG_CXX],
! defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
])
+ ])
+
+
+ # When config.status generates a header, we must update the stamp-h file.
+ # This file resides in the same directory as the config header
+ # that is generated. The stamp files are numbered to have different names.
+
+ # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+ # loop where config.status creates the headers, so we can generate
+ # our stamp files there.
+ AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+ [_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
+ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+
+ # Copyright 2002 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+
+ # AM_AUTOMAKE_VERSION(VERSION)
+ # ----------------------------
+ # Automake X.Y traces this macro to ensure aclocal.m4 has been
+ # generated from the m4 files accompanying Automake X.Y.
+ AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
+
+ # AM_SET_CURRENT_AUTOMAKE_VERSION
+ # -------------------------------
+ # Call AM_AUTOMAKE_VERSION so it can be traced.
+ # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+ [AM_AUTOMAKE_VERSION([1.7.1])])
+
+ # Helper functions for option handling. -*- Autoconf -*-
+
+ # Copyright 2001, 2002 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
+
+ # serial 2
+
+ # _AM_MANGLE_OPTION(NAME)
+ # -----------------------
+ AC_DEFUN([_AM_MANGLE_OPTION],
+ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+ # _AM_SET_OPTION(NAME)
+ # ------------------------------
+ # Set option NAME. Presently that only means defining a flag for this option.
+ AC_DEFUN([_AM_SET_OPTION],
+ [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+ # _AM_SET_OPTIONS(OPTIONS)
+ # ----------------------------------
+ # OPTIONS is a space-separated list of Automake options.
+ AC_DEFUN([_AM_SET_OPTIONS],
+ [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+ # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+ # -------------------------------------------
+ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+ AC_DEFUN([_AM_IF_OPTION],
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
#
# Check to make sure that the build environment is sane.
#
+ # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
+
# serial 3
# AM_SANITY_CHECK
***************
*** 166,173 ****
fi
AC_MSG_RESULT(yes)])
! # serial 2
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
--- 289,315 ----
fi
AC_MSG_RESULT(yes)])
+ # -*- Autoconf -*-
!
! # Copyright 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! # serial 3
# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
***************
*** 189,201 ****
am_missing_run="$MISSING --run "
else
am_missing_run=
! am_backtick='`'
! AC_MSG_WARN([${am_backtick}missing' script is too old or missing])
fi
])
# AM_AUX_DIR_EXPAND
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
--- 331,359 ----
am_missing_run="$MISSING --run "
else
am_missing_run=
! AC_MSG_WARN([`missing' script is too old or missing])
fi
])
# AM_AUX_DIR_EXPAND
+ # Copyright 2001 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
+
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
***************
*** 234,252 ****
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
AC_DEFUN([AM_AUX_DIR_EXPAND], [
# expand $ac_aux_dir to an absolute path
! am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
])
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
--- 392,450 ----
# absolute PATH. The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.
+ # Rely on autoconf to set up CDPATH properly.
+ AC_PREREQ([2.50])
+
AC_DEFUN([AM_AUX_DIR_EXPAND], [
# expand $ac_aux_dir to an absolute path
! am_aux_dir=`cd $ac_aux_dir && pwd`
])
# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
+
+ # Copyright 2001 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
+
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)])
+ # AM_PROG_INSTALL_STRIP
+
+ # Copyright 2001 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
+
# One issue with vendor `install' (even GNU) is that you can't
# specify the program used to strip binaries. This is especially
# annoying in cross-compiling environments, where the build's strip
***************
*** 256,266 ****
--- 454,488 ----
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+ # Installed binaries are usually stripped using `strip' when the user
+ # run `make install-strip'. However `strip' might not be the right
+ # tool to use in cross-compilation environments, therefore Automake
+ # will honor the `STRIP' environment variable to overrule this program.
+ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+ if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+ fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# serial 4 -*- Autoconf -*-
+ # Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
+
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+ # the Free Software Foundation; either version 2, or (at your option)
+ # any later version.
+
+ # This program is distributed in the hope that it will be useful,
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ # GNU General Public License for more details.
+
+ # You should have received a copy of the GNU General Public License
+ # along with this program; if not, write to the Free Software
+ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ # 02111-1307, USA.
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
***************
*** 272,280 ****
# _AM_DEPENDENCIES(NAME)
! # ---------------------
# See how the compiler implements dependency checking.
! # NAME is "CC", "CXX" or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
--- 494,502 ----
# _AM_DEPENDENCIES(NAME)
! # ----------------------
# See how the compiler implements dependency checking.
! # NAME is "CC", "CXX", "GCJ", or "OBJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
***************
*** 289,295 ****
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
! [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc']
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
--- 511,517 ----
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
! [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
***************
*** 337,343 ****
if depmode=$depmode \
source=conftest.c object=conftest.o \
depfile=conftest.Po tmpdepfile=conftest.TPo \
! $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
grep conftest.h conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
am_cv_$1_dependencies_compiler_type=$depmode
--- 559,565 ----
if depmode=$depmode \
source=conftest.c object=conftest.o \
depfile=conftest.Po tmpdepfile=conftest.TPo \
! $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
grep conftest.h conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
am_cv_$1_dependencies_compiler_type=$depmode
***************
*** 351,358 ****
am_cv_$1_dependencies_compiler_type=none
fi
])
! $1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
! AC_SUBST([$1DEPMODE])
])
--- 573,582 ----
am_cv_$1_dependencies_compiler_type=none
fi
])
! AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
! AM_CONDITIONAL([am__fastdep$1], [
! test "x$enable_dependency_tracking" != xno \
! && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])
***************
*** 370,376 ****
DEPDIR=_deps
fi
rmdir .deps 2>/dev/null
! AC_SUBST(DEPDIR)
])
--- 594,600 ----
DEPDIR=_deps
fi
rmdir .deps 2>/dev/null
! AC_SUBST([DEPDIR])
])
***************
*** 385,414 ****
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
! pushdef([subst], defn([AC_SUBST]))
! subst(AMDEPBACKSLASH)
! popdef([subst])
])
! # Generate code to set up dependency tracking.
! # This macro should only be invoked once -- use via AC_REQUIRE.
! # Usage:
! # AM_OUTPUT_DEPENDENCY_COMMANDS
! #
! # This code is only required when automatic dependency tracking
! # is enabled. FIXME. This creates each `.P' file that we will
! # need in order to bootstrap the dependency handling code.
! AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
! AC_OUTPUT_COMMANDS([
! test x"$AMDEP_TRUE" != x"" ||
! for mf in $CONFIG_FILES; do
! case "$mf" in
! Makefile) dirpart=.;;
! */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
! *) continue;;
! esac
! grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
--- 609,656 ----
AMDEPBACKSLASH='\'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
! AC_SUBST([AMDEPBACKSLASH])
])
! # Generate code to set up dependency tracking. -*- Autoconf -*-
! # Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! #serial 2
!
! # _AM_OUTPUT_DEPENDENCY_COMMANDS
! # ------------------------------
! AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
! [for mf in $CONFIG_FILES; do
! # Strip MF so we end up with the name of the file.
! mf=`echo "$mf" | sed -e 's/:.*$//'`
! # Check whether this is an Automake generated Makefile or not.
! # We used to match only the files named `Makefile.in', but
! # some people rename them; so instead we look at the file content.
! # Grep'ing the first line is not enough: some people post-process
! # each Makefile.in and add a new line on top of each file to say so.
! # So let's grep whole file.
! if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! dirpart=`AS_DIRNAME("$mf")`
! else
! continue
! fi
! grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
***************
*** 432,445 ****
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
! fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
! $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
! ], [AMDEP_TRUE="$AMDEP_TRUE"
! ac_aux_dir="$ac_aux_dir"])])
# AM_MAKE_INCLUDE()
# -----------------
--- 674,721 ----
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
! fdir=`AS_DIRNAME(["$file"])`
! AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
! ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
!
!
! # AM_OUTPUT_DEPENDENCY_COMMANDS
! # -----------------------------
! # This macro should only be invoked once -- use via AC_REQUIRE.
! #
! # This code is only required when automatic dependency tracking
! # is enabled. FIXME. This creates each `.P' file that we will
! # need in order to bootstrap the dependency handling code.
! AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
! [AC_CONFIG_COMMANDS([depfiles],
! [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
! [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
! ])
!
! # Check to see how 'make' treats includes. -*- Autoconf -*-
!
! # Copyright (C) 2001, 2002 Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! # serial 2
# AM_MAKE_INCLUDE()
# -----------------
***************
*** 452,458 ****
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
! am__include='#'
am__quote=
_am_result=none
# First try GNU make style include.
--- 728,734 ----
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
! am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
***************
*** 462,468 ****
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
! if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" =
"done"; then
am__include=include
am__quote=
_am_result=GNU
--- 738,744 ----
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
! if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" =
"done"; then
am__include=include
am__quote=
_am_result=GNU
***************
*** 472,478 ****
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
! am__quote='"'
_am_result=BSD
fi
fi
--- 748,754 ----
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
! am__quote="\""
_am_result=BSD
fi
fi
***************
*** 482,504 ****
rm -f confinc confmf
])
! # serial 3
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
- #
- # FIXME: Once using 2.50, use this:
- # m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_DEFUN([AM_CONDITIONAL],
! [ifelse([$1], [TRUE],
! [errprint(__file__:__line__: [$0: invalid condition: $1
! ])dnl
! m4exit(1)])dnl
! ifelse([$1], [FALSE],
! [errprint(__file__:__line__: [$0: invalid condition: $1
! ])dnl
! m4exit(1)])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then
--- 758,792 ----
rm -f confinc confmf
])
! # AM_CONDITIONAL -*- Autoconf -*-
!
! # Copyright 1997, 2000, 2001 Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! # serial 5
!
! AC_PREREQ(2.52)
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
! [ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
! [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])
AC_SUBST([$1_FALSE])
if $2; then
***************
*** 507,518 ****
else
$1_TRUE='#'
$1_FALSE=
! fi])
# 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])
--- 795,828 ----
else
$1_TRUE='#'
$1_FALSE=
! fi
! AC_CONFIG_COMMANDS_PRE(
! [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
! AC_MSG_ERROR([conditional "$1" was never defined.
! Usually this means the macro was only invoked conditionally.])
! fi])])
# Add --enable-maintainer-mode option to configure.
# From Jim Meyering
! # Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
!
! # This program is free software; you can redistribute it and/or modify
! # it under the terms of the GNU General Public License as published by
! # the Free Software Foundation; either version 2, or (at your option)
! # any later version.
!
! # This program is distributed in the hope that it will be useful,
! # but WITHOUT ANY WARRANTY; without even the implied warranty of
! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! # GNU General Public License for more details.
!
! # You should have received a copy of the GNU General Public License
! # along with this program; if not, write to the Free Software
! # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
! # 02111-1307, USA.
!
! # serial 2
AC_DEFUN([AM_MAINTAINER_MODE],
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of
Makefiles])
***************
*** 529,534 ****
--- 839,846 ----
]
)
+ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+
# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
# serial 46 AC_PROG_LIBTOOL
***************
*** 558,563 ****
--- 870,877 ----
AC_REQUIRE([AC_PROG_LD])dnl
AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
AC_REQUIRE([AC_PROG_NM])dnl
+ AC_REQUIRE([LT_AC_PROG_SED])dnl
+
AC_REQUIRE([AC_PROG_LN_S])dnl
AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
AC_REQUIRE([AC_OBJEXT])dnl
***************
*** 728,733 ****
--- 1042,1050 ----
irix* | nonstopux*)
symcode='[[BCDEGRST]]'
;;
+ osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
solaris* | sysv5*)
symcode='[[BDT]]'
;;
***************
*** 824,830 ****
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if AC_TRY_EVAL(ac_link) && test -s conftest; then
pipe_works=yes
fi
LIBS="$save_LIBS"
--- 1141,1147 ----
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
pipe_works=yes
fi
LIBS="$save_LIBS"
***************
*** 1455,1465 ****
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
! if test "x$host_vendor" = xsni; then
! lt_cv_prog_cc_wl='-LD'
! else
! lt_cv_prog_cc_wl='-Wl,'
! fi
;;
uts4*)
--- 1772,1778 ----
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
! lt_cv_prog_cc_wl='-Wl,'
;;
uts4*)
***************
*** 1824,1830 ****
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
! archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
cp $export_symbols $output_objdir/$soname-def;
else
echo EXPORTS > $output_objdir/$soname-def;
--- 2137,2143 ----
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
! archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
cp $export_symbols $output_objdir/$soname-def;
else
echo EXPORTS > $output_objdir/$soname-def;
***************
*** 1833,1838 ****
--- 2146,2152 ----
set dummy \$symbol;
case \[$]# in
2) echo " \[$]2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+ 4) echo " \[$]2 \[$]3 \[$]4 ; " >> $output_objdir/$soname-def;
_lt_hint=`expr \$_lt_hint - 1`;;
*) echo " \[$]2 @ \$_lt_hint \[$]3 ; " >>
$output_objdir/$soname-def;;
esac;
_lt_hint=`expr 1 + \$_lt_hint`;
***************
*** 1945,1954 ****
# need to do runtime linking.
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
for ld_flag in $LDFLAGS; do
! if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
break
! fi
done
esac
--- 2259,2270 ----
# need to do runtime linking.
case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
for ld_flag in $LDFLAGS; do
! case $ld_flag in
! *-brtl*)
aix_use_runtimelinking=yes
break
! ;;
! esac
done
esac
***************
*** 2064,2070 ****
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
# `"' quotes if we put them in here... so don't!
! archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags
-install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
--- 2380,2386 ----
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
# `"' quotes if we put them in here... so don't!
! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o
$libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib)
$allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test
.$module != .yes && echo -install_name $rpath/$soname $verstring)'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
***************
*** 2119,2128 ****
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version
${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib'
else
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname
$soname `test -n "$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib'
fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
link_all_deplibs=yes
;;
--- 2435,2445 ----
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version
${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname
$soname `test -n "$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='-rpath $libdir'
fi
hardcode_libdir_separator=:
link_all_deplibs=yes
;;
***************
*** 2150,2156 ****
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$linker_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
--- 2467,2473 ----
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
***************
*** 2160,2166 ****
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$linker_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
--- 2477,2483 ----
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
***************
*** 2272,2284 ****
;;
sysv4)
! if test "x$host_vendor" = xsno; then
! archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=yes # is this really true???
! else
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! fi
runpath_var='LD_RUN_PATH'
hardcode_shlibpath_var=no
;;
--- 2589,2611 ----
;;
sysv4)
! case $host_vendor in
! sni)
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=yes # is this really true???
! ;;
! siemens)
! ## LD is ld it makes a PLAMLIB
! ## CC just makes a GrossModule.
! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! reload_cmds='$CC -r -o $output$reload_objs'
! hardcode_direct=no
! ;;
! motorola)
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=no #Motorola manual says yes, but my tests say they
lie
! ;;
! esac
runpath_var='LD_RUN_PATH'
hardcode_shlibpath_var=no
;;
***************
*** 2419,2424 ****
--- 2746,2754 ----
aix4* | aix5*)
version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
if test "$host_cpu" = ia64; then
# AIX 5 supports IA64
library_names_spec='${libname}${release}.so$major
${libname}${release}.so$versuffix $libname.so'
***************
*** 2457,2462 ****
--- 2787,2793 ----
fi
shlibpath_var=LIBPATH
fi
+ hardcode_into_libs=yes
;;
amigaos*)
***************
*** 2504,2510 ****
;;
yes,mingw*)
library_names_spec='${libname}`echo ${release} | sed -e
's/[[.]]/-/g'`${versuffix}.dll'
! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" |
sed -e "s/^libraries://" -e "s/;/ /g"`
;;
yes,pw32*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo
${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
--- 2835,2841 ----
;;
yes,mingw*)
library_names_spec='${libname}`echo ${release} | sed -e
's/[[.]]/-/g'`${versuffix}.dll'
! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" |
sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
;;
yes,pw32*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo
${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
***************
*** 2536,2541 ****
--- 2867,2884 ----
dynamic_linker=no
;;
+ freebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU/FreeBSD ld.so'
+ ;;
+
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
***************
*** 2702,2712 ****
version_type=osf
need_version=no
need_lib_prefix=no
! soname_spec='${libname}${release}.so'
! library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so $libname.so'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
sco3.2v5*)
--- 3045,3056 ----
version_type=osf
need_version=no
need_lib_prefix=no
! soname_spec='${libname}${release}.so$major'
! library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so$major $libname.so'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ hardcode_into_libs=yes
;;
sco3.2v5*)
***************
*** 2749,2754 ****
--- 3093,3104 ----
case $host_vendor in
sni)
shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
;;
motorola)
need_lib_prefix=no
***************
*** 2903,2909 ****
# Now quote all the things that may contain metacharacters while being
# careful not to overquote the AC_SUBSTed values. We take copies of the
# variables and quote the copies for generation of the libtool script.
! for var in echo old_CC old_CFLAGS \
AR AR_FLAGS CC LD LN_S NM SHELL \
reload_flag reload_cmds wl \
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
--- 3253,3259 ----
# Now quote all the things that may contain metacharacters while being
# careful not to overquote the AC_SUBSTed values. We take copies of the
# variables and quote the copies for generation of the libtool script.
! for var in echo old_CC old_CFLAGS SED \
AR AR_FLAGS CC LD LN_S NM SHELL \
reload_flag reload_cmds wl \
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
***************
*** 2965,2972 ****
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
! Xsed="sed -e s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
--- 3315,3325 ----
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
+ # A sed that does not truncate output.
+ SED=$lt_SED
+
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
! Xsed="${SED} -e s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
***************
*** 3727,3733 ****
# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
# -- PORTME fill in with the dynamic library characteristics
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
! [AC_CACHE_CHECK([how to recognise dependant libraries],
lt_cv_deplibs_check_method,
[lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
--- 4080,4086 ----
# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
# -- PORTME fill in with the dynamic library characteristics
AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
! [AC_CACHE_CHECK([how to recognise dependent libraries],
lt_cv_deplibs_check_method,
[lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
***************
*** 3825,3831 ****
# This must be Linux ELF.
linux-gnu*)
! lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
--- 4178,4190 ----
# This must be Linux ELF.
linux-gnu*)
! case $host_cpu in
! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
! lt_cv_deplibs_check_method=pass_all ;;
! *)
! # glibc up to 2.1.1 does not perform some relocations on ARM
! lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB
(shared object|dynamic lib )' ;;
! esac
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
***************
*** 3891,3896 ****
--- 4250,4258 ----
lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB
dynamic lib"
lt_cv_file_magic_test_file=/lib/libc.so
;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
esac
;;
esac
***************
*** 4023,4028 ****
--- 4385,4479 ----
# This is just to silence aclocal about the macro not being used
ifelse([AC_DISABLE_FAST_INSTALL])
+
+ # NOTE: This macro has been submitted for inclusion into #
+ # GNU Autoconf as AC_PROG_SED. When it is available in #
+ # a released version of Autoconf we should remove this #
+ # macro and use it instead. #
+ # LT_AC_PROG_SED
+ # --------------
+ # Check for a fully-functional sed program, that truncates
+ # as few characters as possible. Prefer GNU sed if found.
+ AC_DEFUN([LT_AC_PROG_SED],
+ [AC_MSG_CHECKING([for a sed that does not truncate output])
+ AC_CACHE_VAL(lt_cv_path_SED,
+ [# Loop through the user's path and test for sed and gsed.
+ # Then use that list of sed's as ones to test for truncation.
+ as_executable_p="test -f"
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
+ _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+ done
+
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+ }
+
+ # Create a (secure) tmp directory for tmp files.
+ : ${TMPDIR=/tmp}
+ {
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+ } ||
+ {
+ tmp=$TMPDIR/sed$$-$RANDOM
+ (umask 077 && mkdir $tmp)
+ } ||
+ {
+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+ { (exit 1); exit 1; }
+ }
+ _max=0
+ _count=0
+ # Add /usr/xpg4/bin/sed as it is typically found on Solaris
+ # along with /bin/sed that truncates output.
+ for _sed in $_sed_list /usr/xpg4/bin/sed; do
+ test ! -f ${_sed} && break
+ cat /dev/null > "$tmp/sed.in"
+ _count=0
+ echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
+ # Check for GNU sed and select it if it is found.
+ if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
+ lt_cv_path_SED=${_sed}
+ break
+ fi
+ while true; do
+ cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
+ mv "$tmp/sed.tmp" "$tmp/sed.in"
+ cp "$tmp/sed.in" "$tmp/sed.nl"
+ echo >>"$tmp/sed.nl"
+ ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
+ cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
+ # 40000 chars as input seems more than enough
+ test $_count -gt 10 && break
+ _count=`expr $_count + 1`
+ if test $_count -gt $_max; then
+ _max=$_count
+ lt_cv_path_SED=$_sed
+ fi
+ done
+ done
+ rm -rf "$tmp"
+ ])
+ if test "X$SED" != "X"; then
+ lt_cv_path_SED=$SED
+ else
+ SED=$lt_cv_path_SED
+ fi
+ AC_MSG_RESULT([$SED])
+ ])
dnl Automake macros for working with Guile.
dnl
Index: guile/guile-tcltk/configure
diff -c guile/guile-tcltk/configure:1.43 guile/guile-tcltk/configure:1.44
*** guile/guile-tcltk/configure:1.43 Thu Nov 14 13:19:08 2002
--- guile/guile-tcltk/configure Sun Nov 17 21:10:03 2002
***************
*** 1,374 ****
#! /bin/sh
!
!
!
! # Do all the work for Automake. This macro actually does too much --
! # some checks are only needed if your package does certain things.
! # But this isn't really a big deal.
!
! # serial 5
!
! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
! # written in clear, in which case automake, when reading aclocal.m4,
! # will think it sees a *use*, and therefore will trigger all it's
! # C support machinery. Also note that it means that autoscan, seeing
! # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
!
!
! # We require 2.13 because we rely on SHELL being computed by configure.
!
!
! # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
! # -----------------------------------------------------------
! # If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
! # The purpose of this macro is to provide the user with a means to
! # check macros which are provided without letting her know how the
! # information is coded.
! # If this macro is not defined by Autoconf, define it here.
!
!
!
! # AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
! # ----------------------------------------------
!
!
! #
! # Check to make sure that the build environment is sane.
! #
!
! # serial 3
!
! # AM_SANITY_CHECK
! # ---------------
!
!
!
! # serial 2
!
! # AM_MISSING_PROG(NAME, PROGRAM)
! # ------------------------------
!
!
!
! # AM_MISSING_HAS_RUN
! # ------------------
! # Define MISSING if not defined so far and test if it supports --run.
! # If it does, set am_missing_run to use it, otherwise, to nothing.
!
!
! # AM_AUX_DIR_EXPAND
!
! # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
! # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
! # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
! #
! # Of course, Automake must honor this variable whenever it calls a
! # tool from the auxiliary directory. The problem is that $srcdir (and
! # therefore $ac_aux_dir as well) can be either absolute or relative,
! # depending on how configure is run. This is pretty annoying, since
! # it makes $ac_aux_dir quite unusable in subdirectories: in the top
! # source directory, any form will work fine, but in subdirectories a
! # relative path needs to be adjusted first.
! #
! # $ac_aux_dir/missing
! # fails when called from a subdirectory if $ac_aux_dir is relative
! # $top_srcdir/$ac_aux_dir/missing
! # fails if $ac_aux_dir is absolute,
! # fails when called from a subdirectory in a VPATH build with
! # a relative $ac_aux_dir
! #
! # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
! # are both prefixed by $srcdir. In an in-source build this is usually
! # harmless because $srcdir is `.', but things will broke when you
! # start a VPATH build or use an absolute $srcdir.
! #
! # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
! # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
! # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
! # and then we would define $MISSING as
! # MISSING="\${SHELL} $am_aux_dir/missing"
! # This will work as long as MISSING is not called from configure, because
! # unfortunately $(top_srcdir) has no meaning in configure.
! # However there are other variables, like CC, which are often used in
! # configure, and could therefore not use this "fixed" $ac_aux_dir.
! #
! # Another solution, used here, is to always expand $ac_aux_dir to an
! # absolute PATH. The drawback is that using absolute paths prevent a
! # configured tree to be moved without reconfiguration.
!
!
!
! # AM_PROG_INSTALL_SH
! # ------------------
! # Define $install_sh.
!
!
! # One issue with vendor `install' (even GNU) is that you can't
! # specify the program used to strip binaries. This is especially
! # annoying in cross-compiling environments, where the build's strip
! # is unlikely to handle the host's binaries.
! # Fortunately install-sh will honor a STRIPPROG variable, so we
! # always use install-sh in `make install-strip', and initialize
! # STRIPPROG with the value of the STRIP variable (set by the user).
!
!
! # serial 4 -*- Autoconf -*-
!
!
!
! # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
! # written in clear, in which case automake, when reading aclocal.m4,
! # will think it sees a *use*, and therefore will trigger all it's
! # C support machinery. Also note that it means that autoscan, seeing
! # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
!
!
!
! # _AM_DEPENDENCIES(NAME)
! # ---------------------
! # See how the compiler implements dependency checking.
! # NAME is "CC", "CXX" or "OBJC".
! # We try a few techniques and use that to set a single cache variable.
! #
! # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
! # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
! # dependency, and given that the user is not expected to run this macro,
! # just rely on AC_PROG_CC.
!
!
!
! # AM_SET_DEPDIR
! # -------------
! # Choose a directory name for dependency files.
! # This macro is AC_REQUIREd in _AM_DEPENDENCIES
!
!
!
! # AM_DEP_TRACK
! # ------------
!
!
! # Generate code to set up dependency tracking.
! # This macro should only be invoked once -- use via AC_REQUIRE.
! # Usage:
! # AM_OUTPUT_DEPENDENCY_COMMANDS
!
! #
! # This code is only required when automatic dependency tracking
! # is enabled. FIXME. This creates each `.P' file that we will
! # need in order to bootstrap the dependency handling code.
!
!
! # AM_MAKE_INCLUDE()
! # -----------------
! # Check to see how make treats includes.
!
!
! # serial 3
!
! # AM_CONDITIONAL(NAME, SHELL-CONDITION)
! # -------------------------------------
! # Define a conditional.
#
! # FIXME: Once using 2.50, use this:
! # m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
!
!
! # Add --enable-maintainer-mode option to configure.
! # From Jim Meyering
!
! # serial 1
!
!
!
! # libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
!
! # serial 46 AC_PROG_LIBTOOL
!
!
!
!
!
! # AC_LIBTOOL_HEADER_ASSERT
! # ------------------------
! # AC_LIBTOOL_HEADER_ASSERT
!
! # _LT_AC_CHECK_DLFCN
! # --------------------
! # _LT_AC_CHECK_DLFCN
!
! # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
! # ---------------------------------
! # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
!
! # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
! # ---------------------------------
! # _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
!
! # _LT_AC_PROG_ECHO_BACKSLASH
! # --------------------------
! # Add some code to the start of the generated configure script which
! # will find an echo command which doesn't interpret backslashes.
! # _LT_AC_PROG_ECHO_BACKSLASH
!
! # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
! # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
! # ------------------------------------------------------------------
! # _LT_AC_TRY_DLOPEN_SELF
!
! # AC_LIBTOOL_DLOPEN_SELF
! # -------------------
! # AC_LIBTOOL_DLOPEN_SELF
!
! # _LT_AC_LTCONFIG_HACK
!
! # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
!
!
! # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
!
!
! # AC_ENABLE_SHARED - implement the --enable-shared flag
! # Usage: AC_ENABLE_SHARED[(DEFAULT)]
! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
! # `yes'.
!
!
! # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
!
!
! # AC_ENABLE_STATIC - implement the --enable-static flag
! # Usage: AC_ENABLE_STATIC[(DEFAULT)]
! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
! # `yes'.
!
!
! # AC_DISABLE_STATIC - set the default static flag to --disable-static
!
!
!
! # AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
! # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
! # Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
! # `yes'.
!
!
! # AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
!
!
! # AC_LIBTOOL_PICMODE - implement the --with-pic flag
! # Usage: AC_LIBTOOL_PICMODE[(MODE)]
! # Where MODE is either `yes' or `no'. If omitted, it defaults to
! # `both'.
!
!
!
! # AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
!
!
!
! # AC_PATH_MAGIC - find a file program which can recognise a shared library
!
!
!
! # AC_PROG_LD - find the path to the GNU or non-GNU linker
!
!
! # AC_PROG_LD_GNU -
!
!
! # AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
! # -- PORTME Some linkers may need a different reload flag.
!
!
! # AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
! # -- PORTME fill in with the dynamic library characteristics
!
!
!
! # AC_PROG_NM - find the path to a BSD-compatible name lister
!
!
! # AC_CHECK_LIBM - check for math library
! # AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
! # the libltdl convenience library and LTDLINCL to the include flags for
! # the libltdl header and adds --enable-ltdl-convenience to the
! # configure arguments. Note that LIBLTDL and LTDLINCL are not
! # AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
! # provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
! # with '${top_builddir}/' and LTDLINCL will be prefixed with
! # '${top_srcdir}/' (note the single quotes!). If your package is not
! # flat and you're not using automake, define top_builddir and
! # top_srcdir appropriately in the Makefiles.
! # AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
! # the libltdl installable library and LTDLINCL to the include flags for
! # the libltdl header and adds --enable-ltdl-install to the configure
! # arguments. Note that LIBLTDL and LTDLINCL are not AC_SUBSTed, nor is
! # AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
! # libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
! # be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed
! # with '${top_srcdir}/' (note the single quotes!). If your package is
! # not flat and you're not using automake, define top_builddir and
! # top_srcdir appropriately in the Makefiles.
! # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
! # old names
! # This is just to silence aclocal about the macro not being used
! # Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.13
! # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
! #
! # This configure script is free software; the Free Software Foundation
! # gives unlimited permission to copy, distribute and modify it.
- # Defaults:
- ac_help=
- ac_default_prefix=/usr/local
- # Any additions from configure.in:
- ac_help="$ac_help
- --disable-dependency-tracking Speeds up one-time builds
- --enable-dependency-tracking Do not reject slow dependency extractors"
- 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-tcltk=DIR Use DIR/include and DIR/lib for tk and tcl"
- ac_help="$ac_help
- --with-tkdir=TKDIR Use DIR/include and DIR/lib for tcl and
- TKDIR/include and TKDIR/lib for tk where
- DIR is specified with --with-tcltk"
- ac_help="$ac_help
- --with-tcl=LIBNAME Name of tcl library to use [LIBNAME=tcl7.5]"
- ac_help="$ac_help
- --with-tk=LIBNAME Name of tk library to use [LIBNAME=tk4.1]"
- ac_help="$ac_help
- --enable-shared[=PKGS] build shared libraries [default=yes]"
- ac_help="$ac_help
- --enable-static[=PKGS] build static libraries [default=yes]"
- ac_help="$ac_help
- --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
- ac_help="$ac_help
- --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
# Find the correct PATH separator. Usually this is `:', but
# DJGPP uses `;' like DOS.
--- 1,241 ----
#! /bin/sh
! # Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.54.
#
! # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! # Free Software Foundation, Inc.
! # This configure script is free software; the Free Software Foundation
! # gives unlimited permission to copy, distribute and modify it.
! ## --------------------- ##
! ## M4sh Initialization. ##
! ## --------------------- ##
!
! # Be Bourne compatible
! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! emulate sh
! NULLCMD=:
! # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! # is contrary to our usage. Disable this feature.
! alias -g '${1+"$@"}'='"$@"'
! elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! set -o posix
! fi
!
! # Support unset when possible.
! if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! as_unset=unset
! else
! as_unset=false
! fi
! # Work around bugs in pre-3.0 UWIN ksh.
! $as_unset ENV MAIL MAILPATH
! PS1='$ '
! PS2='> '
! PS4='+ '
+ # NLS nuisances.
+ for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES
LC_TIME
+ do
+ if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
+ eval $as_var=C; export $as_var
+ else
+ $as_unset $as_var
+ fi
+ done
! # Required to use basename.
! if expr a : '\(a\)' >/dev/null 2>&1; then
! as_expr=expr
! else
! as_expr=false
! fi
!
! if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! as_basename=basename
! else
! as_basename=false
! fi
! # Name of the executable.
! as_me=`$as_basename "$0" ||
! $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! X"$0" : 'X\(//\)$' \| \
! X"$0" : 'X\(/\)$' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X/"$0" |
! sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! /^X\/\(\/\/\)$/{ s//\1/; q; }
! /^X\/\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
!
!
! # PATH needs CR, and LINENO needs CR and PATH.
! # Avoid depending upon Character Ranges.
! as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! as_cr_digits='0123456789'
! as_cr_alnum=$as_cr_Letters$as_cr_digits
!
! # The user is always right.
! if test "${PATH_SEPARATOR+set}" != set; then
! echo "#! /bin/sh" >conftest.sh
! echo "exit 0" >>conftest.sh
! chmod +x conftest.sh
! if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
! PATH_SEPARATOR=';'
! else
! PATH_SEPARATOR=:
! fi
! rm -f conftest.sh
! fi
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
+ # Find who we are. Look in the path if we contain no path at all
+ # relative or not.
+ case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+ done
+ ;;
+ esac
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
+ # in which case we are not to be found in the path.
+ if test "x$as_myself" = x; then
+ as_myself=$0
+ fi
+ if test ! -f "$as_myself"; then
+ { echo "$as_me: error: cannot find myself; rerun with an absolute path"
>&2
+ { (exit 1); exit 1; }; }
+ fi
+ case $CONFIG_SHELL in
+ '')
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for as_base in sh bash ksh sh5; do
+ case $as_dir in
+ /*)
+ if ("$as_dir/$as_base" -c '
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || {
BASH_ENV=; export BASH_ENV; }
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+ CONFIG_SHELL=$as_dir/$as_base
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+ fi;;
+ esac
+ done
+ done
+ ;;
+ esac
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line before each line; the second 'sed' does the real
+ # work. The second script uses 'N' to pair each line-number line
+ # with the numbered line, and appends trailing '-' during
+ # substitution so that $LINENO is not a special case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
+ sed '=' <$as_myself |
+ sed '
+ N
+ s,$,-,
+ : loop
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
+ t loop
+ s,-$,,
+ s,^['$as_cr_digits']*\n,,
+ ' >$as_me.lineno &&
+ chmod +x $as_me.lineno ||
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX
shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensible to this).
+ . ./$as_me.lineno
+ # Exit status is that of the last command.
+ exit
+ }
+ case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+ *c*,-n*) ECHO_N= ECHO_C='
+ ' ECHO_T=' ' ;;
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
+ esac
+ if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+ else
+ as_expr=false
+ fi
! rm -f conf$$ conf$$.exe conf$$.file
! echo >conf$$.file
! if ln -s conf$$.file conf$$ 2>/dev/null; then
! # We could just check for DJGPP; but this test a) works b) is more generic
! # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! if test -f conf$$.exe; then
! # Don't use ln at all; we don't have any links
! as_ln_s='cp -p'
! else
! as_ln_s='ln -s'
! fi
! elif ln conf$$.file conf$$ 2>/dev/null; then
! as_ln_s=ln
! else
! as_ln_s='cp -p'
! fi
! rm -f conf$$ conf$$.exe conf$$.file
+ if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+ else
+ as_mkdir_p=false
+ fi
+ as_executable_p="test -f"
+ # Sed expression to map a string onto a valid CPP name.
+ as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
+ # Sed expression to map a string onto a valid variable name.
+ as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
+ # IFS
+ # We need space, tab and new line, in precisely that order.
+ as_nl='
+ '
+ IFS=" $as_nl"
! # CDPATH.
! $as_unset CDPATH
# Find the correct PATH separator. Usually this is `:', but
# DJGPP uses `;' like DOS.
***************
*** 528,549 ****
fi
! ac_help="$ac_help
! --disable-libtool-lock avoid locking (might break parallel builds)"
! ac_help="$ac_help
! --with-pic try to use only PIC/non-PIC objects [default=use
both]"
! ac_help="$ac_help
! --with-x use the X Window System"
# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
! build=NONE
! cache_file=./config.cache
exec_prefix=NONE
- host=NONE
no_create=
- nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
--- 395,480 ----
fi
!
! # Name of the host.
! # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! # so uname gets run too.
! ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
!
! exec 6>&1
!
! #
! # Initializations.
! #
! ac_default_prefix=/usr/local
! ac_config_libobj_dir=.
! cross_compiling=no
! subdirs=
! MFLAGS=
! MAKEFLAGS=
! SHELL=${CONFIG_SHELL-/bin/sh}
!
! # Maximum number of lines to put in a shell here document.
! # This variable seems obsolete. It should probably be removed, and
! # only ac_max_sed_lines should be used.
! : ${ac_max_here_lines=38}
!
! # Identity of this package.
! PACKAGE_NAME=
! PACKAGE_TARNAME=
! PACKAGE_VERSION=
! PACKAGE_STRING=
! PACKAGE_BUGREPORT=
!
! ac_unique_file="guile-tcl.c"
! # Factoring default headers for most tests.
! ac_includes_default="\
! #include <stdio.h>
! #if HAVE_SYS_TYPES_H
! # include <sys/types.h>
! #endif
! #if HAVE_SYS_STAT_H
! # include <sys/stat.h>
! #endif
! #if STDC_HEADERS
! # include <stdlib.h>
! # include <stddef.h>
! #else
! # if HAVE_STDLIB_H
! # include <stdlib.h>
! # endif
! #endif
! #if HAVE_STRING_H
! # if !STDC_HEADERS && HAVE_MEMORY_H
! # include <memory.h>
! # endif
! # include <string.h>
! #endif
! #if HAVE_STRINGS_H
! # include <strings.h>
! #endif
! #if HAVE_INTTYPES_H
! # include <inttypes.h>
! #else
! # if HAVE_STDINT_H
! # include <stdint.h>
! # endif
! #endif
! #if HAVE_UNISTD_H
! # include <unistd.h>
! #endif"
!
! ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix
program_transform_name bindir sbindir libexecdir datadir sysconfdir
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS
INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL
AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP
INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE
MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include
am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE
am__fastdepCC_FALSE CPP build build_cpu build_vendor build_os host host_cpu
host_vendor host_os LN_S ECHO RANLIB ac_ct_RANLIB EGREP LIBTOOL X_CFLAGS
X_PRE_LIBS X_LIBS X_EXTRA_LIBS GUILE_CONFIG GUILE_CFLAGS GUILE_LDFLAGS
GUILE_LIBS LIBOBJS LIBLOBJS TCLTKDIR TCL_EXTRA_LIBS LTLIBOBJS'
! ac_subst_files=''
# Initialize some variables set by options.
+ ac_init_help=
+ ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
! cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
***************
*** 552,561 ****
silent=
site=
srcdir=
- target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
--- 483,497 ----
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE
+
+ # Installation directory options.
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
+ # and all the variables that are supposed to be based on exec_prefix
+ # by default will actually change.
+ # Use braces instead of parens because sh, perl, etc. also accept them.
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
***************
*** 569,585 ****
infodir='${prefix}/info'
mandir='${prefix}/man'
- # Initialize some other variables.
- subdirs=
- MFLAGS= MAKEFLAGS=
- SHELL=${CONFIG_SHELL-/bin/sh}
- # Maximum number of lines to put in a shell here document.
- ac_max_here_lines=12
-
ac_prev=
for ac_option
do
-
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval "$ac_prev=\$ac_option"
--- 505,513 ----
***************
*** 587,645 ****
continue
fi
! case "$ac_option" in
! -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
! *) ac_optarg= ;;
! esac
# Accept the important Cygnus configure options, so we can diagnose typos.
! case "$ac_option" in
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! bindir="$ac_optarg" ;;
-build | --build | --buil | --bui | --bu)
! ac_prev=build ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
! build="$ac_optarg" ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* |
--c=*)
! cache_file="$ac_optarg" ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
! datadir="$ac_optarg" ;;
-disable-* | --disable-*)
! ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
# Reject names that are not valid shell variable names.
! if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
! { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit
1; }
! fi
! ac_feature=`echo $ac_feature| sed 's/-/_/g'`
! eval "enable_${ac_feature}=no" ;;
-enable-* | --enable-*)
! ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
! if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
! { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit
1; }
! fi
! ac_feature=`echo $ac_feature| sed 's/-/_/g'`
! case "$ac_option" in
! *=*) ;;
*) ac_optarg=yes ;;
esac
! eval "enable_${ac_feature}='$ac_optarg'" ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
--- 515,573 ----
continue
fi
! ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
# Accept the important Cygnus configure options, so we can diagnose typos.
! case $ac_option in
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
! ac_prev=build_alias ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
! build_alias=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* |
--c=*)
! cache_file=$ac_optarg ;;
!
! --config-cache | -C)
! cache_file=config.cache ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
! datadir=$ac_optarg ;;
-disable-* | --disable-*)
! ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
! expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! { (exit 1); exit 1; }; }
! ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! eval "enable_$ac_feature=no" ;;
-enable-* | --enable-*)
! ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
! expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! { (exit 1); exit 1; }; }
! ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! case $ac_option in
! *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
*) ac_optarg=yes ;;
esac
! eval "enable_$ac_feature='$ac_optarg'" ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
***************
*** 648,742 ****
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
! exec_prefix="$ac_optarg" ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
! -help | --help | --hel | --he)
! # Omit some internal or obsolete options to make the list less imposing.
! # This message is too long to be a string in the A/UX 3.1 sh.
! cat << EOF
! Usage: configure [options] [host]
! Options: [defaults in brackets after descriptions]
! Configuration:
! --cache-file=FILE cache test results in FILE
! --help print this message
! --no-create do not create output files
! --quiet, --silent do not print \`checking...' messages
! --version print the version of autoconf that created configure
! Directory and file names:
! --prefix=PREFIX install architecture-independent files in PREFIX
! [$ac_default_prefix]
! --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! [same as prefix]
! --bindir=DIR user executables in DIR [EPREFIX/bin]
! --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
! --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
! --datadir=DIR read-only architecture-independent data in DIR
! [PREFIX/share]
! --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
! --sharedstatedir=DIR modifiable architecture-independent data in DIR
! [PREFIX/com]
! --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
! --libdir=DIR object code libraries in DIR [EPREFIX/lib]
! --includedir=DIR C header files in DIR [PREFIX/include]
! --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
! --infodir=DIR info documentation in DIR [PREFIX/info]
! --mandir=DIR man documentation in DIR [PREFIX/man]
! --srcdir=DIR find the sources in DIR [configure dir or ..]
! --program-prefix=PREFIX prepend PREFIX to installed program names
! --program-suffix=SUFFIX append SUFFIX to installed program names
! --program-transform-name=PROGRAM
! run sed PROGRAM on installed program names
! EOF
! cat << EOF
! Host type:
! --build=BUILD configure for building on BUILD [BUILD=HOST]
! --host=HOST configure for HOST [guessed]
! --target=TARGET configure for TARGET [TARGET=HOST]
! Features and packages:
! --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! --x-includes=DIR X include files are in DIR
! --x-libraries=DIR X library files are in DIR
! EOF
! if test -n "$ac_help"; then
! echo "--enable and --with options recognized:$ac_help"
! fi
! exit 0 ;;
-host | --host | --hos | --ho)
! ac_prev=host ;;
-host=* | --host=* | --hos=* | --ho=*)
! host="$ac_optarg" ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=*
\
| --includ=* | --inclu=* | --incl=* | --inc=*)
! includedir="$ac_optarg" ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! infodir="$ac_optarg" ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
! libdir="$ac_optarg" ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=*
\
| --libexe=* | --libex=* | --libe=*)
! libexecdir="$ac_optarg" ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
--- 576,622 ----
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
! exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
! -help | --help | --hel | --he | -h)
! ac_init_help=long ;;
! -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! ac_init_help=recursive ;;
! -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! ac_init_help=short ;;
-host | --host | --hos | --ho)
! ac_prev=host_alias ;;
-host=* | --host=* | --hos=* | --ho=*)
! host_alias=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=*
\
| --includ=* | --inclu=* | --incl=* | --inc=*)
! includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
! libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=*
\
| --libexe=* | --libex=* | --libe=*)
! libexecdir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
***************
*** 745,763 ****
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! localstatedir="$ac_optarg" ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! mandir="$ac_optarg" ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
--- 625,643 ----
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
! localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c | -n)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
***************
*** 771,796 ****
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! oldincludedir="$ac_optarg" ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! prefix="$ac_optarg" ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! program_prefix="$ac_optarg" ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! program_suffix="$ac_optarg" ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
--- 651,676 ----
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
***************
*** 807,813 ****
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
! program_transform_name="$ac_optarg" ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
--- 687,693 ----
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
! program_transform_name=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
***************
*** 817,823 ****
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
! sbindir="$ac_optarg" ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
--- 697,703 ----
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
! sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
***************
*** 828,885 ****
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
! sharedstatedir="$ac_optarg" ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
! site="$ac_optarg" ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! srcdir="$ac_optarg" ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=*
\
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! sysconfdir="$ac_optarg" ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
! ac_prev=target ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! target="$ac_optarg" ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
! -version | --version | --versio | --versi | --vers)
! echo "configure generated by autoconf version 2.13"
! exit 0 ;;
-with-* | --with-*)
! ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
# Reject names that are not valid shell variable names.
! if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
! { echo "configure: error: $ac_package: invalid package name" 1>&2; exit
1; }
! fi
ac_package=`echo $ac_package| sed 's/-/_/g'`
! case "$ac_option" in
! *=*) ;;
*) ac_optarg=yes ;;
esac
! eval "with_${ac_package}='$ac_optarg'" ;;
-without-* | --without-*)
! ac_package=`echo $ac_option|sed -e 's/-*without-//'`
# Reject names that are not valid shell variable names.
! if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
! { echo "configure: error: $ac_package: invalid package name" 1>&2; exit
1; }
! fi
! ac_package=`echo $ac_package| sed 's/-/_/g'`
! eval "with_${ac_package}=no" ;;
--x)
# Obsolete; use --with-x.
--- 708,764 ----
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
! sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
! site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=*
\
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
! ac_prev=target_alias ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! target_alias=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
! -version | --version | --versio | --versi | --vers | -V)
! ac_init_version=: ;;
-with-* | --with-*)
! ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
! expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! { echo "$as_me: error: invalid package name: $ac_package" >&2
! { (exit 1); exit 1; }; }
ac_package=`echo $ac_package| sed 's/-/_/g'`
! case $ac_option in
! *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
*) ac_optarg=yes ;;
esac
! eval "with_$ac_package='$ac_optarg'" ;;
-without-* | --without-*)
! ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
! expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! { echo "$as_me: error: invalid package name: $ac_package" >&2
! { (exit 1); exit 1; }; }
! ac_package=`echo $ac_package | sed 's/-/_/g'`
! eval "with_$ac_package=no" ;;
--x)
# Obsolete; use --with-x.
***************
*** 890,988 ****
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=*
\
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! x_includes="$ac_optarg" ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! x_libraries="$ac_optarg" ;;
! -*) { echo "configure: error: $ac_option: invalid option; use --help to
show usage" 1>&2; exit 1; }
;;
*)
! if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
! echo "configure: warning: $ac_option: invalid host type" 1>&2
! fi
! if test "x$nonopt" != xNONE; then
! { echo "configure: error: can only configure for one host and one
target at a time" 1>&2; exit 1; }
! fi
! nonopt="$ac_option"
;;
esac
done
if test -n "$ac_prev"; then
! { echo "configure: error: missing argument to --`echo $ac_prev | sed
's/_/-/g'`" 1>&2; exit 1; }
! fi
!
! trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1'
1 2 15
!
! # File descriptor usage:
! # 0 standard input
! # 1 file creation
! # 2 errors and warnings
! # 3 some systems may open it to /dev/tty
! # 4 used on the Kubota Titan
! # 6 checking for... messages and results
! # 5 compiler messages saved in config.log
! if test "$silent" = yes; then
! exec 6>/dev/null
! else
! exec 6>&1
fi
- exec 5>./config.log
! echo "\
! This file contains any messages produced by compilers while
! running configure, to aid debugging if configure makes a mistake.
! " 1>&5
! # Strip out --no-create and --no-recursion so they do not pile up.
! # Also quote any args containing shell metacharacters.
! ac_configure_args=
! for ac_arg
do
! case "$ac_arg" in
! -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c) ;;
! -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
! *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
! ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! *) ac_configure_args="$ac_configure_args $ac_arg" ;;
esac
done
! # NLS nuisances.
! # Only set these to C if already set. These must not be set unconditionally
! # because not all systems understand e.g. LANG=C (notably SCO).
! # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
! # Non-C LC_CTYPE values break the ctype check.
! if test "${LANG+set}" = set; then LANG=C; export LANG; fi
! if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
! if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
! if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
! # confdefs.h avoids OS command line length limits that DEFS can exceed.
! rm -rf conftest* confdefs.h
! # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! echo > confdefs.h
- # A filename unique to this package, relative to the directory that
- # configure is in, which we can look for to find out if srcdir is correct.
- ac_unique_file=guile-tcl.c
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
! ac_prog=$0
! ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
! test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
--- 769,878 ----
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=*
\
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! x_libraries=$ac_optarg ;;
! -*) { echo "$as_me: error: unrecognized option: $ac_option
! Try \`$0 --help' for more information." >&2
! { (exit 1); exit 1; }; }
;;
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+ eval "$ac_envvar='$ac_optarg'"
+ export $ac_envvar ;;
+
*)
! # FIXME: should be removed in autoconf 3.0.
! echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! : ${build_alias=$ac_option} ${host_alias=$ac_option}
${target_alias=$ac_option}
;;
esac
done
if test -n "$ac_prev"; then
! ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! { echo "$as_me: error: missing argument to $ac_option" >&2
! { (exit 1); exit 1; }; }
fi
! # Be sure to have absolute paths.
! for ac_var in exec_prefix prefix
! do
! eval ac_val=$`echo $ac_var`
! case $ac_val in
! [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! *) { echo "$as_me: error: expected an absolute directory name for
--$ac_var: $ac_val" >&2
! { (exit 1); exit 1; }; };;
! esac
! done
! # Be sure to have absolute paths.
! for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! localstatedir libdir includedir oldincludedir infodir mandir
do
! eval ac_val=$`echo $ac_var`
! case $ac_val in
! [\\/$]* | ?:[\\/]* ) ;;
! *) { echo "$as_me: error: expected an absolute directory name for
--$ac_var: $ac_val" >&2
! { (exit 1); exit 1; }; };;
esac
done
! # There might be people who depend on the old broken behavior: `$host'
! # used to hold the argument of --host etc.
! # FIXME: To remove some day.
! build=$build_alias
! host=$host_alias
! target=$target_alias
!
! # FIXME: To remove some day.
! if test "x$host_alias" != x; then
! if test "x$build_alias" = x; then
! cross_compiling=maybe
! echo "$as_me: WARNING: If you wanted to set the --build type, don't use
--host.
! If a cross compiler is detected then cross compile mode will be used." >&2
! elif test "x$build_alias" != "x$host_alias"; then
! cross_compiling=yes
! fi
! fi
! ac_tool_prefix=
! test -n "$host_alias" && ac_tool_prefix=$host_alias-
!
! test "$silent" = yes && exec 6>/dev/null
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
! ac_confdir=`(dirname "$0") 2>/dev/null ||
! $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$0" : 'X\(//\)[^/]' \| \
! X"$0" : 'X\(//\)$' \| \
! X"$0" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$0" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
***************
*** 992,1050 ****
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
! { echo "configure: error: can not find sources in $ac_confdir or .."
1>&2; exit 1; }
else
! { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
fi
fi
! srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
! # Prefer explicitly selected file to automatically selected ones.
! if test -z "$CONFIG_SITE"; then
! if test "x$prefix" != xNONE; then
! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! else
! CONFIG_SITE="$ac_default_prefix/share/config.site
$ac_default_prefix/etc/config.site"
! fi
! fi
! for ac_site_file in $CONFIG_SITE; do
! if test -r "$ac_site_file"; then
! echo "loading site script $ac_site_file"
! . "$ac_site_file"
! fi
! done
! if test -r "$cache_file"; then
! echo "loading cache $cache_file"
! . $cache_file
! else
! echo "creating cache $cache_file"
! > $cache_file
! fi
! ac_ext=c
! # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
! cross_compiling=$ac_cv_prog_cc_cross
!
! ac_exeext=
! ac_objext=o
! if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
! # Stardent Vistra SVR4 grep lacks -e, says address@hidden
! if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
! ac_n= ac_c='
! ' ac_t=' '
! else
! ac_n=-n ac_c= ac_t=
! fi
! else
! ac_n= ac_c='\c' ac_t=
fi
! ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
--- 882,1423 ----
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
! { echo "$as_me: error: cannot find sources ($ac_unique_file) in
$ac_confdir or .." >&2
! { (exit 1); exit 1; }; }
else
! { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir"
>&2
! { (exit 1); exit 1; }; }
fi
fi
! (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
! { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not
work" >&2
! { (exit 1); exit 1; }; }
! srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! ac_env_build_alias_set=${build_alias+set}
! ac_env_build_alias_value=$build_alias
! ac_cv_env_build_alias_set=${build_alias+set}
! ac_cv_env_build_alias_value=$build_alias
! ac_env_host_alias_set=${host_alias+set}
! ac_env_host_alias_value=$host_alias
! ac_cv_env_host_alias_set=${host_alias+set}
! ac_cv_env_host_alias_value=$host_alias
! ac_env_target_alias_set=${target_alias+set}
! ac_env_target_alias_value=$target_alias
! ac_cv_env_target_alias_set=${target_alias+set}
! ac_cv_env_target_alias_value=$target_alias
! ac_env_CC_set=${CC+set}
! ac_env_CC_value=$CC
! ac_cv_env_CC_set=${CC+set}
! ac_cv_env_CC_value=$CC
! ac_env_CFLAGS_set=${CFLAGS+set}
! ac_env_CFLAGS_value=$CFLAGS
! ac_cv_env_CFLAGS_set=${CFLAGS+set}
! ac_cv_env_CFLAGS_value=$CFLAGS
! ac_env_LDFLAGS_set=${LDFLAGS+set}
! ac_env_LDFLAGS_value=$LDFLAGS
! ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! ac_cv_env_LDFLAGS_value=$LDFLAGS
! ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! ac_env_CPPFLAGS_value=$CPPFLAGS
! ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! ac_env_CPP_set=${CPP+set}
! ac_env_CPP_value=$CPP
! ac_cv_env_CPP_set=${CPP+set}
! ac_cv_env_CPP_value=$CPP
!
! #
! # Report the --help message.
! #
! if test "$ac_init_help" = "long"; then
! # Omit some internal or obsolete options to make the list less imposing.
! # This message is too long to be a string in the A/UX 3.1 sh.
! cat <<_ACEOF
! \`configure' configures this package to adapt to many kinds of systems.
! Usage: $0 [OPTION]... [VAR=VALUE]...
! To assign environment variables (e.g., CC, CFLAGS...), specify them as
! VAR=VALUE. See below for descriptions of some of the useful variables.
! Defaults for the options are specified in brackets.
!
! Configuration:
! -h, --help display this help and exit
! --help=short display options specific to this package
! --help=recursive display the short help of all the included packages
! -V, --version display version information and exit
! -q, --quiet, --silent do not print \`checking...' messages
! --cache-file=FILE cache test results in FILE [disabled]
! -C, --config-cache alias for \`--cache-file=config.cache'
! -n, --no-create do not create output files
! --srcdir=DIR find the sources in DIR [configure dir or \`..']
!
! _ACEOF
!
! cat <<_ACEOF
! Installation directories:
! --prefix=PREFIX install architecture-independent files in PREFIX
! [$ac_default_prefix]
! --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! [PREFIX]
!
! By default, \`make install' will install all the files in
! \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! for instance \`--prefix=\$HOME'.
!
! For better control, use the options below.
!
! Fine tuning of the installation directories:
! --bindir=DIR user executables [EPREFIX/bin]
! --sbindir=DIR system admin executables [EPREFIX/sbin]
! --libexecdir=DIR program executables [EPREFIX/libexec]
! --datadir=DIR read-only architecture-independent data
[PREFIX/share]
! --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! --libdir=DIR object code libraries [EPREFIX/lib]
! --includedir=DIR C header files [PREFIX/include]
! --oldincludedir=DIR C header files for non-gcc [/usr/include]
! --infodir=DIR info documentation [PREFIX/info]
! --mandir=DIR man documentation [PREFIX/man]
! _ACEOF
!
! cat <<\_ACEOF
!
! Program names:
! --program-prefix=PREFIX prepend PREFIX to installed program names
! --program-suffix=SUFFIX append SUFFIX to installed program names
! --program-transform-name=PROGRAM run sed PROGRAM on installed program
names
!
! X features:
! --x-includes=DIR X include files are in DIR
! --x-libraries=DIR X library files are in DIR
!
! System types:
! --build=BUILD configure for building on BUILD [guessed]
! --host=HOST cross-compile to build programs to run on HOST [BUILD]
! _ACEOF
fi
+ if test -n "$ac_init_help"; then
! cat <<\_ACEOF
!
! Optional Features:
! --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! --enable-maintainer-mode enable make rules and dependencies not useful
! (and sometimes confusing) to the casual installer
! --disable-dependency-tracking Speeds up one-time builds
! --enable-dependency-tracking Do not reject slow dependency extractors
! --enable-shared=PKGS build shared libraries default=yes
! --enable-static=PKGS build static libraries default=yes
! --enable-fast-install=PKGS optimize for fast installation default=yes
! --disable-libtool-lock avoid locking (might break parallel builds)
!
! Optional Packages:
! --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! --with-tcltk=DIR Use DIR/include and DIR/lib for tk and tcl
! --with-tkdir=TKDIR Use DIR/include and DIR/lib for tcl and
! TKDIR/include and TKDIR/lib for tk where
! DIR is specified with --with-tcltk
! --with-tcl=LIBNAME Name of tcl library to use LIBNAME=tcl7.5
! --with-tk=LIBNAME Name of tk library to use LIBNAME=tk4.1
! --with-gnu-ld assume the C compiler uses GNU ld default=no
! --with-pic try to use only PIC/non-PIC objects default=use both
! --with-x use the X Window System
!
! Some influential environment variables:
! CC C compiler command
! CFLAGS C compiler flags
! LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! nonstandard directory <lib dir>
! CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! headers in a nonstandard directory <include dir>
! CPP C preprocessor
!
! Use these variables to override the choices made by `configure' or to help
! it to find libraries and programs with nonstandard names/locations.
!
! _ACEOF
! fi
!
! if test "$ac_init_help" = "recursive"; then
! # If there are subdirs, report their specific --help.
! ac_popdir=`pwd`
! for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! test -d $ac_dir || continue
! ac_builddir=.
!
! if test "$ac_dir" != .; then
! ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! # A "../" for each directory in $ac_dir_suffix.
! ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
! ac_dir_suffix= ac_top_builddir=
! fi
!
! case $srcdir in
! .) # No --srcdir option. We are building in place.
! ac_srcdir=.
! if test -z "$ac_top_builddir"; then
! ac_top_srcdir=.
! else
! ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! fi ;;
! [\\/]* | ?:[\\/]* ) # Absolute path.
! ac_srcdir=$srcdir$ac_dir_suffix;
! ac_top_srcdir=$srcdir ;;
! *) # Relative path.
! ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! ac_top_srcdir=$ac_top_builddir$srcdir ;;
! esac
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
!
! cd $ac_dir
! # Check for guested configure; otherwise get Cygnus style configure.
! if test -f $ac_srcdir/configure.gnu; then
! echo
! $SHELL $ac_srcdir/configure.gnu --help=recursive
! elif test -f $ac_srcdir/configure; then
! echo
! $SHELL $ac_srcdir/configure --help=recursive
! elif test -f $ac_srcdir/configure.ac ||
! test -f $ac_srcdir/configure.in; then
! echo
! $ac_configure --help
! else
! echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! fi
! cd $ac_popdir
! done
! fi
!
! test -n "$ac_init_help" && exit 0
! if $ac_init_version; then
! cat <<\_ACEOF
!
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! Free Software Foundation, Inc.
! This configure script is free software; the Free Software Foundation
! gives unlimited permission to copy, distribute and modify it.
! _ACEOF
! exit 0
! fi
! exec 5>config.log
! cat >&5 <<_ACEOF
! This file contains any messages produced by compilers while
! running configure, to aid debugging if configure makes a mistake.
!
! It was created by $as_me, which was
! generated by GNU Autoconf 2.54. Invocation command line was
!
! $ $0 $@
!
! _ACEOF
! {
! cat <<_ASUNAME
! ## --------- ##
! ## Platform. ##
! ## --------- ##
!
! hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! uname -m = `(uname -m) 2>/dev/null || echo unknown`
! uname -r = `(uname -r) 2>/dev/null || echo unknown`
! uname -s = `(uname -s) 2>/dev/null || echo unknown`
! uname -v = `(uname -v) 2>/dev/null || echo unknown`
!
! /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
!
! /bin/arch = `(/bin/arch) 2>/dev/null || echo
unknown`
! /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo
unknown`
! /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo
unknown`
! hostinfo = `(hostinfo) 2>/dev/null || echo
unknown`
! /bin/machine = `(/bin/machine) 2>/dev/null || echo
unknown`
! /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo
unknown`
! /bin/universe = `(/bin/universe) 2>/dev/null || echo
unknown`
!
! _ASUNAME
!
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! echo "PATH: $as_dir"
! done
!
! } >&5
!
! cat >&5 <<_ACEOF
!
!
! ## ----------- ##
! ## Core tests. ##
! ## ----------- ##
!
! _ACEOF
!
!
! # Keep a trace of the command line.
! # Strip out --no-create and --no-recursion so they do not pile up.
! # Also quote any args containing shell meta-characters.
! ac_configure_args=
! ac_sep=
! for ac_arg
! do
! case $ac_arg in
! -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! | --no-cr | --no-c | -n ) continue ;;
! -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! continue ;;
! *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! esac
! ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! # Get rid of the leading space.
! ac_sep=" "
! done
!
! # When interrupted or exit'd, cleanup temporary files, and complete
! # config.log. We remove comments because anyway the quotes in there
! # would cause problems or look ugly.
! # WARNING: Be sure not to use single quotes in there, as some shells,
! # such as our DU 5.0 friend, will then `close' the trap.
! trap 'exit_status=$?
! # Save into config.log some information that might help in debugging.
! {
! echo
!
! cat <<\_ASBOX
! ## ---------------- ##
! ## Cache variables. ##
! ## ---------------- ##
! _ASBOX
! echo
! # The following way of writing the cache mishandles newlines in values,
! {
! (set) 2>&1 |
! case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! *ac_space=\ *)
! sed -n \
! "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
!
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! ;;
! *)
! sed -n \
! "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! ;;
! esac;
! }
! echo
!
! cat <<\_ASBOX
! ## ----------------- ##
! ## Output variables. ##
! ## ----------------- ##
! _ASBOX
! echo
! for ac_var in $ac_subst_vars
! do
! eval ac_val=$`echo $ac_var`
! echo "$ac_var='"'"'$ac_val'"'"'"
! done | sort
! echo
!
! if test -n "$ac_subst_files"; then
! cat <<\_ASBOX
! ## ------------- ##
! ## Output files. ##
! ## ------------- ##
! _ASBOX
! echo
! for ac_var in $ac_subst_files
! do
! eval ac_val=$`echo $ac_var`
! echo "$ac_var='"'"'$ac_val'"'"'"
! done | sort
! echo
! fi
!
! if test -s confdefs.h; then
! cat <<\_ASBOX
! ## ----------- ##
! ## confdefs.h. ##
! ## ----------- ##
! _ASBOX
! echo
! sed "/^$/d" confdefs.h | sort
! echo
! fi
! test "$ac_signal" != 0 &&
! echo "$as_me: caught signal $ac_signal"
! echo "$as_me: exit $exit_status"
! } >&5
! rm -f core core.* *.core &&
! rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! exit $exit_status
! ' 0
! for ac_signal in 1 2 13 15; do
! trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! done
! ac_signal=0
!
! # confdefs.h avoids OS command line length limits that DEFS can exceed.
! rm -rf conftest* confdefs.h
! # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! echo >confdefs.h
!
! # Predefined preprocessor variables.
!
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE_NAME "$PACKAGE_NAME"
! _ACEOF
!
!
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! _ACEOF
!
!
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE_VERSION "$PACKAGE_VERSION"
! _ACEOF
!
!
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE_STRING "$PACKAGE_STRING"
! _ACEOF
!
!
! cat >>confdefs.h <<_ACEOF
! #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! _ACEOF
!
!
! # Let the site file select an alternate cache file if it wants to.
! # Prefer explicitly selected file to automatically selected ones.
! if test -z "$CONFIG_SITE"; then
! if test "x$prefix" != xNONE; then
! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! else
! CONFIG_SITE="$ac_default_prefix/share/config.site
$ac_default_prefix/etc/config.site"
! fi
! fi
! for ac_site_file in $CONFIG_SITE; do
! if test -r "$ac_site_file"; then
! { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! echo "$as_me: loading site script $ac_site_file" >&6;}
! sed 's/^/| /' "$ac_site_file" >&5
! . "$ac_site_file"
! fi
! done
!
! if test -r "$cache_file"; then
! # Some versions of bash will fail to source /dev/null (special
! # files actually), so we avoid doing that.
! if test -f "$cache_file"; then
! { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! echo "$as_me: loading cache $cache_file" >&6;}
! case $cache_file in
! [\\/]* | ?:[\\/]* ) . $cache_file;;
! *) . ./$cache_file;;
! esac
! fi
! else
! { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! echo "$as_me: creating cache $cache_file" >&6;}
! >$cache_file
! fi
!
! # Check that the precious variables saved in the cache have kept the same
! # value.
! ac_cache_corrupted=false
! for ac_var in `(set) 2>&1 |
! sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! eval ac_old_set=\$ac_cv_env_${ac_var}_set
! eval ac_new_set=\$ac_env_${ac_var}_set
! eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! eval ac_new_val="\$ac_env_${ac_var}_value"
! case $ac_old_set,$ac_new_set in
! set,)
! { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in
the previous run" >&5
! echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous
run" >&2;}
! ac_cache_corrupted=: ;;
! ,set)
! { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous
run" >&5
! echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! ac_cache_corrupted=: ;;
! ,);;
! *)
! if test "x$ac_old_val" != "x$ac_new_val"; then
! { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the
previous run:" >&5
! echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! echo "$as_me: former value: $ac_old_val" >&2;}
! { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! echo "$as_me: current value: $ac_new_val" >&2;}
! ac_cache_corrupted=:
! fi;;
! esac
! # Pass precious variables to config.status.
! if test "$ac_new_set" = set; then
! case $ac_new_val in
! *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! *) ac_arg=$ac_var=$ac_new_val ;;
! esac
! case " $ac_configure_args " in
! *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! esac
! fi
! done
! if $ac_cache_corrupted; then
! { echo "$as_me:$LINENO: error: changes in the environment can compromise
the build" >&5
! echo "$as_me: error: changes in the environment can compromise the build"
>&2;}
! { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm
$cache_file' and start over" >&5
! echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start
over" >&2;}
! { (exit 1); exit 1; }; }
! fi
!
! ac_ext=c
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
! am__api_version="1.7"
! ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
***************
*** 1054,1071 ****
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
fi
done
if test -z "$ac_aux_dir"; then
! { echo "configure: error: can not find install-sh or install.sh in $srcdir
$srcdir/.. $srcdir/../.." 1>&2; exit 1; }
! fi
! ac_config_guess=$ac_aux_dir/config.guess
! ac_config_sub=$ac_aux_dir/config.sub
! ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
!
!
! # expand $ac_aux_dir to an absolute path
! am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
--- 1427,1446 ----
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
+ elif test -f $ac_dir/shtool; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
fi
done
if test -z "$ac_aux_dir"; then
! { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in
$srcdir $srcdir/.. $srcdir/../.." >&5
! echo "$as_me: error: cannot find install-sh or install.sh in $srcdir
$srcdir/.. $srcdir/../.." >&2;}
! { (exit 1); exit 1; }; }
! fi
! ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
***************
*** 1074,1138 ****
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# 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:1083: 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
else
! IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
! for ac_dir in $PATH; do
! # Account for people who put trailing slashes in PATH elements.
! case "$ac_dir/" in
!
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
! *)
! # OSF1 and SCO ODT 3.0 have their own names for install.
! # Don't use installbsd from OSF since it installs stuff as root
! # by default.
! for ac_prog in ginstall scoinst install; do
! if test -f $ac_dir/$ac_prog; then
! if test $ac_prog = install &&
! grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
! # AIX install. It has an incompatible calling convention.
! :
! else
! ac_cv_path_install="$ac_dir/$ac_prog -c"
! break 2
! fi
! fi
done
! ;;
! esac
! done
! IFS="$ac_save_IFS"
fi
if test "${ac_cv_path_install+set}" = set; then
! INSTALL="$ac_cv_path_install"
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
! INSTALL="$ac_install_sh"
fi
fi
! echo "$ac_t""$INSTALL" 1>&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
! echo "configure:1136: checking whether build environment is sane" >&5
# Just in case
sleep 1
echo timestamp > conftest.file
--- 1449,1526 ----
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
+ # AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
! echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
if test -z "$INSTALL"; then
! if test "${ac_cv_path_install+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! # Account for people who put trailing slashes in PATH elements.
! case $as_dir/ in
! ./ | .// | /cC/* | \
! /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! /usr/ucb/* ) ;;
! *)
! # OSF1 and SCO ODT 3.0 have their own names for install.
! # Don't use installbsd from OSF since it installs stuff as root
! # by default.
! for ac_prog in ginstall scoinst install; do
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! if test $ac_prog = install &&
! grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! # AIX install. It has an incompatible calling convention.
! :
! elif test $ac_prog = install &&
! grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! # program-specific install script used by HP pwplus--don't use.
! :
! else
! ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! break 3
! fi
! fi
done
! done
! ;;
! esac
! done
!
fi
if test "${ac_cv_path_install+set}" = set; then
! INSTALL=$ac_cv_path_install
else
# As a last resort, use the slow shell script. We don't cache a
# path for INSTALL within a source directory, because that will
# break other packages using the cache if that directory is
# removed, or if the path is relative.
! INSTALL=$ac_install_sh
fi
fi
! echo "$as_me:$LINENO: result: $INSTALL" >&5
! echo "${ECHO_T}$INSTALL" >&6
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! echo "$as_me:$LINENO: checking whether build environment is sane" >&5
! echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
# Just in case
sleep 1
echo timestamp > conftest.file
***************
*** 1155,1162 ****
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
! { echo "configure: error: ls -t appears to fail. Make sure there is
not a broken
! alias in your environment" 1>&2; exit 1; }
fi
test "$2" = conftest.file
--- 1543,1553 ----
# if, for instance, CONFIG_SHELL is bash and it inherits a
# broken ls alias from the environment. This has actually
# happened. Such a system could not be considered "sane".
! { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure
there is not a broken
! alias in your environment" >&5
! echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! alias in your environment" >&2;}
! { (exit 1); exit 1; }; }
fi
test "$2" = conftest.file
***************
*** 1165,1192 ****
# Ok.
:
else
! { echo "configure: error: newly created file is older than distributed
files!
! Check your system clock" 1>&2; exit 1; }
! fi
! echo "$ac_t""yes" 1>&6
! if test "$program_transform_name" = s,x,x,; then
! program_transform_name=
! else
! # Double any \ or $. echo might interpret backslashes.
! cat <<\EOF_SED > conftestsed
! s,\\,\\\\,g; s,\$,$$,g
! EOF_SED
! program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
! rm -f conftestsed
fi
test "$program_prefix" != NONE &&
! program_transform_name="s,^,${program_prefix},; $program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
! program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
! # sed with no file args requires a program.
! test "$program_transform_name" = "" && program_transform_name="s,x,x,"
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
--- 1556,1585 ----
# Ok.
:
else
! { { echo "$as_me:$LINENO: error: newly created file is older than
distributed files!
! Check your system clock" >&5
! echo "$as_me: error: newly created file is older than distributed files!
! Check your system clock" >&2;}
! { (exit 1); exit 1; }; }
fi
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
test "$program_prefix" != NONE &&
! program_transform_name="s,^,$program_prefix,;$program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
! program_transform_name="s,\$,$program_suffix,;$program_transform_name"
! # Double any \ or $. echo might interpret backslashes.
! # By default was `s,x,x', remove it if useless.
! cat <<\_ACEOF >conftest.sed
! s/[\\$]/&&/g;s/;s,x,x,$//
! _ACEOF
! program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! rm conftest.sed
!
! # expand $ac_aux_dir to an absolute path
! am_aux_dir=`cd $ac_aux_dir && pwd`
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
# Use eval to expand $SHELL
***************
*** 1194,1330 ****
am_missing_run="$MISSING --run "
else
am_missing_run=
! am_backtick='`'
! echo "configure: warning: ${am_backtick}missing' script is too old or
missing" 1>&2
fi
! for ac_prog in mawk gawk nawk awk
do
! # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1207: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_AWK="$ac_prog"
! break
! fi
! done
! IFS="$ac_save_ifs"
fi
fi
! AWK="$ac_cv_prog_AWK"
if test -n "$AWK"; then
! echo "$ac_t""$AWK" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! test -n "$AWK" && break
done
! echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:1237: 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
else
! cat > conftestmake <<\EOF
all:
@echo 'ac_maketemp="${MAKE}"'
! EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
eval ac_cv_prog_make_${ac_make}_set=yes
else
eval ac_cv_prog_make_${ac_make}_set=no
fi
! rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! echo "$ac_t""yes" 1>&6
SET_MAKE=
else
! echo "$ac_t""no" 1>&6
SET_MAKE="MAKE=${MAKE-make}"
fi
! # Check whether --enable-dependency-tracking or --disable-dependency-tracking
was given.
! if test "${enable_dependency_tracking+set}" = set; then
! enableval="$enable_dependency_tracking"
! :
! fi
!
! if test "x$enable_dependency_tracking" != xno; then
! am_depcomp="$ac_aux_dir/depcomp"
! AMDEPBACKSLASH='\'
! fi
!
!
! if test "x$enable_dependency_tracking" != xno; then
! AMDEP_TRUE=
! AMDEP_FALSE='#'
! else
! AMDEP_TRUE='#'
! AMDEP_FALSE=
fi
!
!
!
! rm -f .deps 2>/dev/null
! mkdir .deps 2>/dev/null
! if test -d .deps; then
! DEPDIR=.deps
! else
! # MS-DOS does not allow filenames that begin with a dot.
! DEPDIR=_deps
fi
- rmdir .deps 2>/dev/null
-
- # test to see if srcdir already configured
- if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- { echo "configure: error: source directory already configured; run \"make
distclean\" there first" 1>&2; exit 1; }
- fi
# Define the identity of the package.
! PACKAGE=guile-tcltk
! VERSION=2.0
!
!
! # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
! # the ones we care about.
!
! # Autoconf 2.50 always computes EXEEXT. However we need to be
! # compatible with 2.13, for now. So we always define EXEEXT, but we
! # don't compute it.
!
! # Similar for OBJEXT -- only we only use OBJEXT if the user actually
! # requests that it be used. This is a bit dumb.
! : ${OBJEXT=o}
# Some tools Automake needs.
! ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
--- 1587,1697 ----
am_missing_run="$MISSING --run "
else
am_missing_run=
! { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing"
>&5
! echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
fi
! for ac_prog in gawk mawk nawk awk
do
! # Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_AWK+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$AWK"; then
ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_AWK="$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
fi
fi
! AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
! echo "$as_me:$LINENO: result: $AWK" >&5
! echo "${ECHO_T}$AWK" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! test -n "$AWK" && break
done
! echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
! echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
! set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.make <<\_ACEOF
all:
@echo 'ac_maketemp="${MAKE}"'
! _ACEOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
eval ac_cv_prog_make_${ac_make}_set=yes
else
eval ac_cv_prog_make_${ac_make}_set=no
fi
! rm -f conftest.make
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
SET_MAKE=
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
SET_MAKE="MAKE=${MAKE-make}"
fi
! # test to see if srcdir already configured
! if test "`cd $srcdir && pwd`" != "`pwd`" &&
! test -f $srcdir/config.status; then
! { { echo "$as_me:$LINENO: error: source directory already configured; run
\"make distclean\" there first" >&5
! echo "$as_me: error: source directory already configured; run \"make
distclean\" there first" >&2;}
! { (exit 1); exit 1; }; }
fi
! # test whether we have cygpath
! if test -z "$CYGPATH_W"; then
! if (cygpath --version) >/dev/null 2>/dev/null; then
! CYGPATH_W='cygpath -w'
! else
! CYGPATH_W=echo
! fi
fi
# Define the identity of the package.
! PACKAGE=guile-tcltk
! VERSION=2.0
# Some tools Automake needs.
! ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
***************
*** 1337,1359 ****
install_sh=${install_sh-"$am_aux_dir/install-sh"}
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
! echo $ac_n "checking whether to enable maintainer-specific portions of
Makefiles""... $ac_c" 1>&6
! echo "configure:1347: 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
MAINTAINER_MODE_TRUE=
--- 1704,1814 ----
install_sh=${install_sh-"$am_aux_dir/install-sh"}
+ # Installed binaries are usually stripped using `strip' when the user
+ # run `make install-strip'. However `strip' might not be the right
+ # tool to use in cross-compilation environments, therefore Automake
+ # will honor the `STRIP' environment variable to overrule this program.
+ if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a
program name with args.
+ set dummy ${ac_tool_prefix}strip; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+ done
+
+ fi
+ fi
+ STRIP=$ac_cv_prog_STRIP
+ if test -n "$STRIP"; then
+ echo "$as_me:$LINENO: result: $STRIP" >&5
+ echo "${ECHO_T}$STRIP" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+
+ fi
+ if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+ set dummy strip; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+ else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+ for as_dir in $PATH
+ do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+ done
+ done
+
+ test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
+ fi
+ fi
+ ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+ if test -n "$ac_ct_STRIP"; then
+ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+ echo "${ECHO_T}$ac_ct_STRIP" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
+
+ STRIP=$ac_ct_STRIP
+ else
+ STRIP="$ac_cv_prog_STRIP"
+ fi
+
+ fi
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
!
!
! echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions
of Makefiles" >&5
! echo $ECHO_N "checking whether to enable maintainer-specific portions of
Makefiles... $ECHO_C" >&6
# 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 "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
if test $USE_MAINTAINER_MODE = yes; then
MAINTAINER_MODE_TRUE=
***************
*** 1362,1369 ****
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
MAINT=$MAINTAINER_MODE_TRUE
!
#--------------------------------------------------------------------
--- 1817,1825 ----
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
+
MAINT=$MAINTAINER_MODE_TRUE
!
#--------------------------------------------------------------------
***************
*** 1372,1615 ****
#
#--------------------------------------------------------------------
# Check whether --with-tcltk or --without-tcltk was given.
if test "${with_tcltk+set}" = set; then
withval="$with_tcltk"
! :
! fi
# Check whether --with-tkdir or --without-tkdir was given.
if test "${with_tkdir+set}" = set; then
withval="$with_tkdir"
! :
! fi
# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
withval="$with_tcl"
! :
! fi
# Check whether --with-tk or --without-tk was given.
if test "${with_tk+set}" = set; then
withval="$with_tk"
- :
- 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:1409: 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
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_CC="gcc"
! break
! fi
! done
! IFS="$ac_save_ifs"
fi
fi
! CC="$ac_cv_prog_CC"
if test -n "$CC"; then
! echo "$ac_t""$CC" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
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:1439: 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
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
! ac_prog_rejected=yes
! continue
! fi
! ac_cv_prog_CC="cc"
! break
! fi
! done
! IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
! if test $# -gt 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
! set dummy "$ac_dir/$ac_word" "$@"
! shift
! ac_cv_prog_CC="$@"
fi
fi
fi
fi
! CC="$ac_cv_prog_CC"
if test -n "$CC"; then
! echo "$ac_t""$CC" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! if test -z "$CC"; then
! case "`uname -s`" in
! *win32* | *WIN32*)
! # Extract the first word of "cl", so it can be a program name with args.
! set dummy cl; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1490: 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
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_CC="cl"
! break
! fi
! done
! IFS="$ac_save_ifs"
fi
fi
! CC="$ac_cv_prog_CC"
if test -n "$CC"; then
! echo "$ac_t""$CC" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! ;;
! esac
fi
! test -z "$CC" && { echo "configure: error: no acceptable cc found in
\$PATH" 1>&2; exit 1; }
fi
! echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""...
$ac_c" 1>&6
! echo "configure:1522: 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.
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
! cross_compiling=$ac_cv_prog_cc_cross
- cat > conftest.$ac_ext << EOF
! #line 1533 "configure"
#include "confdefs.h"
! main(){return(0);}
! EOF
! if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; 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
! ac_cv_prog_cc_cross=no
else
! ac_cv_prog_cc_cross=yes
fi
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_prog_cc_works=no
fi
! rm -fr conftest*
! ac_ext=c
! # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
! cross_compiling=$ac_cv_prog_cc_cross
!
! echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
! 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:1564: 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:1569: 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
! cat > conftest.c <<EOF
! #ifdef __GNUC__
! yes;
! #endif
! EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1578:
\"$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
! fi
fi
! echo "$ac_t""$ac_cv_prog_gcc" 1>&6
! if test $ac_cv_prog_gcc = yes; then
! GCC=yes
else
! GCC=
fi
! ac_test_CFLAGS="${CFLAGS+set}"
! ac_save_CFLAGS="$CFLAGS"
! CFLAGS=
! echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1597: 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
! echo 'void f(){}' > conftest.c
! if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_cc_g=yes
else
! ac_cv_prog_cc_g=no
fi
! rm -f conftest*
!
fi
!
! echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
! CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
--- 1828,2461 ----
#
#--------------------------------------------------------------------
+
# Check whether --with-tcltk or --without-tcltk was given.
if test "${with_tcltk+set}" = set; then
withval="$with_tcltk"
!
! fi;
# Check whether --with-tkdir or --without-tkdir was given.
if test "${with_tkdir+set}" = set; then
withval="$with_tkdir"
!
! fi;
# Check whether --with-tcl or --without-tcl was given.
if test "${with_tcl+set}" = set; then
withval="$with_tcl"
!
! fi;
# Check whether --with-tk or --without-tk was given.
if test "${with_tk+set}" = set; then
withval="$with_tk"
+ fi;
#--------------------------------------------------------------------
! ac_ext=c
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
! if test -n "$ac_tool_prefix"; then
! # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program
name with args.
! set dummy ${ac_tool_prefix}gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="${ac_tool_prefix}gcc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! fi
! fi
! CC=$ac_cv_prog_CC
! if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
! echo "${ECHO_T}$CC" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! fi
! if test -z "$ac_cv_prog_CC"; then
! ac_ct_CC=$CC
! # Extract the first word of "gcc", so it can be a program name with args.
! set dummy gcc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test -n "$ac_ct_CC"; then
! ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="gcc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! fi
! fi
! ac_ct_CC=$ac_cv_prog_ac_ct_CC
! if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! echo "${ECHO_T}$ac_ct_CC" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! CC=$ac_ct_CC
! else
! CC="$ac_cv_prog_CC"
! fi
!
! if test -z "$CC"; then
! if test -n "$ac_tool_prefix"; then
! # Extract the first word of "${ac_tool_prefix}cc", so it can be a program
name with args.
! set dummy ${ac_tool_prefix}cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test -n "$CC"; then
! ac_cv_prog_CC="$CC" # Let the user override the test.
! else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="${ac_tool_prefix}cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
fi
fi
! CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
! echo "${ECHO_T}$CC" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! fi
! if test -z "$ac_cv_prog_CC"; then
! ac_ct_CC=$CC
! # Extract the first word of "cc", so it can be a program name with args.
! set dummy cc; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test -n "$ac_ct_CC"; then
! ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! fi
! fi
! ac_ct_CC=$ac_cv_prog_ac_ct_CC
! if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! echo "${ECHO_T}$ac_ct_CC" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
! fi
!
! CC=$ac_ct_CC
else
! CC="$ac_cv_prog_CC"
fi
+ fi
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 "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
ac_prog_rejected=no
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! ac_prog_rejected=yes
! continue
! fi
! ac_cv_prog_CC="cc"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
! if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
! ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
fi
fi
! CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
! echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! fi
! if test -z "$CC"; then
! if test -n "$ac_tool_prefix"; then
! for ac_prog in cl
! do
! # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a
program name with args.
! set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
fi
fi
! CC=$ac_cv_prog_CC
if test -n "$CC"; then
! echo "$as_me:$LINENO: result: $CC" >&5
! echo "${ECHO_T}$CC" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
!
! test -n "$CC" && break
! done
! fi
! if test -z "$CC"; then
! ac_ct_CC=$CC
! for ac_prog in cl
! do
! # Extract the first word of "$ac_prog", so it can be a program name with
args.
! set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! if test -n "$ac_ct_CC"; then
! ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_CC="$ac_prog"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
fi
! done
! done
!
! fi
! fi
! ac_ct_CC=$ac_cv_prog_ac_ct_CC
! if test -n "$ac_ct_CC"; then
! echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! echo "${ECHO_T}$ac_ct_CC" >&6
! else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! test -n "$ac_ct_CC" && break
! done
! CC=$ac_ct_CC
! fi
!
! fi
! test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler
found in \$PATH" >&5
! echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
! { (exit 1); exit 1; }; }
!
! # Provide some information about the compiler.
! echo "$as_me:$LINENO:" \
! "checking for C compiler version" >&5
! ac_compiler=`set X $ac_compile; echo $2`
! { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! (eval $ac_compiler --version </dev/null >&5) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! (eval $ac_compiler -v </dev/null >&5) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }
! { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! (eval $ac_compiler -V </dev/null >&5) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }
!
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
!
! ;
! return 0;
! }
! _ACEOF
! ac_clean_files_save=$ac_clean_files
! ac_clean_files="$ac_clean_files a.out a.exe"
! # Try to create an executable without -o first, disregard a.out.
! # It will help us diagnose broken compilers, and finding out an intuition
! # of exeext.
! echo "$as_me:$LINENO: checking for C compiler default output" >&5
! echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
! ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! (eval $ac_link_default) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
! # Find the output, starting from the most likely. This scheme is
! # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! # resort.
!
! # Be careful to initialize this variable, since it used to be cached.
! # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! ac_cv_exeext=
! for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
! test -f "$ac_file" || continue
! case $ac_file in
! *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o |
*.obj ) ;;
! a.out ) # We found the default executable, but exeext='' is most
! # certainly right.
! break;;
! *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
! export ac_cv_exeext
! break;;
! * ) break;;
! esac
! done
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! check \`config.log' for details." >&5
! echo "$as_me: error: C compiler cannot create executables
! check \`config.log' for details." >&2;}
! { (exit 77); exit 77; }; }
! fi
!
! ac_exeext=$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_file" >&5
! echo "${ECHO_T}$ac_file" >&6
!
! # Check the compiler produces executables we can run. If not, either
! # the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! # If not cross compiling, check that we can run a simple program.
! if test "$cross_compiling" != yes; then
! if { ac_try='./$ac_file'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! cross_compiling=no
else
! if test "$cross_compiling" = maybe; then
! cross_compiling=yes
! else
! { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! If you meant to cross compile, use \`--host'." >&5
! echo "$as_me: error: cannot run C compiled programs.
! If you meant to cross compile, use \`--host'." >&2;}
! { (exit 1); exit 1; }; }
! fi
fi
fi
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
!
! rm -f a.out a.exe conftest$ac_cv_exeext
! ac_clean_files=$ac_clean_files_save
! # Check the compiler produces executables we can run. If not, either
! # the compiler is broken, or we cross compile.
! echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! echo "$as_me:$LINENO: result: $cross_compiling" >&5
! echo "${ECHO_T}$cross_compiling" >&6
!
! echo "$as_me:$LINENO: checking for suffix of executables" >&5
! echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
! # If both `conftest.exe' and `conftest' are `present' (well, observable)
! # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! # work properly (i.e., refer to `conftest.exe'), while it won't with
! # `rm'.
! for ac_file in conftest.exe conftest conftest.*; do
! test -f "$ac_file" || continue
! case $ac_file in
! *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o |
*.obj ) ;;
! *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! export ac_cv_exeext
! break;;
! * ) break;;
! esac
! done
else
! { { echo "$as_me:$LINENO: error: cannot compute suffix of executables:
cannot compile and link" >&5
! echo "$as_me: error: cannot compute suffix of executables: cannot compile and
link" >&2;}
! { (exit 1); exit 1; }; }
fi
! rm -f conftest$ac_cv_exeext
! echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! echo "${ECHO_T}$ac_cv_exeext" >&6
!
! rm -f conftest.$ac_ext
! EXEEXT=$ac_cv_exeext
! ac_exeext=$EXEEXT
! echo "$as_me:$LINENO: checking for suffix of object files" >&5
! echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! if test "${ac_cv_objext+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.o conftest.obj
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
! for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! case $ac_file in
! *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! break;;
! esac
! done
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! { { echo "$as_me:$LINENO: error: cannot compute suffix of object files:
cannot compile" >&5
! echo "$as_me: error: cannot compute suffix of object files: cannot compile"
>&2;}
! { (exit 1); exit 1; }; }
! fi
!
! rm -f conftest.$ac_cv_objext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+ echo "${ECHO_T}$ac_cv_objext" >&6
+ OBJEXT=$ac_cv_objext
+ ac_objext=$OBJEXT
+ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+ echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+ if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
! int
! main ()
! {
! #ifndef __GNUC__
! choke me
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_compiler_gnu=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_compiler_gnu=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! ac_cv_c_compiler_gnu=$ac_compiler_gnu
!
! fi
! echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! GCC=`test $ac_compiler_gnu = yes && echo yes`
! ac_test_CFLAGS=${CFLAGS+set}
! ac_save_CFLAGS=$CFLAGS
! CFLAGS="-g"
! echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! if test "${ac_cv_prog_cc_g+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! int
! main ()
! {
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
ac_cv_prog_cc_g=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_prog_cc_g=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
if test "$ac_test_CFLAGS" = set; then
! CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
***************
*** 1623,1628 ****
--- 2469,2687 ----
CFLAGS=
fi
fi
+ echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+ echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+ if test "${ac_cv_prog_cc_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_cv_prog_cc_stdc=no
+ ac_save_CC=$CC
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+ struct buf { int x; };
+ FILE * (*rcsopen) (struct buf *, struct stat *, int);
+ static char *e (p, i)
+ char **p;
+ int i;
+ {
+ return p[i];
+ }
+ static char *f (char * (*g) (char **, int), char **p, ...)
+ {
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+ }
+ int test (int i, double x);
+ struct s1 {int (*f) (int a);};
+ struct s2 {int (*f) (double a);};
+ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),
int, int);
+ int argc;
+ char **argv;
+ int
+ main ()
+ {
+ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+ }
+ _ACEOF
+ # Don't try gcc -ansi; that turns off useful extensions and
+ # breaks some systems' header files.
+ # AIX -qlanglvl=ansi
+ # Ultrix and OSF/1 -std1
+ # HP-UX 10.20 and later -Ae
+ # HP-UX older versions -Aa -D_HPUX_SOURCE
+ # SVR4 -Xc -D__EXTENSIONS__
+ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc
-D__EXTENSIONS__"
+ do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_prog_cc_stdc=$ac_arg
+ break
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext
+ done
+ rm -f conftest.$ac_ext conftest.$ac_objext
+ CC=$ac_save_CC
+
+ fi
+
+ case "x$ac_cv_prog_cc_stdc" in
+ x|xno)
+ echo "$as_me:$LINENO: result: none needed" >&5
+ echo "${ECHO_T}none needed" >&6 ;;
+ *)
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
+ echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+ CC="$CC $ac_cv_prog_cc_stdc" ;;
+ esac
+
+ # Some people use a C++ compiler to compile C. Since we use `exit',
+ # in C++ we need to declare it. In case someone uses the same compiler
+ # for both compiling C and C++ we need to have the C++ compiler decide
+ # the declaration of exit, since it's the most demanding environment.
+ cat >conftest.$ac_ext <<_ACEOF
+ #ifndef __cplusplus
+ choke me
+ #endif
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ for ac_declaration in \
+ ''\
+ '#include <stdlib.h>' \
+ 'extern "C" void std::exit (int) throw (); using std::exit;' \
+ 'extern "C" void std::exit (int); using std::exit;' \
+ 'extern "C" void exit (int) throw ();' \
+ 'extern "C" void exit (int);' \
+ 'void exit (int);'
+ do
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ #include <stdlib.h>
+ $ac_declaration
+ int
+ main ()
+ {
+ exit (42);
+ ;
+ return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ continue
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+ #line $LINENO "configure"
+ #include "confdefs.h"
+ $ac_declaration
+ int
+ main ()
+ {
+ exit (42);
+ ;
+ return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ break
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ done
+ rm -f conftest*
+ if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+ fi
+
+ else
+ echo "$as_me: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
+ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+ rm -f .deps 2>/dev/null
+ mkdir .deps 2>/dev/null
+ if test -d .deps; then
+ DEPDIR=.deps
+ else
+ # MS-DOS does not allow filenames that begin with a dot.
+ DEPDIR=_deps
+ fi
+ rmdir .deps 2>/dev/null
+
+
+ ac_config_commands="$ac_config_commands depfiles"
am_make=${MAKE-make}
***************
*** 1631,1639 ****
@echo done
END
# If we don't find an include directive, just comment out the code.
! echo $ac_n "checking for style of include used by $am_make""... $ac_c" 1>&6
! echo "configure:1636: checking for style of include used by $am_make" >&5
! am__include='#'
am__quote=
_am_result=none
# First try GNU make style include.
--- 2690,2698 ----
@echo done
END
# If we don't find an include directive, just comment out the code.
! echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
***************
*** 1643,1649 ****
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
! if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" =
"done"; then
am__include=include
am__quote=
_am_result=GNU
--- 2702,2708 ----
# In particular we don't look at `^make:' because GNU make might
# be invoked under some other name (usually "gmake"), in which
# case it prints its new name instead of `make'.
! if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" =
"done"; then
am__include=include
am__quote=
_am_result=GNU
***************
*** 1653,1674 ****
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
! am__quote='"'
_am_result=BSD
fi
fi
! echo "$ac_t""$_am_result" 1>&6
rm -f confinc confmf
depcc="$CC" am_compiler_list=
! echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
! echo "configure:1670: checking dependency style of $depcc" >&5
! if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" =
set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
--- 2712,2755 ----
echo '.include "confinc"' > confmf
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
am__include=.include
! am__quote="\""
_am_result=BSD
fi
fi
! echo "$as_me:$LINENO: result: $_am_result" >&5
! echo "${ECHO_T}$_am_result" >&6
rm -f confinc confmf
+ # Check whether --enable-dependency-tracking or --disable-dependency-tracking
was given.
+ if test "${enable_dependency_tracking+set}" = set; then
+ enableval="$enable_dependency_tracking"
+
+ fi;
+ if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+ fi
+
+
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+ else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+ fi
+
+
+
depcc="$CC" am_compiler_list=
! echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
***************
*** 1712,1718 ****
if depmode=$depmode \
source=conftest.c object=conftest.o \
depfile=conftest.Po tmpdepfile=conftest.TPo \
! $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
grep conftest.h conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
am_cv_CC_dependencies_compiler_type=$depmode
--- 2793,2799 ----
if depmode=$depmode \
source=conftest.c object=conftest.o \
depfile=conftest.Po tmpdepfile=conftest.TPo \
! $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
grep conftest.h conftest.Po > /dev/null 2>&1 &&
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
am_cv_CC_dependencies_compiler_type=$depmode
***************
*** 1727,1890 ****
fi
fi
- echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
- CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
! echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1737: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
! if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! # This must be in double quotes, not single quotes, because CPP may get
! # substituted into the Makefile and "${CC-cc}" will confuse make.
! CPP="${CC-cc} -E"
# On the NeXT, cc -E runs the code through the compiler's parser,
! # not just through cpp.
! cat > conftest.$ac_ext <<EOF
! #line 1752 "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:1758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! :
! else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! CPP="${CC-cc} -E -traditional-cpp"
! cat > conftest.$ac_ext <<EOF
! #line 1769 "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:1775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! :
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! CPP="${CC-cc} -nologo -E"
! cat > conftest.$ac_ext <<EOF
! #line 1786 "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:1792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
:
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
! rm -rf conftest*
! CPP=/lib/cpp
fi
! rm -f conftest*
! fi
! rm -f conftest*
! fi
! rm -f conftest*
! ac_cv_prog_CPP="$CPP"
fi
! CPP="$ac_cv_prog_CPP"
else
! ac_cv_prog_CPP="$CPP"
fi
! echo "$ac_t""$CPP" 1>&6
! # Find the correct PATH separator. Usually this is `:', but
! # DJGPP uses `;' like DOS.
! if test "X${PATH_SEPARATOR+set}" != Xset; then
! UNAME=${UNAME-`uname 2>/dev/null`}
! case X$UNAME in
! *-DOS) lt_cv_sys_path_separator=';' ;;
! *) lt_cv_sys_path_separator=':' ;;
! esac
! PATH_SEPARATOR=$lt_cv_sys_path_separator
fi
! echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:1828: checking for Cygwin environment" >&5
! if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 1833 "configure"
#include "confdefs.h"
!
! int main() {
!
! #ifndef __CYGWIN__
! #define __CYGWIN__ __CYGWIN32__
! #endif
! return __CYGWIN__;
! ; return 0; }
! EOF
! if { (eval echo configure:1844: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
! ac_cv_cygwin=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_cv_cygwin=no
fi
! rm -f conftest*
! rm -f conftest*
fi
! echo "$ac_t""$ac_cv_cygwin" 1>&6
! CYGWIN=
! test "$ac_cv_cygwin" = yes && CYGWIN=yes
! echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:1861: checking for mingw32 environment" >&5
! if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 1866 "configure"
! #include "confdefs.h"
!
! int main() {
! return __MINGW32__;
! ; return 0; }
! EOF
! if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
! ac_cv_mingw32=yes
else
! echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_cv_mingw32=no
fi
! rm -f conftest*
! rm -f conftest*
fi
! echo "$ac_t""$ac_cv_mingw32" 1>&6
! MINGW32=
! test "$ac_cv_mingw32" = yes && MINGW32=yes
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
enableval="$enable_shared"
--- 2808,3030 ----
fi
fi
+ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+ echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
+ CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! if
! test "x$enable_dependency_tracking" != xno \
! && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! am__fastdepCC_TRUE=
! am__fastdepCC_FALSE='#'
! else
! am__fastdepCC_TRUE='#'
! am__fastdepCC_FALSE=
! fi
!
!
! ac_ext=c
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
! echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
! if test "${ac_cv_prog_CPP+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! # Double quotes because CPP needs to be expanded
! for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! do
! ac_preproc_ok=false
! for ac_c_preproc_warn_flag in '' yes
! do
! # Use a header file that comes with gcc, so configuring glibc
! # with a fresh cross-compiler works.
# On the NeXT, cc -E runs the code through the compiler's parser,
! # not just through cpp. "Syntax error" is here to catch this case.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <assert.h>
! Syntax error
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
:
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! # Broken: fails on valid input.
! continue
fi
! rm -f conftest.err conftest.$ac_ext
!
! # OK, works on sane cases. Now check whether non-existent headers
! # can be detected and how.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <ac_nonexistent.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! # Broken: success on invalid input.
! continue
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! # Passes both tests.
! ac_preproc_ok=:
! break
fi
! rm -f conftest.err conftest.$ac_ext
! done
! # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! rm -f conftest.err conftest.$ac_ext
! if $ac_preproc_ok; then
! break
fi
! done
! ac_cv_prog_CPP=$CPP
!
! fi
! CPP=$ac_cv_prog_CPP
else
! ac_cv_prog_CPP=$CPP
! fi
! echo "$as_me:$LINENO: result: $CPP" >&5
! echo "${ECHO_T}$CPP" >&6
! ac_preproc_ok=false
! for ac_c_preproc_warn_flag in '' yes
! do
! # Use a header file that comes with gcc, so configuring glibc
! # with a fresh cross-compiler works.
! # On the NeXT, cc -E runs the code through the compiler's parser,
! # not just through cpp. "Syntax error" is here to catch this case.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <assert.h>
! Syntax error
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! :
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! # Broken: fails on valid input.
! continue
fi
+ rm -f conftest.err conftest.$ac_ext
! # OK, works on sane cases. Now check whether non-existent headers
! # can be detected and how.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <ac_nonexistent.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! # Broken: success on invalid input.
! continue
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! # Passes both tests.
! ac_preproc_ok=:
! break
fi
! rm -f conftest.err conftest.$ac_ext
!
! done
! # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! rm -f conftest.err conftest.$ac_ext
! if $ac_preproc_ok; then
! :
! else
! { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity
check" >&5
! echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
! { (exit 1); exit 1; }; }
fi
! ac_ext=c
! ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
!
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
enableval="$enable_shared"
***************
*** 1906,1913 ****
esac
else
enable_shared=yes
! fi
!
# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
enableval="$enable_static"
--- 3046,3052 ----
esac
else
enable_shared=yes
! fi;
# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
enableval="$enable_static"
***************
*** 1929,1936 ****
esac
else
enable_static=yes
! fi
!
# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
enableval="$enable_fast_install"
--- 3068,3074 ----
esac
else
enable_static=yes
! fi;
# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
enableval="$enable_fast_install"
***************
*** 1952,2003 ****
esac
else
enable_fast_install=yes
! fi
!
!
# Make sure we can run config.sub.
! if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
! 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:1965: checking host system type" >&5
! host_alias=$host
! case "$host_alias" in
! NONE)
! case $nonopt in
! NONE)
! if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
! else { echo "configure: error: can not guess host type; you must specify
one" 1>&2; exit 1; }
! fi ;;
! *) host_alias=$nonopt ;;
! esac ;;
! esac
!
! host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
! host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! echo "$ac_t""$host" 1>&6
!
! echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:1986: checking build system type" >&5
!
! build_alias=$build
! case "$build_alias" in
! NONE)
! case $nonopt in
! NONE) build_alias=$host_alias ;;
! *) build_alias=$nonopt ;;
! esac ;;
! esac
- build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
- build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo "$ac_t""$build" 1>&6
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
--- 3090,3161 ----
esac
else
enable_fast_install=yes
! fi;
# Make sure we can run config.sub.
! $ac_config_sub sun4 >/dev/null 2>&1 ||
! { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! { (exit 1); exit 1; }; }
!
! echo "$as_me:$LINENO: checking build system type" >&5
! echo $ECHO_N "checking build system type... $ECHO_C" >&6
! if test "${ac_cv_build+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_build_alias=$build_alias
! test -z "$ac_cv_build_alias" &&
! ac_cv_build_alias=`$ac_config_guess`
! test -z "$ac_cv_build_alias" &&
! { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify
one" >&5
! echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! { (exit 1); exit 1; }; }
! ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed"
>&5
! echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! { (exit 1); exit 1; }; }
!
! fi
! echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! echo "${ECHO_T}$ac_cv_build" >&6
! build=$ac_cv_build
! build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
!
!
! echo "$as_me:$LINENO: checking host system type" >&5
! echo $ECHO_N "checking host system type... $ECHO_C" >&6
! if test "${ac_cv_host+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_host_alias=$host_alias
! test -z "$ac_cv_host_alias" &&
! ac_cv_host_alias=$ac_cv_build_alias
! ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed"
>&5
! echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! { (exit 1); exit 1; }; }
!
! fi
! echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! echo "${ECHO_T}$ac_cv_host" >&6
! host=$ac_cv_host
! host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! # Find the correct PATH separator. Usually this is `:', but
! # DJGPP uses `;' like DOS.
! if test "X${PATH_SEPARATOR+set}" != Xset; then
! UNAME=${UNAME-`uname 2>/dev/null`}
! case X$UNAME in
! *-DOS) lt_cv_sys_path_separator=';' ;;
! *) lt_cv_sys_path_separator=':' ;;
! esac
! PATH_SEPARATOR=$lt_cv_sys_path_separator
! fi
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
***************
*** 2005,2017 ****
test "$withval" = no || with_gnu_ld=yes
else
with_gnu_ld=no
! fi
!
ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
! echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! echo "configure:2015: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
--- 3163,3174 ----
test "$withval" = no || with_gnu_ld=yes
else
with_gnu_ld=no
! fi;
ac_prog=ld
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
! echo "$as_me:$LINENO: checking for ld used by GCC" >&5
! echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
***************
*** 2040,2053 ****
;;
esac
elif test "$with_gnu_ld" = yes; then
! echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! echo "configure:2045: checking for GNU ld" >&5
else
! echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! echo "configure:2048: checking for non-GNU ld" >&5
fi
! if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
--- 3197,3210 ----
;;
esac
elif test "$with_gnu_ld" = yes; then
! echo "$as_me:$LINENO: checking for GNU ld" >&5
! echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
else
! echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
fi
! if test "${lt_cv_path_LD+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
***************
*** 2073,2087 ****
LD="$lt_cv_path_LD"
if test -n "$LD"; then
! echo "$ac_t""$LD" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH"
1>&2; exit 1; }
! echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! echo "configure:2083: checking if the linker ($LD) is GNU ld" >&5
! if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
# I'd rather use --version here, but apparently some GNU ld's only accept
-v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
--- 3230,3248 ----
LD="$lt_cv_path_LD"
if test -n "$LD"; then
! echo "$as_me:$LINENO: result: $LD" >&5
! echo "${ECHO_T}$LD" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in
\$PATH" >&5
! echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! { (exit 1); exit 1; }; }
! echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! if test "${lt_cv_prog_gnu_ld+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
# I'd rather use --version here, but apparently some GNU ld's only accept
-v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
***************
*** 2090,2116 ****
lt_cv_prog_gnu_ld=no
fi
fi
!
! echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
with_gnu_ld=$lt_cv_prog_gnu_ld
! echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
! echo "configure:2100: checking for $LD option to reload object files" >&5
! if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
lt_cv_ld_reload_flag='-r'
fi
!
! echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
reload_flag=$lt_cv_ld_reload_flag
test -n "$reload_flag" && reload_flag=" $reload_flag"
! echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! echo "configure:2112: checking for BSD-compatible nm" >&5
! if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$NM"; then
# Let the user override the test.
--- 3251,3277 ----
lt_cv_prog_gnu_ld=no
fi
fi
! echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
! echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
with_gnu_ld=$lt_cv_prog_gnu_ld
! echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
! echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
! if test "${lt_cv_ld_reload_flag+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
lt_cv_ld_reload_flag='-r'
fi
! echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
! echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
reload_flag=$lt_cv_ld_reload_flag
test -n "$reload_flag" && reload_flag=" $reload_flag"
! echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! if test "${lt_cv_path_NM+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$NM"; then
# Let the user override the test.
***************
*** 2143,2175 ****
fi
NM="$lt_cv_path_NM"
! echo "$ac_t""$NM" 1>&6
- echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
- echo "configure:2150: checking whether ln -s works" >&5
- if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- rm -f conftestdata
- if ln -s X conftestdata 2>/dev/null
- then
- rm -f conftestdata
- ac_cv_prog_LN_S="ln -s"
- else
- ac_cv_prog_LN_S=ln
fi
fi
! LN_S="$ac_cv_prog_LN_S"
! if test "$ac_cv_prog_LN_S" = "ln -s"; then
! echo "$ac_t""yes" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
! echo "configure:2171: checking how to recognise dependant libraries" >&5
! if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
--- 3304,3412 ----
fi
NM="$lt_cv_path_NM"
! echo "$as_me:$LINENO: result: $NM" >&5
! echo "${ECHO_T}$NM" >&6
!
! echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
! echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
! if test "${lt_cv_path_SED+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! # Loop through the user's path and test for sed and gsed.
! # Then use that list of sed's as ones to test for truncation.
! as_executable_p="test -f"
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_prog in sed gsed; do
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
! _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
! fi
! done
! done
! done
!
! # Create a temporary directory, and hook for its removal unless debugging.
! $debug ||
! {
! trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! trap '{ (exit 1); exit 1; }' 1 2 13 15
! }
!
! # Create a (secure) tmp directory for tmp files.
! : ${TMPDIR=/tmp}
! {
! tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
! test -n "$tmp" && test -d "$tmp"
! } ||
! {
! tmp=$TMPDIR/sed$$-$RANDOM
! (umask 077 && mkdir $tmp)
! } ||
! {
! echo "$me: cannot create a temporary directory in $TMPDIR" >&2
! { (exit 1); exit 1; }
! }
! _max=0
! _count=0
! # Add /usr/xpg4/bin/sed as it is typically found on Solaris
! # along with /bin/sed that truncates output.
! for _sed in $_sed_list /usr/xpg4/bin/sed; do
! test ! -f ${_sed} && break
! cat /dev/null > "$tmp/sed.in"
! _count=0
! echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
! # Check for GNU sed and select it if it is found.
! if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
! lt_cv_path_SED=${_sed}
! break
! fi
! while true; do
! cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
! mv "$tmp/sed.tmp" "$tmp/sed.in"
! cp "$tmp/sed.in" "$tmp/sed.nl"
! echo >>"$tmp/sed.nl"
! ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
! cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
! # 40000 chars as input seems more than enough
! test $_count -gt 10 && break
! _count=`expr $_count + 1`
! if test $_count -gt $_max; then
! _max=$_count
! lt_cv_path_SED=$_sed
! fi
! done
! done
! rm -rf "$tmp"
fi
+
+ if test "X$SED" != "X"; then
+ lt_cv_path_SED=$SED
+ else
+ SED=$lt_cv_path_SED
fi
! echo "$as_me:$LINENO: result: $SED" >&5
! echo "${ECHO_T}$SED" >&6
!
! echo "$as_me:$LINENO: checking whether ln -s works" >&5
! echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! LN_S=$as_ln_s
! if test "$LN_S" = "ln -s"; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
else
! echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! echo "${ECHO_T}no, using $LN_S" >&6
fi
! echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
! echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
! if test "${lt_cv_deplibs_check_method+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
***************
*** 2267,2273 ****
# This must be Linux ELF.
linux-gnu*)
! lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
--- 3504,3516 ----
# This must be Linux ELF.
linux-gnu*)
! case $host_cpu in
! alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
! lt_cv_deplibs_check_method=pass_all ;;
! *)
! # glibc up to 2.1.1 does not perform some relocations on ARM
! lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared
object|dynamic lib )' ;;
! esac
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
***************
*** 2333,2421 ****
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic
lib"
lt_cv_file_magic_test_file=/lib/libc.so
;;
esac
;;
esac
fi
!
! echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
- echo $ac_n "checking for object suffix""... $ac_c" 1>&6
- echo "configure:2348: checking for object suffix" >&5
- if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- rm -f conftest*
- echo 'int i = 1;' > conftest.$ac_ext
- if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
- for ac_file in conftest.*; do
- case $ac_file in
- *.c) ;;
- *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
- esac
- done
- else
- { echo "configure: error: installation or configuration problem; compiler
does not work" 1>&2; exit 1; }
- fi
- rm -f conftest*
- fi
-
- echo "$ac_t""$ac_cv_objext" 1>&6
- OBJEXT=$ac_cv_objext
- ac_objext=$ac_cv_objext
-
- echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
- echo "configure:2374: checking for executable suffix" >&5
- if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
- ac_cv_exeext=.exe
- else
- rm -f conftest*
- echo 'int main () { return 0; }' > conftest.$ac_ext
- ac_cv_exeext=
- if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5;
}; then
- for file in conftest.*; do
- case $file in
- *.c | *.o | *.obj) ;;
- *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
- esac
- done
- else
- { echo "configure: error: installation or configuration problem: compiler
cannot create executables." 1>&2; exit 1; }
- fi
- rm -f conftest*
- test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
- fi
- fi
-
- EXEEXT=""
- test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
- echo "$ac_t""${ac_cv_exeext}" 1>&6
- ac_exeext=$EXEEXT
- if test $host != $build; then
- ac_tool_prefix=${host_alias}-
- else
- ac_tool_prefix=
- fi
# Check for command to grab the raw symbol name followed by C symbol from nm.
! echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
! echo "configure:2415: checking command to parse $NM output" >&5
! if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set";
then
! echo $ac_n "(cached) $ac_c" 1>&6
else
!
# These are sane defaults that work on at least a few old systems.
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
--- 3576,3608 ----
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic
lib"
lt_cv_file_magic_test_file=/lib/libc.so
;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
esac
;;
esac
fi
! echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
! echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
# Check for command to grab the raw symbol name followed by C symbol from nm.
! echo "$as_me:$LINENO: checking command to parse $NM output" >&5
! echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
! if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
!
# These are sane defaults that work on at least a few old systems.
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
***************
*** 2449,2454 ****
--- 3636,3644 ----
irix* | nonstopux*)
symcode='[BCDEGRST]'
;;
+ osf*)
+ symcode='[BCDEGQRST]'
+ ;;
solaris* | sysv5*)
symcode='[BDT]'
;;
***************
*** 2491,2500 ****
int main(){nm_test_var='a';nm_test_func();return(0);}
EOF
! if { (eval echo configure:2495: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
# Now try to grab the symbols.
nlist=conftest.nm
! if { (eval echo configure:2498: \"$NM conftest.$ac_objext \|
$lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext
\| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist"
--- 3681,3698 ----
int main(){nm_test_var='a';nm_test_func();return(0);}
EOF
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
# Now try to grab the symbols.
nlist=conftest.nm
! if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \|
$lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
! (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist)
2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
mv -f "$nlist"T "$nlist"
***************
*** 2545,2551 ****
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link)
2>&5; } && test -s conftest; then
pipe_works=yes
fi
LIBS="$save_LIBS"
--- 3743,3753 ----
save_CFLAGS="$CFLAGS"
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } && test -s conftest$ac_exeext; then
pipe_works=yes
fi
LIBS="$save_LIBS"
***************
*** 2585,2647 ****
fi
if test -z
"$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
then
! echo "$ac_t""failed" 1>&6
else
! echo "$ac_t""ok" 1>&6
fi
! for ac_hdr in dlfcn.h
! do
! ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2598: checking for $ac_hdr" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 2603 "configure"
#include "confdefs.h"
! #include <$ac_hdr>
! EOF
! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=yes"
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_hdr=HAVE_`echo $ac_hdr | sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_hdr 1
! EOF
!
else
! echo "$ac_t""no" 1>&6
fi
done
# Only perform the check for file, if the check method requires it
case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
! echo "configure:2643: checking for ${ac_tool_prefix}file" >&5
! if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
case $MAGIC_CMD in
/*)
--- 3787,4139 ----
fi
if test -z
"$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
then
! echo "$as_me:$LINENO: result: failed" >&5
! echo "${ECHO_T}failed" >&6
else
! echo "$as_me:$LINENO: result: ok" >&5
! echo "${ECHO_T}ok" >&6
fi
!
! echo "$as_me:$LINENO: checking for egrep" >&5
! echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! if test "${ac_cv_prog_egrep+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! then ac_cv_prog_egrep='grep -E'
! else ac_cv_prog_egrep='egrep'
! fi
! fi
! echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! EGREP=$ac_cv_prog_egrep
!
!
! echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! if test "${ac_cv_header_stdc+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <stdlib.h>
! #include <stdarg.h>
! #include <string.h>
! #include <float.h>
!
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_cv_header_stdc=yes
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! ac_cv_header_stdc=no
! fi
! rm -f conftest.err conftest.$ac_ext
!
! if test $ac_cv_header_stdc = yes; then
! # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <string.h>
!
! _ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "memchr" >/dev/null 2>&1; then
! :
! else
! ac_cv_header_stdc=no
fi
rm -f conftest*
+
fi
!
! if test $ac_cv_header_stdc = yes; then
! # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <stdlib.h>
!
! _ACEOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! $EGREP "free" >/dev/null 2>&1; then
! :
! else
! ac_cv_header_stdc=no
! fi
! rm -f conftest*
!
! fi
!
! if test $ac_cv_header_stdc = yes; then
! # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! if test "$cross_compiling" = yes; then
! :
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <ctype.h>
! #if ((' ' & 0x0FF) == 0x020)
! # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! #else
! # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
! || ('j' <= (c) && (c) <= 'r') \
! || ('s' <= (c) && (c) <= 'z'))
! # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! #endif
!
! #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! int
! main ()
! {
! int i;
! for (i = 0; i < 256; i++)
! if (XOR (islower (i), ISLOWER (i))
! || toupper (i) != TOUPPER (i))
! exit(2);
! exit (0);
! }
! _ACEOF
! rm -f conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! :
! else
! echo "$as_me: program exited with status $ac_status" >&5
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ( exit $ac_status )
! ac_cv_header_stdc=no
! fi
! rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext
conftest.$ac_objext conftest.$ac_ext
! fi
! fi
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! echo "${ECHO_T}$ac_cv_header_stdc" >&6
! if test $ac_cv_header_stdc = yes; then
!
! cat >>confdefs.h <<\_ACEOF
! #define STDC_HEADERS 1
! _ACEOF
!
! fi
!
! # On IRIX 5.3, sys/types and inttypes.h are conflicting.
!
!
!
!
!
!
!
!
!
! for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! inttypes.h stdint.h unistd.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
!
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Header=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Header=no"
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
!
! fi
!
! done
!
!
!
! for ac_header in dlfcn.h
! do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <$ac_header>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! eval "$as_ac_Header=$ac_header_preproc"
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
fi
+ if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+ #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+ _ACEOF
+
+ fi
+
done
+
# Only perform the check for file, if the check method requires it
case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
! echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
! echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $MAGIC_CMD in
/*)
***************
*** 2693,2709 ****
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC_CMD"; then
! echo "$ac_t""$MAGIC_CMD" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
! echo $ac_n "checking for file""... $ac_c" 1>&6
! echo "configure:2705: checking for file" >&5
! if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
case $MAGIC_CMD in
/*)
--- 4185,4203 ----
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC_CMD"; then
! echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! echo "${ECHO_T}$MAGIC_CMD" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
! echo "$as_me:$LINENO: checking for file" >&5
! echo $ECHO_N "checking for file... $ECHO_C" >&6
! if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $MAGIC_CMD in
/*)
***************
*** 2755,2763 ****
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC_CMD"; then
! echo "$ac_t""$MAGIC_CMD" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
else
--- 4249,4259 ----
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -n "$MAGIC_CMD"; then
! echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
! echo "${ECHO_T}$MAGIC_CMD" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
else
***************
*** 2769,2906 ****
;;
esac
! # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2776: 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
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! break
! fi
! done
! IFS="$ac_save_ifs"
fi
fi
! RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
! echo "$ac_t""$RANLIB" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
!
if test -z "$ac_cv_prog_RANLIB"; then
! if test -n "$ac_tool_prefix"; then
# 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:2808: 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
! if test -n "$RANLIB"; then
! ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_RANLIB="ranlib"
! break
! fi
! done
! IFS="$ac_save_ifs"
! test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
! RANLIB="$ac_cv_prog_RANLIB"
! if test -n "$RANLIB"; then
! echo "$ac_t""$RANLIB" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
else
! RANLIB=":"
! fi
fi
! # Extract the first word of "${ac_tool_prefix}strip", so it can be a program
name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2843: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! break
! fi
! done
! IFS="$ac_save_ifs"
fi
fi
! STRIP="$ac_cv_prog_STRIP"
if test -n "$STRIP"; then
! echo "$ac_t""$STRIP" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
!
if test -z "$ac_cv_prog_STRIP"; then
! if test -n "$ac_tool_prefix"; then
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2875: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! if test -n "$STRIP"; then
! ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_prog_STRIP="strip"
! break
! fi
! done
! IFS="$ac_save_ifs"
! test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
fi
fi
! STRIP="$ac_cv_prog_STRIP"
! if test -n "$STRIP"; then
! echo "$ac_t""$STRIP" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
else
! STRIP=":"
! fi
fi
--- 4265,4428 ----
;;
esac
! if test -n "$ac_tool_prefix"; then
! # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a
program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_RANLIB+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$RANLIB"; then
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
fi
fi
! RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
! echo "$as_me:$LINENO: result: $RANLIB" >&5
! echo "${ECHO_T}$RANLIB" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! fi
if test -z "$ac_cv_prog_RANLIB"; then
! ac_ct_RANLIB=$RANLIB
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if test -n "$ac_ct_RANLIB"; then
! ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_RANLIB="ranlib"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
fi
fi
! ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! if test -n "$ac_ct_RANLIB"; then
! echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! echo "${ECHO_T}$ac_ct_RANLIB" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
+ RANLIB=$ac_ct_RANLIB
else
! RANLIB="$ac_cv_prog_RANLIB"
fi
! if test -n "$ac_tool_prefix"; then
! # Extract the first word of "${ac_tool_prefix}strip", so it can be a
program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_STRIP+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$STRIP"; then
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
fi
fi
! STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
! echo "$as_me:$LINENO: result: $STRIP" >&5
! echo "${ECHO_T}$STRIP" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! fi
if test -z "$ac_cv_prog_STRIP"; then
! ac_ct_STRIP=$STRIP
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! if test -n "$ac_ct_STRIP"; then
! ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_prog_ac_ct_STRIP="strip"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
! test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
fi
fi
! ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! if test -n "$ac_ct_STRIP"; then
! echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! echo "${ECHO_T}$ac_ct_STRIP" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
+ STRIP=$ac_ct_STRIP
else
! STRIP="$ac_cv_prog_STRIP"
fi
***************
*** 2910,2918 ****
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
enableval="$enable_libtool_lock"
- :
- fi
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
# Some flags need to be propagated to the compiler or linker for good
--- 4432,4439 ----
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
enableval="$enable_libtool_lock"
+ fi;
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
# Some flags need to be propagated to the compiler or linker for good
***************
*** 2920,2927 ****
case $host in
*-*-irix6*)
# Find out which ABI we are using.
! echo '#line 2924 "configure"' > conftest.$ac_ext
! if { (eval echo configure:2925: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
--- 4441,4452 ----
case $host in
*-*-irix6*)
# Find out which ABI we are using.
! echo '#line 4444 "configure"' > conftest.$ac_ext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
***************
*** 2941,2987 ****
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
! echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! echo "configure:2946: checking whether the C compiler needs -belf" >&5
! if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
!
ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
! cross_compiling=$ac_cv_prog_cc_cross
! cat > conftest.$ac_ext <<EOF
! #line 2959 "configure"
#include "confdefs.h"
! int main() {
! ; return 0; }
! EOF
! if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! lt_cv_cc_needs_belf=no
fi
! rm -f conftest*
ac_ext=c
- # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
! ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS 1>&5'
! cross_compiling=$ac_cv_prog_cc_cross
fi
!
! echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
CFLAGS="$SAVE_CFLAGS"
--- 4466,4524 ----
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
! echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! if test "${lt_cv_cc_needs_belf+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
!
!
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
lt_cv_cc_needs_belf=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! lt_cv_cc_needs_belf=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
! ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS
conftest.$ac_ext $LIBS >&5'
! ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
! echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
CFLAGS="$SAVE_CFLAGS"
***************
*** 3081,3088 ****
set dummy $CC
compiler="$2"
! echo $ac_n "checking for objdir""... $ac_c" 1>&6
! echo "configure:3086: checking for objdir" >&5
rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
if test -d .libs; then
--- 4618,4625 ----
set dummy $CC
compiler="$2"
! echo "$as_me:$LINENO: checking for objdir" >&5
! echo $ECHO_N "checking for objdir... $ECHO_C" >&6
rm -f .libs 2>/dev/null
mkdir .libs 2>/dev/null
if test -d .libs; then
***************
*** 3092,3098 ****
objdir=_libs
fi
rmdir .libs 2>/dev/null
! echo "$ac_t""$objdir" 1>&6
# Check whether --with-pic or --without-pic was given.
--- 4629,4637 ----
objdir=_libs
fi
rmdir .libs 2>/dev/null
! echo "$as_me:$LINENO: result: $objdir" >&5
! echo "${ECHO_T}$objdir" >&6
!
# Check whether --with-pic or --without-pic was given.
***************
*** 3101,3117 ****
pic_mode="$withval"
else
pic_mode=default
! fi
!
test -z "$pic_mode" && pic_mode=default
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
# in isolation, and that seeing it set (from the cache) indicates that
# the associated values are set (in the cache) correctly too.
! echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
! echo "configure:3113: checking for $compiler option to produce PIC" >&5
! if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
lt_cv_prog_cc_pic=
lt_cv_prog_cc_shlib=
--- 4640,4655 ----
pic_mode="$withval"
else
pic_mode=default
! fi;
test -z "$pic_mode" && pic_mode=default
# We assume here that the value for lt_cv_prog_cc_pic will not be cached
# in isolation, and that seeing it set (from the cache) indicates that
# the associated values are set (in the cache) correctly too.
! echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
! echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
! if test "${lt_cv_prog_cc_pic+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
lt_cv_prog_cc_pic=
lt_cv_prog_cc_shlib=
***************
*** 3227,3237 ****
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
! if test "x$host_vendor" = xsni; then
! lt_cv_prog_cc_wl='-LD'
! else
! lt_cv_prog_cc_wl='-Wl,'
! fi
;;
uts4*)
--- 4765,4771 ----
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
lt_cv_prog_cc_pic='-KPIC'
lt_cv_prog_cc_static='-Bstatic'
! lt_cv_prog_cc_wl='-Wl,'
;;
uts4*)
***************
*** 3255,3282 ****
fi
if test -z "$lt_cv_prog_cc_pic"; then
! echo "$ac_t""none" 1>&6
else
! echo "$ac_t""$lt_cv_prog_cc_pic" 1>&6
# Check to make sure the pic_flag actually works.
! echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""...
$ac_c" 1>&6
! echo "configure:3265: checking if $compiler PIC flag $lt_cv_prog_cc_pic
works" >&5
! if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
! cat > conftest.$ac_ext <<EOF
! #line 3272 "configure"
#include "confdefs.h"
! int main() {
! ; return 0; }
! EOF
! if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
case $host_os in
hpux9* | hpux10* | hpux11*)
# On HP-UX, both CC and GCC only warn that PIC is supported... then
--- 4789,4832 ----
fi
if test -z "$lt_cv_prog_cc_pic"; then
! echo "$as_me:$LINENO: result: none" >&5
! echo "${ECHO_T}none" >&6
else
! echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
! echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
# Check to make sure the pic_flag actually works.
! echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic
works" >&5
! echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works...
$ECHO_C" >&6
! if test "${lt_cv_prog_cc_pic_works+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
case $host_os in
hpux9* | hpux10* | hpux11*)
# On HP-UX, both CC and GCC only warn that PIC is supported... then
***************
*** 3292,3308 ****
lt_cv_prog_cc_pic_works=yes
;;
esac
!
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! lt_cv_prog_cc_pic_works=no
!
fi
! rm -f conftest*
CFLAGS="$save_CFLAGS"
!
fi
--- 4842,4857 ----
lt_cv_prog_cc_pic_works=yes
;;
esac
!
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! lt_cv_prog_cc_pic_works=no
!
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$save_CFLAGS"
!
fi
***************
*** 3313,3355 ****
lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
fi
! echo "$ac_t""$lt_cv_prog_cc_pic_works" 1>&6
fi
# Check for any special shared library compilation flags.
if test -n "$lt_cv_prog_cc_shlib"; then
! echo "configure: warning: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build
shared libraries" 1>&2
if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[
]" >/dev/null; then :
else
! echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS
env variable and reconfigure" 1>&2
lt_cv_prog_cc_can_build_shared=no
fi
fi
! echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static
works""... $ac_c" 1>&6
! echo "configure:3331: checking if $compiler static flag $lt_cv_prog_cc_static
works" >&5
! if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
lt_cv_prog_cc_static_works=no
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
! cat > conftest.$ac_ext <<EOF
! #line 3339 "configure"
#include "confdefs.h"
! int main() {
! ; return 0; }
! EOF
! if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
lt_cv_prog_cc_static_works=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest*
LDFLAGS="$save_LDFLAGS"
fi
--- 4862,4921 ----
lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
fi
! echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
! echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
fi
# Check for any special shared library compilation flags.
if test -n "$lt_cv_prog_cc_shlib"; then
! { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to
build shared libraries" >&5
! echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build
shared libraries" >&2;}
if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[
]" >/dev/null; then :
else
! { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or
CFLAGS env variable and reconfigure" >&5
! echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env
variable and reconfigure" >&2;}
lt_cv_prog_cc_can_build_shared=no
fi
fi
! echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static
works" >&5
! echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static
works... $ECHO_C" >&6
! if test "${lt_cv_prog_cc_static_works+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
lt_cv_prog_cc_static_works=no
save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
lt_cv_prog_cc_static_works=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LDFLAGS="$save_LDFLAGS"
fi
***************
*** 3357,3363 ****
# Belt *and* braces to stop my trousers falling down:
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
! echo "$ac_t""$lt_cv_prog_cc_static_works" 1>&6
pic_flag="$lt_cv_prog_cc_pic"
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
--- 4923,4930 ----
# Belt *and* braces to stop my trousers falling down:
test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
! echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
! echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
pic_flag="$lt_cv_prog_cc_pic"
special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
***************
*** 3368,3379 ****
# Check to see if options -o and -c are simultaneously supported by compiler
! echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c"
1>&6
! echo "configure:3373: checking if $compiler supports -c -o file.$ac_objext"
>&5
! if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
!
$rm -r conftest 2>/dev/null
mkdir conftest
cd conftest
--- 4935,4946 ----
# Check to see if options -o and -c are simultaneously supported by compiler
! echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext"
>&5
! echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext...
$ECHO_C" >&6
! if test "${lt_cv_compiler_c_o+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
!
$rm -r conftest 2>/dev/null
mkdir conftest
cd conftest
***************
*** 3388,3394 ****
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
! if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
--- 4955,4961 ----
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
! if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
***************
*** 3412,3442 ****
fi
compiler_c_o=$lt_cv_compiler_c_o
! echo "$ac_t""$compiler_c_o" 1>&6
if test x"$compiler_c_o" = x"yes"; then
# Check to see if we can write to a .lo
! echo $ac_n "checking if $compiler supports -c -o file.lo""... $ac_c" 1>&6
! echo "configure:3421: checking if $compiler supports -c -o file.lo" >&5
! if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
!
lt_cv_compiler_o_lo=no
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -c -o conftest.lo"
save_objext="$ac_objext"
ac_objext=lo
! cat > conftest.$ac_ext <<EOF
! #line 3432 "configure"
#include "confdefs.h"
! int main() {
int some_variable = 0;
! ; return 0; }
! EOF
! if { (eval echo configure:3439: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s conftest.err; then
--- 4979,5024 ----
fi
compiler_c_o=$lt_cv_compiler_c_o
! echo "$as_me:$LINENO: result: $compiler_c_o" >&5
! echo "${ECHO_T}$compiler_c_o" >&6
if test x"$compiler_c_o" = x"yes"; then
# Check to see if we can write to a .lo
! echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
! echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
! if test "${lt_cv_compiler_o_lo+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
!
lt_cv_compiler_o_lo=no
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -c -o conftest.lo"
save_objext="$ac_objext"
ac_objext=lo
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
int some_variable = 0;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s conftest.err; then
***************
*** 3444,3462 ****
else
lt_cv_compiler_o_lo=yes
fi
!
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest*
ac_objext="$save_objext"
CFLAGS="$save_CFLAGS"
!
fi
compiler_o_lo=$lt_cv_compiler_o_lo
! echo "$ac_t""$compiler_o_lo" 1>&6
else
compiler_o_lo=no
fi
--- 5026,5045 ----
else
lt_cv_compiler_o_lo=yes
fi
!
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
ac_objext="$save_objext"
CFLAGS="$save_CFLAGS"
!
fi
compiler_o_lo=$lt_cv_compiler_o_lo
! echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
! echo "${ECHO_T}$compiler_o_lo" >&6
else
compiler_o_lo=no
fi
***************
*** 3465,3481 ****
hard_links="nottested"
if test "$compiler_c_o" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
! echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
! echo "configure:3470: checking if we can lock with hard links" >&5
hard_links=yes
$rm conftest*
ln conftest.a conftest.b 2>/dev/null && hard_links=no
touch conftest.a
ln conftest.a conftest.b 2>&5 || hard_links=no
ln conftest.a conftest.b 2>/dev/null && hard_links=no
! echo "$ac_t""$hard_links" 1>&6
if test "$hard_links" = no; then
! echo "configure: warning: \`$CC' does not support \`-c -o', so \`make -j'
may be unsafe" 1>&2
need_locks=warn
fi
else
--- 5048,5066 ----
hard_links="nottested"
if test "$compiler_c_o" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
! echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
! echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
hard_links=yes
$rm conftest*
ln conftest.a conftest.b 2>/dev/null && hard_links=no
touch conftest.a
ln conftest.a conftest.b 2>&5 || hard_links=no
ln conftest.a conftest.b 2>/dev/null && hard_links=no
! echo "$as_me:$LINENO: result: $hard_links" >&5
! echo "${ECHO_T}$hard_links" >&6
if test "$hard_links" = no; then
! { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so
\`make -j' may be unsafe" >&5
! echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be
unsafe" >&2;}
need_locks=warn
fi
else
***************
*** 3484,3505 ****
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by
compiler
! echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""...
$ac_c" 1>&6
! echo "configure:3489: checking if $compiler supports -fno-rtti
-fno-exceptions" >&5
echo "int some_variable = 0;" > conftest.$ac_ext
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
compiler_rtti_exceptions=no
! cat > conftest.$ac_ext <<EOF
! #line 3495 "configure"
#include "confdefs.h"
! int main() {
int some_variable = 0;
! ; return 0; }
! EOF
! if { (eval echo configure:3502: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s conftest.err; then
--- 5069,5104 ----
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by
compiler
! echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti
-fno-exceptions" >&5
! echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions...
$ECHO_C" >&6
echo "int some_variable = 0;" > conftest.$ac_ext
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
compiler_rtti_exceptions=no
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
int some_variable = 0;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s conftest.err; then
***************
*** 3507,3520 ****
else
compiler_rtti_exceptions=yes
fi
!
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest*
CFLAGS="$save_CFLAGS"
! echo "$ac_t""$compiler_rtti_exceptions" 1>&6
if test "$compiler_rtti_exceptions" = "yes"; then
no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
--- 5106,5120 ----
else
compiler_rtti_exceptions=yes
fi
!
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
CFLAGS="$save_CFLAGS"
! echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
! echo "${ECHO_T}$compiler_rtti_exceptions" >&6
if test "$compiler_rtti_exceptions" = "yes"; then
no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
***************
*** 3524,3531 ****
fi
# See if the linker supports building shared libraries.
! echo $ac_n "checking whether the linker ($LD) supports shared libraries""...
$ac_c" 1>&6
! echo "configure:3529: checking whether the linker ($LD) supports shared
libraries" >&5
allow_undefined_flag=
no_undefined_flag=
--- 5124,5131 ----
fi
# See if the linker supports building shared libraries.
! echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared
libraries" >&5
! echo $ECHO_N "checking whether the linker ($LD) supports shared libraries...
$ECHO_C" >&6
allow_undefined_flag=
no_undefined_flag=
***************
*** 3681,3687 ****
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
! archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
cp $export_symbols $output_objdir/$soname-def;
else
echo EXPORTS > $output_objdir/$soname-def;
--- 5281,5287 ----
# If the export-symbols file already is a .def file (1st line
# is EXPORTS), use it as is.
# If DATA tags from a recent dlltool are present, honour them!
! archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
cp $export_symbols $output_objdir/$soname-def;
else
echo EXPORTS > $output_objdir/$soname-def;
***************
*** 3690,3695 ****
--- 5290,5296 ----
set dummy \$symbol;
case \$# in
2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
+ 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def;
_lt_hint=`expr \$_lt_hint - 1`;;
*) echo " \$2 @ \$_lt_hint \$3 ; " >>
$output_objdir/$soname-def;;
esac;
_lt_hint=`expr 1 + \$_lt_hint`;
***************
*** 3802,3811 ****
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
for ld_flag in $LDFLAGS; do
! if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
break
! fi
done
esac
--- 5403,5414 ----
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
for ld_flag in $LDFLAGS; do
! case $ld_flag in
! *-brtl*)
aix_use_runtimelinking=yes
break
! ;;
! esac
done
esac
***************
*** 3921,3927 ****
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
# `"' quotes if we put them in here... so don't!
! archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags
-install_name $rpath/$soname $verstring'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
--- 5524,5530 ----
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes. Also zsh mangles
# `"' quotes if we put them in here... so don't!
! archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o
$libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib)
$allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test
.$module != .yes && echo -install_name $rpath/$soname $verstring)'
# We need to add '_' to the symbols in $export_symbols first
#archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
hardcode_direct=yes
***************
*** 3976,3985 ****
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version
${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib'
else
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname
$soname `test -n "$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib'
fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
link_all_deplibs=yes
;;
--- 5579,5589 ----
irix5* | irix6* | nonstopux*)
if test "$GCC" = yes; then
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version
${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o
$lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname
$soname `test -n "$verstring" && echo -set_version $verstring` -update_registry
${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='-rpath $libdir'
fi
hardcode_libdir_separator=:
link_all_deplibs=yes
;;
***************
*** 4007,4013 ****
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$linker_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
--- 5611,5617 ----
hardcode_direct=yes
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
export_dynamic_flag_spec='${wl}-E'
else
***************
*** 4017,4023 ****
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$linker_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
--- 5621,5627 ----
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
! archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs
$compiler_flags'
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
***************
*** 4129,4141 ****
;;
sysv4)
! if test "x$host_vendor" = xsno; then
! archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=yes # is this really true???
! else
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
! hardcode_direct=no #Motorola manual says yes, but my tests say they lie
! fi
runpath_var='LD_RUN_PATH'
hardcode_shlibpath_var=no
;;
--- 5733,5755 ----
;;
sysv4)
! case $host_vendor in
! sni)
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=yes # is this really true???
! ;;
! siemens)
! ## LD is ld it makes a PLAMLIB
! ## CC just makes a GrossModule.
! archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
! reload_cmds='$CC -r -o $output$reload_objs'
! hardcode_direct=no
! ;;
! motorola)
! archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags'
! hardcode_direct=no #Motorola manual says yes, but my tests say they
lie
! ;;
! esac
runpath_var='LD_RUN_PATH'
hardcode_shlibpath_var=no
;;
***************
*** 4205,4216 ****
;;
esac
fi
! echo "$ac_t""$ld_shlibs" 1>&6
test "$ld_shlibs" = no && can_build_shared=no
# Check hardcoding attributes.
! echo $ac_n "checking how to hardcode library paths into programs""... $ac_c"
1>&6
! echo "configure:4214: checking how to hardcode library paths into programs"
>&5
hardcode_action=
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
--- 5819,5831 ----
;;
esac
fi
! echo "$as_me:$LINENO: result: $ld_shlibs" >&5
! echo "${ECHO_T}$ld_shlibs" >&6
test "$ld_shlibs" = no && can_build_shared=no
# Check hardcoding attributes.
! echo "$as_me:$LINENO: checking how to hardcode library paths into programs"
>&5
! echo $ECHO_N "checking how to hardcode library paths into programs...
$ECHO_C" >&6
hardcode_action=
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
***************
*** 4233,4258 ****
# directories.
hardcode_action=unsupported
fi
! echo "$ac_t""$hardcode_action" 1>&6
striplib=
old_striplib=
! echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
! echo "configure:4242: checking whether stripping libraries is possible" >&5
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! echo "$ac_t""yes" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
reload_cmds='$LD$reload_flag -o $output$reload_objs'
test -z "$deplibs_check_method" && deplibs_check_method=unknown
# PORTME Fill in your ld.so characteristics
! echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
! echo "configure:4256: checking dynamic linker characteristics" >&5
library_names_spec=
libname_spec='lib$name'
soname_spec=
--- 5848,5876 ----
# directories.
hardcode_action=unsupported
fi
! echo "$as_me:$LINENO: result: $hardcode_action" >&5
! echo "${ECHO_T}$hardcode_action" >&6
striplib=
old_striplib=
! echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
! echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
reload_cmds='$LD$reload_flag -o $output$reload_objs'
test -z "$deplibs_check_method" && deplibs_check_method=unknown
# PORTME Fill in your ld.so characteristics
! echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
! echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
library_names_spec=
libname_spec='lib$name'
soname_spec=
***************
*** 4279,4284 ****
--- 5897,5905 ----
aix4* | aix5*)
version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
if test "$host_cpu" = ia64; then
# AIX 5 supports IA64
library_names_spec='${libname}${release}.so$major
${libname}${release}.so$versuffix $libname.so'
***************
*** 4317,4322 ****
--- 5938,5944 ----
fi
shlibpath_var=LIBPATH
fi
+ hardcode_into_libs=yes
;;
amigaos*)
***************
*** 4364,4370 ****
;;
yes,mingw*)
library_names_spec='${libname}`echo ${release} | sed -e
's/[.]/-/g'`${versuffix}.dll'
! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" |
sed -e "s/^libraries://" -e "s/;/ /g"`
;;
yes,pw32*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo
${release} | sed -e 's/./-/g'`${versuffix}.dll'
--- 5986,5992 ----
;;
yes,mingw*)
library_names_spec='${libname}`echo ${release} | sed -e
's/[.]/-/g'`${versuffix}.dll'
! sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" |
sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
;;
yes,pw32*)
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo
${release} | sed -e 's/./-/g'`${versuffix}.dll'
***************
*** 4396,4401 ****
--- 6018,6035 ----
dynamic_linker=no
;;
+ freebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so$major $libname.so'
+ soname_spec='${libname}${release}.so$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU/FreeBSD ld.so'
+ ;;
+
freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
***************
*** 4562,4572 ****
version_type=osf
need_version=no
need_lib_prefix=no
! soname_spec='${libname}${release}.so'
! library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so $libname.so'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
sco3.2v5*)
--- 6196,6207 ----
version_type=osf
need_version=no
need_lib_prefix=no
! soname_spec='${libname}${release}.so$major'
! library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so$major $libname.so'
shlibpath_var=LD_LIBRARY_PATH
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc
/usr/lib /usr/local/lib /var/shlib"
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ hardcode_into_libs=yes
;;
sco3.2v5*)
***************
*** 4609,4614 ****
--- 6244,6255 ----
case $host_vendor in
sni)
shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
;;
motorola)
need_lib_prefix=no
***************
*** 4648,4663 ****
dynamic_linker=no
;;
esac
! echo "$ac_t""$dynamic_linker" 1>&6
test "$dynamic_linker" = no && can_build_shared=no
# Report the final consequences.
! echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
! echo "configure:4657: checking if libtool supports shared libraries" >&5
! echo "$ac_t""$can_build_shared" 1>&6
! echo $ac_n "checking whether to build shared libraries""... $ac_c" 1>&6
! echo "configure:4661: checking whether to build shared libraries" >&5
test "$can_build_shared" = "no" && enable_shared=no
# On AIX, shared libraries and static libraries use the same namespace, and
--- 6289,6306 ----
dynamic_linker=no
;;
esac
! echo "$as_me:$LINENO: result: $dynamic_linker" >&5
! echo "${ECHO_T}$dynamic_linker" >&6
test "$dynamic_linker" = no && can_build_shared=no
# Report the final consequences.
! echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
! echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
! echo "$as_me:$LINENO: result: $can_build_shared" >&5
! echo "${ECHO_T}$can_build_shared" >&6
! echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
! echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
test "$can_build_shared" = "no" && enable_shared=no
# On AIX, shared libraries and static libraries use the same namespace, and
***************
*** 4677,4689 ****
fi
;;
esac
! echo "$ac_t""$enable_shared" 1>&6
! echo $ac_n "checking whether to build static libraries""... $ac_c" 1>&6
! echo "configure:4684: checking whether to build static libraries" >&5
# Make sure either enable_shared or enable_static is yes.
test "$enable_shared" = yes || enable_static=yes
! echo "$ac_t""$enable_static" 1>&6
if test "$hardcode_action" = relink; then
# Fast installation is not supported
--- 6320,6334 ----
fi
;;
esac
! echo "$as_me:$LINENO: result: $enable_shared" >&5
! echo "${ECHO_T}$enable_shared" >&6
! echo "$as_me:$LINENO: checking whether to build static libraries" >&5
! echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
# Make sure either enable_shared or enable_static is yes.
test "$enable_shared" = yes || enable_static=yes
! echo "$as_me:$LINENO: result: $enable_static" >&5
! echo "${ECHO_T}$enable_static" >&6
if test "$hardcode_action" = relink; then
# Fast installation is not supported
***************
*** 4720,4984 ****
;;
*)
! echo $ac_n "checking for shl_load""... $ac_c" 1>&6
! echo "configure:4725: checking for shl_load" >&5
! if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 4730 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char shl_load(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shl_load();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shl_load) || defined (__stub___shl_load)
choke me
#else
! shl_load();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_shl_load=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_shl_load=no"
! fi
! rm -f conftest*
! fi
!
! if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="shl_load"
else
! echo "$ac_t""no" 1>&6
! echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
! echo "configure:4771: checking for shl_load in -ldld" >&5
! ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-ldld $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 4779 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shl_load();
!
! int main() {
! shl_load()
! ; return 0; }
! EOF
! if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
else
! echo "$ac_t""no" 1>&6
! echo $ac_n "checking for dlopen""... $ac_c" 1>&6
! echo "configure:4809: checking for dlopen" >&5
! if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 4814 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char dlopen(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dlopen) || defined (__stub___dlopen)
choke me
#else
! dlopen();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:4837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_dlopen=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_dlopen=no"
! fi
! rm -f conftest*
! fi
!
! if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="dlopen"
else
! echo "$ac_t""no" 1>&6
! echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:4855: checking for dlopen in -ldl" >&5
! ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 4863 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen();
!
! int main() {
! dlopen()
! ; return 0; }
! EOF
! if { (eval echo configure:4874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else
! echo "$ac_t""no" 1>&6
! echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
! echo "configure:4893: checking for dlopen in -lsvld" >&5
! ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lsvld $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 4901 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen();
!
! int main() {
! dlopen()
! ; return 0; }
! EOF
! if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
else
! echo "$ac_t""no" 1>&6
! echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
! echo "configure:4931: checking for dld_link in -ldld" >&5
! ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-ldld $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 4939 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dld_link();
!
! int main() {
! dld_link()
! ; return 0; }
! EOF
! if { (eval echo configure:4950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
- else
- echo "$ac_t""no" 1>&6
fi
!
fi
!
fi
!
fi
!
fi
!
fi
;;
--- 6365,6714 ----
;;
*)
! echo "$as_me:$LINENO: checking for shl_load" >&5
! echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! if test "${ac_cv_func_shl_load+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char shl_load (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shl_load ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shl_load) || defined (__stub___shl_load)
choke me
#else
! f = shl_load;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_shl_load=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_shl_load=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! if test $ac_cv_func_shl_load = yes; then
lt_cv_dlopen="shl_load"
else
! echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shl_load ();
! int
! main ()
! {
! shl_load ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dld_shl_load=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dld_shl_load=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! if test $ac_cv_lib_dld_shl_load = yes; then
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
else
! echo "$as_me:$LINENO: checking for dlopen" >&5
! echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! if test "${ac_cv_func_dlopen+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char dlopen (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_dlopen) || defined (__stub___dlopen)
choke me
#else
! f = dlopen;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_dlopen=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_dlopen=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! if test $ac_cv_func_dlopen = yes; then
lt_cv_dlopen="dlopen"
else
! echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen ();
! int
! main ()
! {
! dlopen ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dl_dlopen=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dl_dlopen=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! if test $ac_cv_lib_dl_dlopen = yes; then
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
else
! echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
! echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
! if test "${ac_cv_lib_svld_dlopen+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lsvld $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen ();
! int
! main ()
! {
! dlopen ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_svld_dlopen=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_svld_dlopen=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
! echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
! if test $ac_cv_lib_svld_dlopen = yes; then
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
else
! echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-ldld $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dld_link ();
! int
! main ()
! {
! dld_link ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dld_dld_link=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dld_dld_link=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! if test $ac_cv_lib_dld_dld_link = yes; then
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
fi
!
fi
!
fi
!
fi
!
fi
!
fi
;;
***************
*** 5001,5010 ****
save_LIBS="$LIBS"
LIBS="$lt_cv_dlopen_libs $LIBS"
! echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
! echo "configure:5006: checking whether a program can dlopen itself" >&5
! if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self=cross
--- 6731,6740 ----
save_LIBS="$LIBS"
LIBS="$lt_cv_dlopen_libs $LIBS"
! echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
! echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
! if test "${lt_cv_dlopen_self+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self=cross
***************
*** 5012,5018 ****
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
! #line 5016 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
--- 6742,6748 ----
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
! #line 6745 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
***************
*** 5073,5079 ****
exit (status);
}
EOF
! if { (eval echo configure:5077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
--- 6803,6813 ----
exit (status);
}
EOF
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
***************
*** 5088,5104 ****
fi
rm -fr conftest*
-
- fi
! echo "$ac_t""$lt_cv_dlopen_self" 1>&6
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
! echo $ac_n "checking whether a statically linked program can dlopen
itself""... $ac_c" 1>&6
! echo "configure:5100: checking whether a statically linked program can dlopen
itself" >&5
! if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self_static=cross
--- 6822,6838 ----
fi
rm -fr conftest*
! fi
! echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
! echo "${ECHO_T}$lt_cv_dlopen_self" >&6
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
! echo "$as_me:$LINENO: checking whether a statically linked program can
dlopen itself" >&5
! echo $ECHO_N "checking whether a statically linked program can dlopen
itself... $ECHO_C" >&6
! if test "${lt_cv_dlopen_self_static+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test "$cross_compiling" = yes; then :
lt_cv_dlopen_self_static=cross
***************
*** 5106,5112 ****
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
! #line 5110 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
--- 6840,6846 ----
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
! #line 6843 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
***************
*** 5167,5173 ****
exit (status);
}
EOF
! if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
--- 6901,6911 ----
exit (status);
}
EOF
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
(./conftest; exit; ) 2>/dev/null
lt_status=$?
case x$lt_status in
***************
*** 5182,5191 ****
fi
rm -fr conftest*
-
- fi
! echo "$ac_t""$lt_cv_dlopen_self_static" 1>&6
fi
CPPFLAGS="$save_CPPFLAGS"
--- 6920,6929 ----
fi
rm -fr conftest*
! fi
! echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
! echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
fi
CPPFLAGS="$save_CPPFLAGS"
***************
*** 5215,5229 ****
# Test whether the compiler implicitly links with -lc since on some
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
! echo $ac_n "checking whether -lc should be explicitly linked in""...
$ac_c" 1>&6
! echo "configure:5220: checking whether -lc should be explicitly linked in" >&5
! if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set";
then
! echo $ac_n "(cached) $ac_c" 1>&6
else
$rm conftest*
echo 'static int dummy;' > conftest.$ac_ext
! if { (eval echo configure:5227: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
soname=conftest
lib=conftest
libobjs=conftest.$ac_objext
--- 6953,6971 ----
# Test whether the compiler implicitly links with -lc since on some
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
! echo "$as_me:$LINENO: checking whether -lc should be explicitly linked
in" >&5
! echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C"
>&6
! if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
$rm conftest*
echo 'static int dummy;' > conftest.$ac_ext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; then
soname=conftest
lib=conftest
libobjs=conftest.$ac_objext
***************
*** 5236,5242 ****
libname=conftest
save_allow_undefined_flag=$allow_undefined_flag
allow_undefined_flag=
! if { (eval echo configure:5240: \"$archive_cmds 2\>\&1 \| grep \" -lc
\" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \"
\>/dev/null 2\>\&1) 2>&5; }
then
lt_cv_archive_cmds_need_lc=no
else
--- 6978,6988 ----
libname=conftest
save_allow_undefined_flag=$allow_undefined_flag
allow_undefined_flag=
! if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc
\" \>/dev/null 2\>\&1\"") >&5
! (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }
then
lt_cv_archive_cmds_need_lc=no
else
***************
*** 5248,5254 ****
fi
fi
! echo "$ac_t""$lt_cv_archive_cmds_need_lc" 1>&6
;;
esac
fi
--- 6994,7001 ----
fi
fi
! echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
! echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
;;
esac
fi
***************
*** 5276,5282 ****
# Now quote all the things that may contain metacharacters while being
# careful not to overquote the AC_SUBSTed values. We take copies of the
# variables and quote the copies for generation of the libtool script.
! for var in echo old_CC old_CFLAGS \
AR AR_FLAGS CC LD LN_S NM SHELL \
reload_flag reload_cmds wl \
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
--- 7023,7029 ----
# Now quote all the things that may contain metacharacters while being
# careful not to overquote the AC_SUBSTed values. We take copies of the
# variables and quote the copies for generation of the libtool script.
! for var in echo old_CC old_CFLAGS SED \
AR AR_FLAGS CC LD LN_S NM SHELL \
reload_flag reload_cmds wl \
pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
***************
*** 5338,5345 ****
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
! Xsed="sed -e s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
--- 7085,7095 ----
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
+ # A sed that does not truncate output.
+ SED=$lt_SED
+
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
! Xsed="${SED} -e s/^X//"
# The HP-UX ksh and POSIX shell print the target directory to stdout
# if CDPATH is set.
***************
*** 5844,5862 ****
TK_LIBDIR="-L$with_tkdir/lib"
fi
! # If we find X, set shell vars x_includes and x_libraries to the
! # paths, otherwise set no_x=yes.
! # Uses ac_ vars as temps to allow command line to override cache and checks.
! # --without-x overrides everything else, but does not touch the cache.
! echo $ac_n "checking for X""... $ac_c" 1>&6
! echo "configure:5853: checking for X" >&5
# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
withval="$with_x"
- :
- fi
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
# The user explicitly disabled X.
--- 7594,7608 ----
TK_LIBDIR="-L$with_tkdir/lib"
fi
! echo "$as_me:$LINENO: checking for X" >&5
! echo $ECHO_N "checking for X... $ECHO_C" >&6
!
# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
withval="$with_x"
+ fi;
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
# The user explicitly disabled X.
***************
*** 5866,6058 ****
# Both variables are already set.
have_x=yes
else
! if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
# One or both of the vars are not set, and there is no cached value.
! ac_x_includes=NO ac_x_libraries=NO
! rm -fr conftestdir
! if mkdir conftestdir; then
! cd conftestdir
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
! cat > Imakefile <<'EOF'
acfindx:
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}";
ac_im_libdir="${LIBDIR}"'
! EOF
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse
us.
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl; do
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
! test -f $ac_im_libdir/libX11.$ac_extension; then
ac_im_usrlibdir=$ac_im_libdir; break
fi
done
# Screen out bogus values from the imake configuration. They are
# bogus both because they are the default anyway, and because
# using them would break gcc on systems where it needs fixed includes.
! case "$ac_im_incroot" in
/usr/include) ;;
! *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot"
;;
esac
! case "$ac_im_usrlibdir" in
/usr/lib | /lib) ;;
! *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;;
esac
fi
cd ..
! rm -fr conftestdir
fi
! if test "$ac_x_includes" = NO; then
! # Guess where to find include files, by looking for this one X11 .h file.
! test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
# First, try using that file with no special directory specified.
! cat > conftest.$ac_ext <<EOF
! #line 5915 "configure"
#include "confdefs.h"
! #include <$x_direct_test_include>
! EOF
! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! rm -rf conftest*
# We can compile using X headers with no special include directory.
ac_x_includes=
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
! rm -rf conftest*
! # Look for the header file in a standard set of common directories.
! # Check X11 before X11Rn because it is often a symlink to the current release.
! for ac_dir in \
! /usr/X11/include \
! /usr/X11R6/include \
! /usr/X11R5/include \
! /usr/X11R4/include \
! \
! /usr/include/X11 \
! /usr/include/X11R6 \
! /usr/include/X11R5 \
! /usr/include/X11R4 \
! \
! /usr/local/X11/include \
! /usr/local/X11R6/include \
! /usr/local/X11R5/include \
! /usr/local/X11R4/include \
! \
! /usr/local/include/X11 \
! /usr/local/include/X11R6 \
! /usr/local/include/X11R5 \
! /usr/local/include/X11R4 \
! \
! /usr/X386/include \
! /usr/x386/include \
! /usr/XFree86/include/X11 \
! \
! /usr/include \
! /usr/local/include \
! /usr/unsupported/include \
! /usr/athena/include \
! /usr/local/x11r5/include \
! /usr/lpp/Xamples/include \
! \
! /usr/openwin/include \
! /usr/openwin/share/include \
! ; \
! do
! if test -r "$ac_dir/$x_direct_test_include"; then
! ac_x_includes=$ac_dir
! break
! fi
! done
fi
! rm -f conftest*
! fi # $ac_x_includes = NO
! if test "$ac_x_libraries" = NO; then
# Check for the libraries.
-
- test -z "$x_direct_test_library" && x_direct_test_library=Xt
- test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
-
# See if we find them without any special options.
# Don't add to $LIBS permanently.
! ac_save_LIBS="$LIBS"
! LIBS="-l$x_direct_test_library $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 5989 "configure"
! #include "confdefs.h"
!
! int main() {
! ${x_direct_test_function}()
! ; return 0; }
! EOF
! if { (eval echo configure:5996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! LIBS="$ac_save_LIBS"
# We can link X programs with no special library path.
ac_x_libraries=
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! LIBS="$ac_save_LIBS"
! # First see if replacing the include by lib works.
! # Check X11 before X11Rn because it is often a symlink to the current release.
! for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \
! /usr/X11/lib \
! /usr/X11R6/lib \
! /usr/X11R5/lib \
! /usr/X11R4/lib \
! \
! /usr/lib/X11 \
! /usr/lib/X11R6 \
! /usr/lib/X11R5 \
! /usr/lib/X11R4 \
! \
! /usr/local/X11/lib \
! /usr/local/X11R6/lib \
! /usr/local/X11R5/lib \
! /usr/local/X11R4/lib \
! \
! /usr/local/lib/X11 \
! /usr/local/lib/X11R6 \
! /usr/local/lib/X11R5 \
! /usr/local/lib/X11R4 \
! \
! /usr/X386/lib \
! /usr/x386/lib \
! /usr/XFree86/lib/X11 \
! \
! /usr/lib \
! /usr/local/lib \
! /usr/unsupported/lib \
! /usr/athena/lib \
! /usr/local/x11r5/lib \
! /usr/lpp/Xamples/lib \
! /lib/usr/lib/X11 \
! \
! /usr/openwin/lib \
! /usr/openwin/share/lib \
! ; \
do
for ac_extension in a so sl; do
! if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
ac_x_libraries=$ac_dir
break 2
fi
done
done
fi
! rm -f conftest*
! fi # $ac_x_libraries = NO
! if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then
# Didn't find X anywhere. Cache the known absence of X.
ac_cv_have_x="have_x=no"
else
--- 7612,7785 ----
# Both variables are already set.
have_x=yes
else
! if test "${ac_cv_have_x+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
# One or both of the vars are not set, and there is no cached value.
! ac_x_includes=no ac_x_libraries=no
! rm -fr conftest.dir
! if mkdir conftest.dir; then
! cd conftest.dir
# Make sure to not put "make" in the Imakefile rules, since we grep it out.
! cat >Imakefile <<'_ACEOF'
acfindx:
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}";
ac_im_libdir="${LIBDIR}"'
! _ACEOF
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
# GNU make sometimes prints "make[1]: Entering...", which would confuse
us.
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
for ac_extension in a so sl; do
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
! test -f $ac_im_libdir/libX11.$ac_extension; then
ac_im_usrlibdir=$ac_im_libdir; break
fi
done
# Screen out bogus values from the imake configuration. They are
# bogus both because they are the default anyway, and because
# using them would break gcc on systems where it needs fixed includes.
! case $ac_im_incroot in
/usr/include) ;;
! *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
esac
! case $ac_im_usrlibdir in
/usr/lib | /lib) ;;
! *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
esac
fi
cd ..
! rm -fr conftest.dir
fi
! # Standard set of common directories for X headers.
! # Check X11 before X11Rn because it is often a symlink to the current release.
! ac_x_header_dirs='
! /usr/X11/include
! /usr/X11R6/include
! /usr/X11R5/include
! /usr/X11R4/include
!
! /usr/include/X11
! /usr/include/X11R6
! /usr/include/X11R5
! /usr/include/X11R4
!
! /usr/local/X11/include
! /usr/local/X11R6/include
! /usr/local/X11R5/include
! /usr/local/X11R4/include
!
! /usr/local/include/X11
! /usr/local/include/X11R6
! /usr/local/include/X11R5
! /usr/local/include/X11R4
!
! /usr/X386/include
! /usr/x386/include
! /usr/XFree86/include/X11
!
! /usr/include
! /usr/local/include
! /usr/unsupported/include
! /usr/athena/include
! /usr/local/x11r5/include
! /usr/lpp/Xamples/include
!
! /usr/openwin/include
! /usr/openwin/share/include'
+ if test "$ac_x_includes" = no; then
+ # Guess where to find include files, by looking for Intrinsic.h.
# First, try using that file with no special directory specified.
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! #include <X11/Intrinsic.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
! else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
# We can compile using X headers with no special include directory.
ac_x_includes=
else
! echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
! for ac_dir in $ac_x_header_dirs; do
! if test -r "$ac_dir/X11/Intrinsic.h"; then
! ac_x_includes=$ac_dir
! break
! fi
! done
fi
! rm -f conftest.err conftest.$ac_ext
! fi # $ac_x_includes = no
! if test "$ac_x_libraries" = no; then
# Check for the libraries.
# See if we find them without any special options.
# Don't add to $LIBS permanently.
! ac_save_LIBS=$LIBS
! LIBS="-lXt $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <X11/Intrinsic.h>
! int
! main ()
! {
! XtMalloc (0)
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! LIBS=$ac_save_LIBS
# We can link X programs with no special library path.
ac_x_libraries=
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! LIBS=$ac_save_LIBS
! for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
do
+ # Don't even attempt the hair of trying to link an X program!
for ac_extension in a so sl; do
! if test -r $ac_dir/libXt.$ac_extension; then
ac_x_libraries=$ac_dir
break 2
fi
done
done
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi # $ac_x_libraries = no
! if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
# Didn't find X anywhere. Cache the known absence of X.
ac_cv_have_x="have_x=no"
else
***************
*** 6061,6072 ****
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi
fi
eval "$ac_cv_have_x"
fi # $with_x != no
if test "$have_x" != yes; then
! echo "$ac_t""$have_x" 1>&6
no_x=yes
else
# If each of the values was on the command line, it overrides each guess.
--- 7788,7801 ----
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
fi
fi
+
fi
eval "$ac_cv_have_x"
fi # $with_x != no
if test "$have_x" != yes; then
! echo "$as_me:$LINENO: result: $have_x" >&5
! echo "${ECHO_T}$have_x" >&6
no_x=yes
else
# If each of the values was on the command line, it overrides each guess.
***************
*** 6075,6088 ****
# Update the cache value to reflect the command line values.
ac_cv_have_x="have_x=yes \
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
! echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
fi
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
! cat >> confdefs.h <<\EOF
#define X_DISPLAY_MISSING 1
! EOF
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
--- 7804,7819 ----
# Update the cache value to reflect the command line values.
ac_cv_have_x="have_x=yes \
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
! echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes"
>&5
! echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
fi
if test "$no_x" = yes; then
# Not all programs may use this symbol, but it does not hurt to define it.
!
! cat >>confdefs.h <<\_ACEOF
#define X_DISPLAY_MISSING 1
! _ACEOF
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
else
***************
*** 6095,6154 ****
X_LIBS="$X_LIBS -L$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
! case "`(uname -sr) 2>/dev/null`" in
"SunOS 5"*)
! echo $ac_n "checking whether -R must be followed by a space""... $ac_c"
1>&6
! echo "configure:6102: checking whether -R must be followed by a space" >&5
! ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
! cat > conftest.$ac_ext <<EOF
! #line 6105 "configure"
#include "confdefs.h"
! int main() {
! ; return 0; }
! EOF
! if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
ac_R_nospace=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_R_nospace=no
fi
! rm -f conftest*
if test $ac_R_nospace = yes; then
! echo "$ac_t""no" 1>&6
X_LIBS="$X_LIBS -R$x_libraries"
else
LIBS="$ac_xsave_LIBS -R $x_libraries"
! cat > conftest.$ac_ext <<EOF
! #line 6128 "configure"
#include "confdefs.h"
! int main() {
! ; return 0; }
! EOF
! if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
ac_R_space=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_R_space=no
fi
! rm -f conftest*
if test $ac_R_space = yes; then
! echo "$ac_t""yes" 1>&6
X_LIBS="$X_LIBS -R $x_libraries"
else
! echo "$ac_t""neither works" 1>&6
fi
fi
! LIBS="$ac_xsave_LIBS"
esac
fi
--- 7826,7914 ----
X_LIBS="$X_LIBS -L$x_libraries"
# For Solaris; some versions of Sun CC require a space after -R and
# others require no space. Words are not sufficient . . . .
! case `(uname -sr) 2>/dev/null` in
"SunOS 5"*)
! echo "$as_me:$LINENO: checking whether -R must be followed by a space"
>&5
! echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
! ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
ac_R_nospace=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_R_nospace=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test $ac_R_nospace = yes; then
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
X_LIBS="$X_LIBS -R$x_libraries"
else
LIBS="$ac_xsave_LIBS -R $x_libraries"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
ac_R_space=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_R_space=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
if test $ac_R_space = yes; then
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
X_LIBS="$X_LIBS -R $x_libraries"
else
! echo "$as_me:$LINENO: result: neither works" >&5
! echo "${ECHO_T}neither works" >&6
fi
fi
! LIBS=$ac_xsave_LIBS
esac
fi
***************
*** 6159,6680 ****
if test "$ISC" = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
! # address@hidden says this is needed for Ultrix, if the X
! # libraries were built with DECnet support. And address@hidden says
# the Alpha needs dnet_stub (dnet does not exist).
! echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
! echo "configure:6167: checking for dnet_ntoa in -ldnet" >&5
! ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! ac_save_LIBS="$LIBS"
! LIBS="-ldnet $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6175 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dnet_ntoa();
!
! int main() {
! dnet_ntoa()
! ; return 0; }
! EOF
! if { (eval echo configure:6186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
- else
- echo "$ac_t""no" 1>&6
fi
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
! echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
! echo "configure:6208: checking for dnet_ntoa in -ldnet_stub" >&5
! ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-ldnet_stub $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6216 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dnet_ntoa();
!
! int main() {
! dnet_ntoa()
! ; return 0; }
! EOF
! if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
- else
- echo "$ac_t""no" 1>&6
fi
fi
# address@hidden says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
! # address@hidden says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl.
# The nsl library prevents programs from opening the X display
! # on Irix 5.2, according to address@hidden
! echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
! echo "configure:6256: checking for gethostbyname" >&5
! if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6261 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char gethostbyname(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char gethostbyname();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
choke me
#else
! gethostbyname();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:6284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_gethostbyname=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_gethostbyname=no"
! fi
! rm -f conftest*
fi
!
! if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! :
! else
! echo "$ac_t""no" 1>&6
fi
if test $ac_cv_func_gethostbyname = no; then
! echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
! echo "configure:6305: checking for gethostbyname in -lnsl" >&5
! ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6313 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char gethostbyname();
!
! int main() {
! gethostbyname()
! ; return 0; }
! EOF
! if { (eval echo configure:6324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
fi
- rm -f conftest*
- LIBS="$ac_save_LIBS"
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
! else
! echo "$ac_t""no" 1>&6
fi
fi
# address@hidden says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
! # on later versions), says address@hidden: it contains
! # gethostby* variants that don't use the nameserver (or something).
! # -lsocket must be given before -lnsl if both are needed.
! # We assume that if connect needs -lnsl, so does gethostbyname.
! echo $ac_n "checking for connect""... $ac_c" 1>&6
! echo "configure:6354: checking for connect" >&5
! if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6359 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char connect(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char connect();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_connect) || defined (__stub___connect)
choke me
#else
! connect();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:6382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_connect=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_connect=no"
! fi
! rm -f conftest*
fi
!
! if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! :
! else
! echo "$ac_t""no" 1>&6
fi
if test $ac_cv_func_connect = no; then
! echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
! echo "configure:6403: checking for connect in -lsocket" >&5
! ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6411 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char connect();
!
! int main() {
! connect()
! ; return 0; }
! EOF
! if { (eval echo configure:6422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
fi
! # address@hidden says -lposix is necessary on A/UX.
! echo $ac_n "checking for remove""... $ac_c" 1>&6
! echo "configure:6446: checking for remove" >&5
! if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6451 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char remove(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char remove();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_remove) || defined (__stub___remove)
choke me
#else
! remove();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_remove=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_remove=no"
! fi
! rm -f conftest*
fi
!
! if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! :
! else
! echo "$ac_t""no" 1>&6
fi
if test $ac_cv_func_remove = no; then
! echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
! echo "configure:6495: checking for remove in -lposix" >&5
! ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lposix $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6503 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char remove();
!
! int main() {
! remove()
! ; return 0; }
! EOF
! if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
- else
- echo "$ac_t""no" 1>&6
fi
fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
! echo $ac_n "checking for shmat""... $ac_c" 1>&6
! echo "configure:6538: checking for shmat" >&5
! if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6543 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char shmat(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shmat();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat)
choke me
#else
! shmat();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:6566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_shmat=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_shmat=no"
! fi
! rm -f conftest*
fi
!
! if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! :
! else
! echo "$ac_t""no" 1>&6
fi
if test $ac_cv_func_shmat = no; then
! echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
! echo "configure:6587: checking for shmat in -lipc" >&5
! ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lipc $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6595 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shmat();
!
! int main() {
! shmat()
! ; return 0; }
! EOF
! if { (eval echo configure:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
- else
- echo "$ac_t""no" 1>&6
fi
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
! ac_save_LDFLAGS="$LDFLAGS"
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
! # address@hidden, address@hidden
! echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
! echo "configure:6639: checking for IceConnectionNumber in -lICE" >&5
! ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6647 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char IceConnectionNumber();
!
! int main() {
! IceConnectionNumber()
! ; return 0; }
! EOF
! if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
- else
- echo "$ac_t""no" 1>&6
fi
! LDFLAGS="$ac_save_LDFLAGS"
fi
--- 7919,8671 ----
if test "$ISC" = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
else
! # Martyn Johnson says this is needed for Ultrix, if the X
! # libraries were built with DECnet support. And Karl Berry says
# the Alpha needs dnet_stub (dnet does not exist).
! ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char XOpenDisplay ();
! int
! main ()
! {
! XOpenDisplay ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! :
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
! echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
! if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-ldnet $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dnet_ntoa ();
! int
! main ()
! {
! dnet_ntoa ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dnet_dnet_ntoa=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dnet_dnet_ntoa=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
! echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
! if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
fi
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
! echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
! echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
! if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-ldnet_stub $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dnet_ntoa ();
! int
! main ()
! {
! dnet_ntoa ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dnet_stub_dnet_ntoa=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dnet_stub_dnet_ntoa=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
! echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
! if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
fi
fi
+ fi
+ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+ LIBS="$ac_xsave_LIBS"
# address@hidden says -lnsl (and -lsocket) are needed for his 386/AT,
# to get the SysV transport functions.
! # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
# needs -lnsl.
# The nsl library prevents programs from opening the X display
! # on Irix 5.2, according to T.E. Dickey.
! # The functions gethostbyname, getservbyname, and inet_addr are
! # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
! echo "$as_me:$LINENO: checking for gethostbyname" >&5
! echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
! if test "${ac_cv_func_gethostbyname+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char gethostbyname (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char gethostbyname ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
choke me
#else
! f = gethostbyname;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_gethostbyname=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_gethostbyname=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
+ echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
if test $ac_cv_func_gethostbyname = no; then
! echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
! echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
! if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char gethostbyname ();
! int
! main ()
! {
! gethostbyname ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_nsl_gethostbyname=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_nsl_gethostbyname=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
! echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
! if test $ac_cv_lib_nsl_gethostbyname = yes; then
! X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
fi
! if test $ac_cv_lib_nsl_gethostbyname = no; then
! echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
! echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
! if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_check_lib_save_LIBS=$LIBS
! LIBS="-lbsd $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
!
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char gethostbyname ();
! int
! main ()
! {
! gethostbyname ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_bsd_gethostbyname=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_bsd_gethostbyname=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
! echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
! if test $ac_cv_lib_bsd_gethostbyname = yes; then
! X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
fi
+ fi
fi
# address@hidden says without -lsocket,
# socket/setsockopt and other routines are undefined under SCO ODT
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
! # on later versions), says Simon Leinen: it contains gethostby*
! # variants that don't use the name server (or something). -lsocket
! # must be given before -lnsl if both are needed. We assume that
! # if connect needs -lnsl, so does gethostbyname.
! echo "$as_me:$LINENO: checking for connect" >&5
! echo $ECHO_N "checking for connect... $ECHO_C" >&6
! if test "${ac_cv_func_connect+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char connect (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char connect ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_connect) || defined (__stub___connect)
choke me
#else
! f = connect;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_connect=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_connect=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
+ echo "${ECHO_T}$ac_cv_func_connect" >&6
if test $ac_cv_func_connect = no; then
! echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
! echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
! if test "${ac_cv_lib_socket_connect+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char connect ();
! int
! main ()
! {
! connect ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_socket_connect=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_socket_connect=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
! echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
! if test $ac_cv_lib_socket_connect = yes; then
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
fi
fi
! # Guillermo Gomez says -lposix is necessary on A/UX.
! echo "$as_me:$LINENO: checking for remove" >&5
! echo $ECHO_N "checking for remove... $ECHO_C" >&6
! if test "${ac_cv_func_remove+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char remove (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char remove ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_remove) || defined (__stub___remove)
choke me
#else
! f = remove;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_remove=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_remove=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
+ echo "${ECHO_T}$ac_cv_func_remove" >&6
if test $ac_cv_func_remove = no; then
! echo "$as_me:$LINENO: checking for remove in -lposix" >&5
! echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
! if test "${ac_cv_lib_posix_remove+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lposix $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char remove ();
! int
! main ()
! {
! remove ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_posix_remove=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_posix_remove=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
! echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
! if test $ac_cv_lib_posix_remove = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
fi
fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
! echo "$as_me:$LINENO: checking for shmat" >&5
! echo $ECHO_N "checking for shmat... $ECHO_C" >&6
! if test "${ac_cv_func_shmat+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char shmat (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shmat ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat)
choke me
#else
! f = shmat;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_func_shmat=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_shmat=no
fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
+ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
+ echo "${ECHO_T}$ac_cv_func_shmat" >&6
if test $ac_cv_func_shmat = no; then
! echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
! echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
! if test "${ac_cv_lib_ipc_shmat+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lipc $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char shmat ();
! int
! main ()
! {
! shmat ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_ipc_shmat=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_ipc_shmat=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
! echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
! if test $ac_cv_lib_ipc_shmat = yes; then
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
fi
fi
fi
# Check for libraries that X11R6 Xt/Xaw programs need.
! ac_save_LDFLAGS=$LDFLAGS
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
# check for ICE first), but we must link in the order -lSM -lICE or
# we get undefined symbols. So assume we have SM if we have ICE.
# These have to be linked with before -lX11, unlike the other
# libraries we check for below, so use a different variable.
! # John Interrante, Karl Berry
! echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
! echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
! if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char IceConnectionNumber ();
! int
! main ()
! {
! IceConnectionNumber ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_ICE_IceConnectionNumber=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_ICE_IceConnectionNumber=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
! echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
! if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
fi
! LDFLAGS=$ac_save_LDFLAGS
fi
***************
*** 6683,6843 ****
CPPFLAGS="$TCLTK_INCLUDE $TK_INCLUDE $CPPFLAGS"
CFLAGS="$TCLTK_LIBDIR $TK_LIBDIR $CFLAGS"
! ac_safe=`echo "tcl.h" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for tcl.h""... $ac_c" 1>&6
! echo "configure:6689: checking for tcl.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! cat > conftest.$ac_ext <<EOF
! #line 6694 "configure"
#include "confdefs.h"
#include <tcl.h>
! EOF
! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=yes"
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=no"
fi
! rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
! echo "$ac_t""yes" 1>&6
:
else
! echo "$ac_t""no" 1>&6
! { echo "configure: error: Can't find tcl.h" 1>&2; exit 1; }
fi
! ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for tk.h""... $ac_c" 1>&6
! echo "configure:6723: checking for tk.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6728 "configure"
#include "confdefs.h"
#include <tk.h>
! EOF
! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=yes"
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=no"
fi
! rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
! echo "$ac_t""yes" 1>&6
:
else
! echo "$ac_t""no" 1>&6
! { echo "configure: error: Can't find tk.h" 1>&2; exit 1; }
fi
LIBS="$LIBS $X_LIBS"
! echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
! echo "configure:6758: checking for main in -lX11" >&5
! ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lX11 $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6766 "configure"
#include "confdefs.h"
! int main() {
! main()
! ; return 0; }
! EOF
! if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo X11 | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-lX11 $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
! echo "configure:6802: checking for main in -lm" >&5
! ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6810 "configure"
#include "confdefs.h"
- int main() {
- main()
- ; return 0; }
- EOF
- if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
- fi
- rm -f conftest*
- LIBS="$ac_save_LIBS"
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-lm $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
--- 8674,9006 ----
CPPFLAGS="$TCLTK_INCLUDE $TK_INCLUDE $CPPFLAGS"
CFLAGS="$TCLTK_LIBDIR $TK_LIBDIR $CFLAGS"
! if test "${ac_cv_header_tcl_h+set}" = set; then
! echo "$as_me:$LINENO: checking for tcl.h" >&5
! echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6
! if test "${ac_cv_header_tcl_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5
! echo "${ECHO_T}$ac_cv_header_tcl_h" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking tcl.h usability" >&5
! echo $ECHO_N "checking tcl.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ $ac_includes_default
#include <tcl.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking tcl.h presence" >&5
! echo $ECHO_N "checking tcl.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <tcl.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: tcl.h: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: tcl.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: tcl.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: tcl.h: present but cannot be compiled"
>&5
! echo "$as_me: WARNING: tcl.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: tcl.h: check for missing prerequisite
headers?" >&5
! echo "$as_me: WARNING: tcl.h: check for missing prerequisite headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: tcl.h: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: tcl.h: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for tcl.h" >&5
! echo $ECHO_N "checking for tcl.h... $ECHO_C" >&6
! if test "${ac_cv_header_tcl_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_tcl_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_tcl_h" >&5
! echo "${ECHO_T}$ac_cv_header_tcl_h" >&6
!
fi
! if test $ac_cv_header_tcl_h = yes; then
:
else
! { { echo "$as_me:$LINENO: error: Can't find tcl.h" >&5
! echo "$as_me: error: Can't find tcl.h" >&2;}
! { (exit 1); exit 1; }; }
fi
!
! if test "${ac_cv_header_tk_h+set}" = set; then
! echo "$as_me:$LINENO: checking for tk.h" >&5
! echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
! if test "${ac_cv_header_tk_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
! echo "${ECHO_T}$ac_cv_header_tk_h" >&6
else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking tk.h usability" >&5
! echo $ECHO_N "checking tk.h usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+ $ac_includes_default
#include <tk.h>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking tk.h presence" >&5
! echo $ECHO_N "checking tk.h presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <tk.h>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: tk.h: accepted by the compiler, rejected
by the preprocessor!" >&5
! echo "$as_me: WARNING: tk.h: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's
result" >&5
! echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: tk.h: present but cannot be compiled" >&5
! echo "$as_me: WARNING: tk.h: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: tk.h: check for missing prerequisite
headers?" >&5
! echo "$as_me: WARNING: tk.h: check for missing prerequisite headers?" >&2;}
! { echo "$as_me:$LINENO: WARNING: tk.h: proceeding with the preprocessor's
result" >&5
! echo "$as_me: WARNING: tk.h: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for tk.h" >&5
! echo $ECHO_N "checking for tk.h... $ECHO_C" >&6
! if test "${ac_cv_header_tk_h+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! ac_cv_header_tk_h=$ac_header_preproc
! fi
! echo "$as_me:$LINENO: result: $ac_cv_header_tk_h" >&5
! echo "${ECHO_T}$ac_cv_header_tk_h" >&6
!
fi
! if test $ac_cv_header_tk_h = yes; then
:
else
! { { echo "$as_me:$LINENO: error: Can't find tk.h" >&5
! echo "$as_me: error: Can't find tk.h" >&2;}
! { (exit 1); exit 1; }; }
fi
+
LIBS="$LIBS $X_LIBS"
!
! echo "$as_me:$LINENO: checking for main in -lX11" >&5
! echo $ECHO_N "checking for main in -lX11... $ECHO_C" >&6
! if test "${ac_cv_lib_X11_main+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lX11 $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
!
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_X11_main=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_X11_main=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_X11_main" >&5
! echo "${ECHO_T}$ac_cv_lib_X11_main" >&6
! if test $ac_cv_lib_X11_main = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBX11 1
! _ACEOF
LIBS="-lX11 $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for main in -lm" >&5
! echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
! if test "${ac_cv_lib_m_main+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lm $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_m_main=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_m_main=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
! echo "${ECHO_T}$ac_cv_lib_m_main" >&6
! if test $ac_cv_lib_m_main = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBM 1
! _ACEOF
LIBS="-lm $LIBS"
fi
***************
*** 6846,7065 ****
### - the socket library, -lsocket
### - the network socket layer(?) library, -lnsl
### So we need to check for those.
! echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:6851: checking for dlopen in -ldl" >&5
! ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6859 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen();
!
! int main() {
! dlopen()
! ; return 0; }
! EOF
! if { (eval echo configure:6870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-ldl $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
! echo "configure:6898: checking for main in -lsocket" >&5
! ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6906 "configure"
#include "confdefs.h"
- int main() {
- main()
- ; return 0; }
- EOF
- if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
- fi
- rm -f conftest*
- LIBS="$ac_save_LIBS"
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-lsocket $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
! echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
! echo "configure:6941: checking for main in -lnsl" >&5
! ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 6949 "configure"
#include "confdefs.h"
- int main() {
- main()
- ; return 0; }
- EOF
- if { (eval echo configure:6956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
- fi
- rm -f conftest*
- LIBS="$ac_save_LIBS"
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-lnsl $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
! for ac_hdr in unistd.h
do
! ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
! echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:6988: checking for $ac_hdr" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 6993 "configure"
! #include "confdefs.h"
! #include <$ac_hdr>
! EOF
! ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:6998: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
! ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
! if test -z "$ac_err"; then
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=yes"
else
! echo "$ac_err" >&5
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_header_$ac_safe=no"
fi
! rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_hdr=HAVE_`echo $ac_hdr | sed
'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_hdr 1
! EOF
!
! else
! echo "$ac_t""no" 1>&6
fi
done
### Make sure Guile is installed.
for ac_prog in guile-config build-guile
do
! # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
! echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:7031: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_path_GUILE_CONFIG'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! case "$GUILE_CONFIG" in
! /*)
ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test
with a path.
;;
- ?:/*)
- ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test
with a dos path.
- ;;
*)
! IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
! ac_dummy="$PATH"
! for ac_dir in $ac_dummy; do
! test -z "$ac_dir" && ac_dir=.
! if test -f $ac_dir/$ac_word; then
! ac_cv_path_GUILE_CONFIG="$ac_dir/$ac_word"
! break
! fi
! done
! IFS="$ac_save_ifs"
;;
esac
fi
! GUILE_CONFIG="$ac_cv_path_GUILE_CONFIG"
if test -n "$GUILE_CONFIG"; then
! echo "$ac_t""$GUILE_CONFIG" 1>&6
else
! echo "$ac_t""no" 1>&6
fi
! test -n "$GUILE_CONFIG" && break
done
test -n "$GUILE_CONFIG" || GUILE_CONFIG="no"
--- 9009,9338 ----
### - the socket library, -lsocket
### - the network socket layer(?) library, -lnsl
### So we need to check for those.
!
! echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char dlopen ();
! int
! main ()
! {
! dlopen ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_dl_dlopen=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_dl_dlopen=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! if test $ac_cv_lib_dl_dlopen = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBDL 1
! _ACEOF
LIBS="-ldl $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for main in -lsocket" >&5
! echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
! if test "${ac_cv_lib_socket_main+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lsocket $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_socket_main=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_socket_main=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
! echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
! if test $ac_cv_lib_socket_main = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBSOCKET 1
! _ACEOF
LIBS="-lsocket $LIBS"
fi
!
! echo "$as_me:$LINENO: checking for main in -lnsl" >&5
! echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
! if test "${ac_cv_lib_nsl_main+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-lnsl $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
! int
! main ()
! {
! main ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_cv_lib_nsl_main=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_lib_nsl_main=no
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
! echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
! if test $ac_cv_lib_nsl_main = yes; then
! cat >>confdefs.h <<_ACEOF
! #define HAVE_LIBNSL 1
! _ACEOF
LIBS="-lnsl $LIBS"
fi
!
! for ac_header in unistd.h
do
! as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! else
! # Is the header compilable?
! echo "$as_me:$LINENO: checking $ac_header usability" >&5
! echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! $ac_includes_default
! #include <$ac_header>
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! ac_header_compiler=yes
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_compiler=no
! fi
! rm -f conftest.$ac_objext conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! echo "${ECHO_T}$ac_header_compiler" >&6
!
! # Is the header present?
! echo "$as_me:$LINENO: checking $ac_header presence" >&5
! echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! #include <$ac_header>
! _ACEOF
! if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! ac_status=$?
! grep -v '^ *+' conftest.er1 >conftest.err
! rm -f conftest.er1
! cat conftest.err >&5
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } >/dev/null; then
! if test -s conftest.err; then
! ac_cpp_err=$ac_c_preproc_warn_flag
! else
! ac_cpp_err=
! fi
else
! ac_cpp_err=yes
! fi
! if test -z "$ac_cpp_err"; then
! ac_header_preproc=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_header_preproc=no
! fi
! rm -f conftest.err conftest.$ac_ext
! echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! echo "${ECHO_T}$ac_header_preproc" >&6
!
! # So? What about this header?
! case $ac_header_compiler:$ac_header_preproc in
! yes:no )
! { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler,
rejected by the preprocessor!" >&5
! echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the
preprocessor!" >&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! no:yes )
! { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be
compiled" >&5
! echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing
prerequisite headers?" >&5
! echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?"
>&2;}
! { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the
preprocessor's result" >&5
! echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result"
>&2;};;
! esac
! echo "$as_me:$LINENO: checking for $ac_header" >&5
! echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Header+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! eval "$as_ac_Header=$ac_header_preproc"
fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
!
fi
! if test `eval echo '${'$as_ac_Header'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! _ACEOF
!
fi
+
done
### Make sure Guile is installed.
for ac_prog in guile-config build-guile
do
! # Extract the first word of "$ac_prog", so it can be a program name with
args.
set dummy $ac_prog; ac_word=$2
! echo "$as_me:$LINENO: checking for $ac_word" >&5
! echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! case $GUILE_CONFIG in
! [\\/]* | ?:[\\/]*)
ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test
with a path.
;;
*)
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for ac_exec_ext in '' $ac_executable_extensions; do
! if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
! echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! break 2
! fi
! done
! done
!
;;
esac
fi
! GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
!
if test -n "$GUILE_CONFIG"; then
! echo "$as_me:$LINENO: result: $GUILE_CONFIG" >&5
! echo "${ECHO_T}$GUILE_CONFIG" >&6
else
! echo "$as_me:$LINENO: result: no" >&5
! echo "${ECHO_T}no" >&6
fi
! test -n "$GUILE_CONFIG" && break
done
test -n "$GUILE_CONFIG" || GUILE_CONFIG="no"
***************
*** 7069,7249 ****
exit 2
}
! echo $ac_n "checking for two argument scm_mutex_init""... $ac_c" 1>&6
! echo "configure:7074: checking for two argument scm_mutex_init" >&5
! if eval "test \"`echo '$''{'ac_cv_func_scm_mutex_init_two_args'+set}'`\" =
set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 7079 "configure"
#include "confdefs.h"
#include <libguile.h>
! int main() {
scm_mutex_init (NULL, NULL);
! ; return 0; }
! EOF
! if { (eval echo configure:7086: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
ac_cv_func_scm_mutex_init_two_args=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_cv_func_scm_mutex_init_two_args=no
fi
! rm -f conftest*
fi
!
! echo "$ac_t""$ac_cv_func_scm_mutex_init_two_args" 1>&6
if test "$ac_cv_func_scm_mutex_init_two_args" = "yes"; then
! cat >> confdefs.h <<\EOF
#define SCM_MUTEX_INIT_TWO_ARGS 1
! EOF
fi
if test -n "$with_tcl"; then
TCLNAME=$with_tcl
! echo $ac_n "checking for Tcl_CreateInterp in -l$TCLNAME""... $ac_c" 1>&6
! echo "configure:7109: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! ac_lib_var=`echo $TCLNAME'_'Tcl_CreateInterp | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TCLNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7117 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp();
!
! int main() {
! Tcl_CreateInterp()
! ; return 0; }
! EOF
! if { (eval echo configure:7128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TCLNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TCLNAME $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
else
TCLNAME=tcl7.6
! echo $ac_n "checking for Tcl_CreateInterp in -l$TCLNAME""... $ac_c" 1>&6
! echo "configure:7158: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! ac_lib_var=`echo $TCLNAME'_'Tcl_CreateInterp | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TCLNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7166 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp();
!
! int main() {
! Tcl_CreateInterp()
! ; return 0; }
! EOF
! if { (eval echo configure:7177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TCLNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TCLNAME $LIBS"
else
! echo "$ac_t""no" 1>&6
! TCLNAME=tcl7.5
! echo $ac_n "checking for Tcl_CreateInterp in -l$TCLNAME""... $ac_c" 1>&6
! echo "configure:7204: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! ac_lib_var=`echo $TCLNAME'_'Tcl_CreateInterp | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TCLNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7212 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp();
!
! int main() {
! Tcl_CreateInterp()
! ; return 0; }
! EOF
! if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TCLNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TCLNAME $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
fi
--- 9342,9576 ----
exit 2
}
! echo "$as_me:$LINENO: checking for two argument scm_mutex_init" >&5
! echo $ECHO_N "checking for two argument scm_mutex_init... $ECHO_C" >&6
! if test "${ac_cv_func_scm_mutex_init_two_args+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <libguile.h>
! int
! main ()
! {
scm_mutex_init (NULL, NULL);
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
ac_cv_func_scm_mutex_init_two_args=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_func_scm_mutex_init_two_args=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_func_scm_mutex_init_two_args" >&5
! echo "${ECHO_T}$ac_cv_func_scm_mutex_init_two_args" >&6
if test "$ac_cv_func_scm_mutex_init_two_args" = "yes"; then
!
! cat >>confdefs.h <<\_ACEOF
#define SCM_MUTEX_INIT_TWO_ARGS 1
! _ACEOF
fi
if test -n "$with_tcl"; then
TCLNAME=$with_tcl
!
! as_ac_Lib=`echo "ac_cv_lib_$TCLNAME''_Tcl_CreateInterp" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! echo $ECHO_N "checking for Tcl_CreateInterp in -l$TCLNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TCLNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp ();
! int
! main ()
! {
! Tcl_CreateInterp ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TCLNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TCLNAME $LIBS"
fi
else
TCLNAME=tcl7.6
!
! as_ac_Lib=`echo "ac_cv_lib_$TCLNAME''_Tcl_CreateInterp" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! echo $ECHO_N "checking for Tcl_CreateInterp in -l$TCLNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TCLNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp ();
! int
! main ()
! {
! Tcl_CreateInterp ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TCLNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TCLNAME $LIBS"
else
! TCLNAME=tcl7.5
!
! as_ac_Lib=`echo "ac_cv_lib_$TCLNAME''_Tcl_CreateInterp" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tcl_CreateInterp in -l$TCLNAME" >&5
! echo $ECHO_N "checking for Tcl_CreateInterp in -l$TCLNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TCLNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tcl_CreateInterp ();
! int
! main ()
! {
! Tcl_CreateInterp ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TCLNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TCLNAME $LIBS"
fi
fi
***************
*** 7252,7397 ****
if test -n "$with_tk"; then
TKNAME=$with_tk
! echo $ac_n "checking for Tk_Init in -l$TKNAME""... $ac_c" 1>&6
! echo "configure:7257: checking for Tk_Init in -l$TKNAME" >&5
! ac_lib_var=`echo $TKNAME'_'Tk_Init | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TKNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7265 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init();
!
! int main() {
! Tk_Init()
! ; return 0; }
! EOF
! if { (eval echo configure:7276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TKNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TKNAME $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
else
TKNAME=tk4.2
! echo $ac_n "checking for Tk_Init in -l$TKNAME""... $ac_c" 1>&6
! echo "configure:7306: checking for Tk_Init in -l$TKNAME" >&5
! ac_lib_var=`echo $TKNAME'_'Tk_Init | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TKNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7314 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init();
!
! int main() {
! Tk_Init()
! ; return 0; }
! EOF
! if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TKNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TKNAME $LIBS"
else
! echo "$ac_t""no" 1>&6
! TKNAME=tk4.1
! echo $ac_n "checking for Tk_Init in -l$TKNAME""... $ac_c" 1>&6
! echo "configure:7352: checking for Tk_Init in -l$TKNAME" >&5
! ac_lib_var=`echo $TKNAME'_'Tk_Init | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! ac_save_LIBS="$LIBS"
LIBS="-l$TKNAME $LIBS"
! cat > conftest.$ac_ext <<EOF
! #line 7360 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init();
!
! int main() {
! Tk_Init()
! ; return 0; }
! EOF
! if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_lib_$ac_lib_var=no"
! fi
! rm -f conftest*
! LIBS="$ac_save_LIBS"
!
! fi
! if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! ac_tr_lib=HAVE_LIB`echo $TKNAME | sed -e 's/[^a-zA-Z0-9_]/_/g' \
! -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
! cat >> confdefs.h <<EOF
! #define $ac_tr_lib 1
! EOF
LIBS="-l$TKNAME $LIBS"
- else
- echo "$ac_t""no" 1>&6
fi
fi
--- 9579,9764 ----
if test -n "$with_tk"; then
TKNAME=$with_tk
!
! as_ac_Lib=`echo "ac_cv_lib_$TKNAME''_Tk_Init" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tk_Init in -l$TKNAME" >&5
! echo $ECHO_N "checking for Tk_Init in -l$TKNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TKNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init ();
! int
! main ()
! {
! Tk_Init ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TKNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TKNAME $LIBS"
fi
else
TKNAME=tk4.2
!
! as_ac_Lib=`echo "ac_cv_lib_$TKNAME''_Tk_Init" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tk_Init in -l$TKNAME" >&5
! echo $ECHO_N "checking for Tk_Init in -l$TKNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TKNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init ();
! int
! main ()
! {
! Tk_Init ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TKNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TKNAME $LIBS"
else
! TKNAME=tk4.1
!
! as_ac_Lib=`echo "ac_cv_lib_$TKNAME''_Tk_Init" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for Tk_Init in -l$TKNAME" >&5
! echo $ECHO_N "checking for Tk_Init in -l$TKNAME... $ECHO_C" >&6
! if eval "test \"\${$as_ac_Lib+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! ac_check_lib_save_LIBS=$LIBS
LIBS="-l$TKNAME $LIBS"
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
+
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char Tk_Init ();
! int
! main ()
! {
! Tk_Init ();
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_Lib=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_Lib=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! LIBS=$ac_check_lib_save_LIBS
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
! if test `eval echo '${'$as_ac_Lib'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_LIB$TKNAME" | $as_tr_cpp` 1
! _ACEOF
LIBS="-l$TKNAME $LIBS"
fi
fi
***************
*** 7409,7557 ****
;;
esac
! cat > conftest.$ac_ext <<EOF
! #line 7414 "configure"
#include "confdefs.h"
#include "tcl.h"
! int main() {
Tcl_File x;
! ; return 0; }
! EOF
! if { (eval echo configure:7421: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
:
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
!
echo "Tcl/Tk seems to be of a too old or too new version."
echo "Please use 7.6/4.2 or 7.5/4.1"
exit 2
fi
! rm -f conftest*
## First, let's just see if we can find Guile at all.
! echo $ac_n "checking for Guile""... $ac_c" 1>&6
! echo "configure:7438: checking for Guile" >&5
guile-config link > /dev/null || {
echo "configure: cannot find guile-config; is Guile installed?" 1>&2
exit 1
}
GUILE_CFLAGS="`guile-config compile`"
GUILE_LDFLAGS="`guile-config link`"
!
!
! echo "$ac_t""yes" 1>&6
guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
for ac_func in scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr
do
! echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:7456: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 7461 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func();
!
! int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
! ; return 0; }
! EOF
! if { (eval echo configure:7484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
&& test -s conftest${ac_exeext}; then
! rm -rf conftest*
! eval "ac_cv_func_$ac_func=yes"
! else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! eval "ac_cv_func_$ac_func=no"
! fi
! rm -f conftest*
! fi
- if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz'
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_func 1
- EOF
-
- else
- echo "$ac_t""no" 1>&6
fi
done
! echo $ac_n "checking for scm_t_bits""... $ac_c" 1>&6
! echo "configure:7509: checking for scm_t_bits" >&5
! if eval "test \"`echo '$''{'ac_cv_have_scm_t_bits'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
else
! cat > conftest.$ac_ext <<EOF
! #line 7514 "configure"
#include "confdefs.h"
#include <libguile.h>
! int main() {
scm_t_bits a;
! ; return 0; }
! EOF
! if { (eval echo configure:7521: \"$ac_compile\") 1>&5; (eval $ac_compile)
2>&5; }; then
! rm -rf conftest*
ac_cv_have_scm_t_bits=yes
else
! echo "configure: failed program was:" >&5
! cat conftest.$ac_ext >&5
! rm -rf conftest*
! ac_cv_have_scm_t_bits=no
fi
! rm -f conftest*
fi
! echo "$ac_t""$ac_cv_have_scm_t_bits" 1>&6
! if test $ac_cv_have_scm_t_bits = yes; then
! cat >> confdefs.h <<\EOF
#define HAVE_SCM_T_BITS 1
! EOF
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS"
### Add the Guile libraries to the link command.
GUILE_LIBS="$GUILE_LDFLAGS"
! case "$GUILE_LIBS" in
! *-lqthreads* )
! LIBOBJS="tclUnixNotfy.o $LIBOBJS"
! ## If we're creating a shared library (using libtool!), then we'll
! ## need to generate a list of .lo files corresponding to the .o files
! ## given in LIBOBJS. We'll call it LIBLOBJS.
! LIBLOBJS="`echo ${LIBOBJS} | sed 's/\.o/.lo/g'`"
! ;;
! esac
TCLTKDIR="`$GUILE_CONFIG info pkgdatadir`/tcltk"
--- 9776,10046 ----
;;
esac
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include "tcl.h"
! int
! main ()
! {
Tcl_File x;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
:
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
!
echo "Tcl/Tk seems to be of a too old or too new version."
echo "Please use 7.6/4.2 or 7.5/4.1"
exit 2
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
## First, let's just see if we can find Guile at all.
! echo "$as_me:$LINENO: checking for Guile" >&5
! echo $ECHO_N "checking for Guile... $ECHO_C" >&6
guile-config link > /dev/null || {
echo "configure: cannot find guile-config; is Guile installed?" 1>&2
exit 1
}
GUILE_CFLAGS="`guile-config compile`"
GUILE_LDFLAGS="`guile-config link`"
!
!
! echo "$as_me:$LINENO: result: yes" >&5
! echo "${ECHO_T}yes" >&6
guile_compat_save_CFLAGS="$CFLAGS"
! guile_compat_save_LIBS="$LIBS"
! CFLAGS="$GUILE_CFLAGS"
! LIBS="$GUILE_LDFLAGS"
!
!
!
!
!
!
!
!
for ac_func in scm_c_define_module scm_c_read_string scm_gc_protect_object
scm_list_1 scm_c_register_extension scm_make_real scm_num2double
scm_c_define_gsubr
do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+ extern "C"
+ #endif
/* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
+ int
+ main ()
+ {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
fi
done
! echo "$as_me:$LINENO: checking for scm_t_bits" >&5
! echo $ECHO_N "checking for scm_t_bits... $ECHO_C" >&6
! if test "${ac_cv_have_scm_t_bits+set}" = set; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
#include "confdefs.h"
#include <libguile.h>
! int
! main ()
! {
scm_t_bits a;
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext
! if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! (eval $ac_compile) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest.$ac_objext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
ac_cv_have_scm_t_bits=yes
else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! ac_cv_have_scm_t_bits=no
fi
! rm -f conftest.$ac_objext conftest.$ac_ext
fi
! echo "$as_me:$LINENO: result: $ac_cv_have_scm_t_bits" >&5
! echo "${ECHO_T}$ac_cv_have_scm_t_bits" >&6
! if test $ac_cv_have_scm_t_bits = yes; then
! cat >>confdefs.h <<\_ACEOF
#define HAVE_SCM_T_BITS 1
! _ACEOF
! fi
! LIBS="$guile_compat_save_LIBS"
! CFLAGS="$guile_compat_save_CFLAGS"
### Add the Guile libraries to the link command.
GUILE_LIBS="$GUILE_LDFLAGS"
! saved_LIBS="$LIBS"
! LIBS="$GUILE_LIBS $LIBS"
!
!
! for ac_func in scm_internal_select
! do
! as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! echo "$as_me:$LINENO: checking for $ac_func" >&5
! echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! if eval "test \"\${$as_ac_var+set}\" = set"; then
! echo $ECHO_N "(cached) $ECHO_C" >&6
! else
! cat >conftest.$ac_ext <<_ACEOF
! #line $LINENO "configure"
! #include "confdefs.h"
! /* System header to define __stub macros and hopefully few prototypes,
! which can conflict with char $ac_func (); below. */
! #include <assert.h>
! /* Override any gcc2 internal prototype to avoid an error. */
! #ifdef __cplusplus
! extern "C"
! #endif
! /* We use char because int might match the return type of a gcc2
! builtin and then its argument prototype would still apply. */
! char $ac_func ();
! char (*f) ();
!
! int
! main ()
! {
! /* The GNU C library defines this for functions which it implements
! to always fail with ENOSYS. Some functions are actually named
! something starting with __ and the normal name is an alias. */
! #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! choke me
! #else
! f = $ac_func;
! #endif
!
! ;
! return 0;
! }
! _ACEOF
! rm -f conftest.$ac_objext conftest$ac_exeext
! if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! (eval $ac_link) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); } &&
! { ac_try='test -s conftest$ac_exeext'
! { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! (eval $ac_try) 2>&5
! ac_status=$?
! echo "$as_me:$LINENO: \$? = $ac_status" >&5
! (exit $ac_status); }; }; then
! eval "$as_ac_var=yes"
! else
! echo "$as_me: failed program was:" >&5
! cat conftest.$ac_ext >&5
! eval "$as_ac_var=no"
! fi
! rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! fi
! echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! if test `eval echo '${'$as_ac_var'}'` = yes; then
! cat >>confdefs.h <<_ACEOF
! #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! _ACEOF
!
! fi
! done
!
!
! LIBS="$saved_LIBS"
!
! if test "$ac_cv_func_scm_internal_select" = "yes"; then
! LIBOBJS="$LIBOBJS tclUnixNotfy.$ac_objext"
! LIBLOBJS=tclUnixNotfy.lo
! fi
TCLTKDIR="`$GUILE_CONFIG info pkgdatadir`/tcltk"
***************
*** 7559,7879 ****
! trap '' 1 2 15
! cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
! # scripts and configure runs. It is not useful on other systems.
! # If it contains results you don't want to keep, you may remove or edit it.
! #
! # By default, configure uses ./config.cache as the cache file,
! # creating it if it does not exist already. You can give configure
! # the --cache-file=FILE option to use a different cache file; that is
! # what configure does when it calls configure scripts in
! # subdirectories, so they share the cache.
! # Giving --cache-file=/dev/null disables caching, for debugging configure.
! # config.status only pays attention to the cache file if you give it the
! # --recheck option to rerun configure.
! #
! EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
! (set) 2>&1 |
! case `(ac_space=' '; set | grep ac_space) 2>&1` in
! *ac_space=\ *)
! # `set' does not quote correctly, so add quotes (double-quote substitution
! # turns \\\\ into \\, and sed turns \\ into \).
! sed -n \
! -e "s/'/'\\\\''/g" \
! -e
"s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
! ;;
! *)
! # `set' quotes correctly as required by POSIX, so do not add quotes.
! sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
! ;;
! esac >> confcache
! if cmp -s $cache_file confcache; then
! :
! else
if test -w $cache_file; then
! echo "updating cache $cache_file"
! cat confcache > $cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
- trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1'
1 2 15
-
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! # Any assignment to VPATH causes Sun make to only execute
! # the first set of double-colon rules, so remove it if not needed.
! # If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
! ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
fi
- trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
-
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
! cat > conftest.defs <<\EOF
! s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
! s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
! s%\[%\\&%g
! s%\]%\\&%g
! s%\$%$$%g
! EOF
! DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
! rm -f conftest.defs
- # Without the "./", some shells look in PATH for config.status.
- : ${CONFIG_STATUS=./config.status}
! echo creating $CONFIG_STATUS
! rm -f $CONFIG_STATUS
! cat > $CONFIG_STATUS <<EOF
! #! /bin/sh
! # Generated automatically by configure.
# Run this file to recreate the current configuration.
- # This directory was configured as follows,
- # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
- #
- # $0 $ac_configure_args
- #
# Compiler output produced by configure, useful for debugging
! # configure, is in ./config.log if it exists.
! ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
! for ac_option
do
! case "\$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create
--no-recursion"
! exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create
--no-recursion ;;
! -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.13"
! exit 0 ;;
! -help | --help | --hel | --he | --h)
! echo "\$ac_cs_usage"; exit 0 ;;
! *) echo "\$ac_cs_usage"; exit 1 ;;
esac
done
! ac_given_srcdir=$srcdir
! ac_given_INSTALL="$INSTALL"
! trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
! EOF
! cat >> $CONFIG_STATUS <<EOF
! # Protect against being on the right side of a sed subst in config.status.
! sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
! s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
! $ac_vpsub
! $extrasub
! address@hidden@%$SHELL%g
! address@hidden@%$CFLAGS%g
! address@hidden@%$CPPFLAGS%g
! address@hidden@%$CXXFLAGS%g
! address@hidden@%$FFLAGS%g
! address@hidden@%$DEFS%g
! address@hidden@%$LDFLAGS%g
! address@hidden@%$LIBS%g
! address@hidden@%$exec_prefix%g
! address@hidden@%$prefix%g
! address@hidden@%$program_transform_name%g
! address@hidden@%$bindir%g
! address@hidden@%$sbindir%g
! address@hidden@%$libexecdir%g
! address@hidden@%$datadir%g
! address@hidden@%$sysconfdir%g
! address@hidden@%$sharedstatedir%g
! address@hidden@%$localstatedir%g
! address@hidden@%$libdir%g
! address@hidden@%$includedir%g
! address@hidden@%$oldincludedir%g
! address@hidden@%$infodir%g
! address@hidden@%$mandir%g
! address@hidden@%$INSTALL_PROGRAM%g
! address@hidden@%$INSTALL_SCRIPT%g
! address@hidden@%$INSTALL_DATA%g
! address@hidden@%$PACKAGE%g
! address@hidden@%$VERSION%g
! address@hidden@%$EXEEXT%g
! address@hidden@%$OBJEXT%g
! address@hidden@%$ACLOCAL%g
! address@hidden@%$AUTOCONF%g
! address@hidden@%$AUTOMAKE%g
! address@hidden@%$AUTOHEADER%g
! address@hidden@%$MAKEINFO%g
! address@hidden@%$AMTAR%g
! address@hidden@%$install_sh%g
! address@hidden@%$INSTALL_STRIP_PROGRAM%g
! address@hidden@%$AWK%g
! address@hidden@%$SET_MAKE%g
! address@hidden@%$AMDEP_TRUE%g
! address@hidden@%$AMDEP_FALSE%g
! address@hidden@%$AMDEPBACKSLASH%g
! address@hidden@%$DEPDIR%g
! address@hidden@%$MAINTAINER_MODE_TRUE%g
! address@hidden@%$MAINTAINER_MODE_FALSE%g
! address@hidden@%$MAINT%g
! address@hidden@%$CC%g
! address@hidden@%$am__include%g
! address@hidden@%$am__quote%g
! address@hidden@%$CCDEPMODE%g
! address@hidden@%$CPP%g
! address@hidden@%$host%g
! address@hidden@%$host_alias%g
! address@hidden@%$host_cpu%g
! address@hidden@%$host_vendor%g
! address@hidden@%$host_os%g
! address@hidden@%$build%g
! address@hidden@%$build_alias%g
! address@hidden@%$build_cpu%g
! address@hidden@%$build_vendor%g
! address@hidden@%$build_os%g
! address@hidden@%$LN_S%g
! address@hidden@%$ECHO%g
! address@hidden@%$RANLIB%g
! address@hidden@%$STRIP%g
! address@hidden@%$LIBTOOL%g
! address@hidden@%$X_CFLAGS%g
! address@hidden@%$X_PRE_LIBS%g
! address@hidden@%$X_LIBS%g
! address@hidden@%$X_EXTRA_LIBS%g
! address@hidden@%$GUILE_CONFIG%g
! address@hidden@%$GUILE_CFLAGS%g
! address@hidden@%$GUILE_LDFLAGS%g
! address@hidden@%$GUILE_LIBS%g
! address@hidden@%$LIBLOBJS%g
! address@hidden@%$TCLTKDIR%g
! address@hidden@%$TCL_EXTRA_LIBS%g
CEOF
- EOF
! cat >> $CONFIG_STATUS <<\EOF
! # Split the substitutions into bite-sized pieces for seds with
! # small command number limits, like on Digital OSF/1 and HP-UX.
! ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
! ac_file=1 # Number of current file.
! ac_beg=1 # First line for current file.
! ac_end=$ac_max_sed_cmds # Line after last line for current file.
! ac_more_lines=:
! ac_sed_cmds=""
! while $ac_more_lines; do
! if test $ac_beg -gt 1; then
! sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
! else
! sed "${ac_end}q" conftest.subs > conftest.s$ac_file
! fi
! if test ! -s conftest.s$ac_file; then
! ac_more_lines=false
! rm -f conftest.s$ac_file
! else
! if test -z "$ac_sed_cmds"; then
! ac_sed_cmds="sed -f conftest.s$ac_file"
else
! ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
! ac_file=`expr $ac_file + 1`
! ac_beg=$ac_end
! ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
! done
! if test -z "$ac_sed_cmds"; then
! ac_sed_cmds=cat
! fi
! EOF
!
! cat >> $CONFIG_STATUS <<EOF
! CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
! EOF
! cat >> $CONFIG_STATUS <<\EOF
! for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! case "$ac_file" in
! *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
! ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
! *) ac_file_in="${ac_file}.in" ;;
! esac
!
! # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
!
! # Remove last slash and all that follows it. Not all systems have dirname.
! ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
! if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
! # The file is in a subdirectory.
! test ! -d "$ac_dir" && mkdir "$ac_dir"
! ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
! # A "../" for each directory in $ac_dir_suffix.
! ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
! else
! ac_dir_suffix= ac_dots=
! fi
!
! case "$ac_given_srcdir" in
! .) srcdir=.
! if test -z "$ac_dots"; then top_srcdir=.
! else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
! /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir"
;;
*) # Relative path.
! srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
! top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
! case "$ac_given_INSTALL" in
! [/$]*) INSTALL="$ac_given_INSTALL" ;;
! *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
! esac
!
! echo creating "$ac_file"
! rm -f "$ac_file"
! configure_input="Generated automatically from `echo $ac_file_in|sed
's%.*/%%'` by configure."
! case "$ac_file" in
! *Makefile*) ac_comsub="1i\\
! # $configure_input" ;;
! *) ac_comsub= ;;
! esac
!
! ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:%
$ac_given_srcdir/%g"`
! sed -e "$ac_comsub
! address@hidden@%$configure_input%g
! address@hidden@%$srcdir%g
! address@hidden@%$top_srcdir%g
! address@hidden@%$INSTALL%g
! " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
! fi; done
! rm -f conftest.s*
! EOF
! cat >> $CONFIG_STATUS <<EOF
! AMDEP_TRUE="$AMDEP_TRUE"
! ac_aux_dir="$ac_aux_dir"
! EOF
! cat >> $CONFIG_STATUS <<\EOF
! test x"$AMDEP_TRUE" != x"" ||
! for mf in $CONFIG_FILES; do
! case "$mf" in
! Makefile) dirpart=.;;
! */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
! *) continue;;
! esac
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
--- 10048,11050 ----
! ac_config_files="$ac_config_files Makefile"
!
! cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
! # scripts and configure runs, see configure's option --config-cache.
! # It is not useful on other systems. If it contains results you don't
! # want to keep, you may remove or edit it.
! #
! # config.status only pays attention to the cache file if you give it
! # the --recheck option to rerun configure.
! #
! # `ac_cv_env_foo' variables (set or unset) will be overridden when
! # loading this file, other *unset* `ac_cv_foo' will be assigned the
! # following values.
!
! _ACEOF
!
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
! {
! (set) 2>&1 |
! case `(ac_space=' '; set | grep ac_space) 2>&1` in
! *ac_space=\ *)
! # `set' does not quote correctly, so add quotes (double-quote
! # substitution turns \\\\ into \\, and sed turns \\ into \).
! sed -n \
! "s/'/'\\\\''/g;
! s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! ;;
! *)
! # `set' quotes correctly as required by POSIX, so do not add quotes.
! sed -n \
! "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! ;;
! esac;
! } |
! sed '
! t clear
! : clear
! s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! t end
! /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! : end' >>confcache
! if cmp -s $cache_file confcache; then :; else
if test -w $cache_file; then
! test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! cat confcache >$cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! # VPATH may cause trouble with some makes, so we remove $(srcdir),
! # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! # trailing colons and then remove the whole line if VPATH becomes empty
! # (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
! ac_vpsub='/^[ ]*VPATH[ ]*=/{
! s/:*\$(srcdir):*/:/;
! s/:*\${srcdir}:*/:/;
! s/:address@hidden@:*/:/;
! s/^\([^=]*=[ ]*\):*/\1/;
! s/:*$//;
! s/^[^=]*=[ ]*$//;
! }'
fi
# Transform confdefs.h into DEFS.
# Protect against shell expansion while executing Makefile rules.
# Protect against Makefile macro expansion.
! #
! # If the first sed substitution is executed (which looks for macros that
! # take arguments), then we branch to the quote section. Otherwise,
! # look for a macro that doesn't take arguments.
! cat >confdef2opt.sed <<\_ACEOF
! t clear
! : clear
! s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[
]*\(.*\),-D\1=\2,g
! t quote
! s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[
]*\(.*\),-D\1=\2,g
! t quote
! d
! : quote
! s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
! s,\[,\\&,g
! s,\],\\&,g
! s,\$,$$,g
! p
! _ACEOF
! # We use echo to avoid assuming a particular line-breaking character.
! # The extra dot is to prevent the shell from consuming trailing
! # line-breaks from the sub-command output. A line-break within
! # single-quotes doesn't work because, if this script is created in a
! # platform that uses two characters for line-breaks (e.g., DOS), tr
! # would break.
! ac_LF_and_DOT=`echo; echo .`
! DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
! rm -f confdef2opt.sed
!
!
! ac_libobjs=
! ac_ltlibobjs=
! for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! # 1. Remove the extension, and $U if already installed.
! ac_i=`echo "$ac_i" |
! sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! # 2. Add them.
! ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! done
! LIBOBJS=$ac_libobjs
+ LTLIBOBJS=$ac_ltlibobjs
! if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}";
then
! { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never
defined.
! Usually this means the macro was only invoked conditionally." >&5
! echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
! Usually this means the macro was only invoked conditionally." >&2;}
! { (exit 1); exit 1; }; }
! fi
! if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! Usually this means the macro was only invoked conditionally." >&5
! echo "$as_me: error: conditional \"AMDEP\" was never defined.
! Usually this means the macro was only invoked conditionally." >&2;}
! { (exit 1); exit 1; }; }
! fi
! if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never
defined.
! Usually this means the macro was only invoked conditionally." >&5
! echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! Usually this means the macro was only invoked conditionally." >&2;}
! { (exit 1); exit 1; }; }
! fi
!
! : ${CONFIG_STATUS=./config.status}
! ac_clean_files_save=$ac_clean_files
! ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! echo "$as_me: creating $CONFIG_STATUS" >&6;}
! cat >$CONFIG_STATUS <<_ACEOF
! #! $SHELL
! # Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
! # configure, is in config.log if it exists.
! debug=false
! SHELL=\${CONFIG_SHELL-$SHELL}
! _ACEOF
!
! cat >>$CONFIG_STATUS <<\_ACEOF
! ## --------------------- ##
! ## M4sh Initialization. ##
! ## --------------------- ##
!
! # Be Bourne compatible
! if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! emulate sh
! NULLCMD=:
! # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! # is contrary to our usage. Disable this feature.
! alias -g '${1+"$@"}'='"$@"'
! elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! set -o posix
! fi
!
! # Support unset when possible.
! if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! as_unset=unset
! else
! as_unset=false
! fi
!
!
! # Work around bugs in pre-3.0 UWIN ksh.
! $as_unset ENV MAIL MAILPATH
! PS1='$ '
! PS2='> '
! PS4='+ '
!
! # NLS nuisances.
! for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES
LC_TIME
! do
! if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
! eval $as_var=C; export $as_var
! else
! $as_unset $as_var
! fi
! done
!
! # Required to use basename.
! if expr a : '\(a\)' >/dev/null 2>&1; then
! as_expr=expr
! else
! as_expr=false
! fi
!
! if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! as_basename=basename
! else
! as_basename=false
! fi
!
!
! # Name of the executable.
! as_me=`$as_basename "$0" ||
! $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! X"$0" : 'X\(//\)$' \| \
! X"$0" : 'X\(/\)$' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X/"$0" |
! sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! /^X\/\(\/\/\)$/{ s//\1/; q; }
! /^X\/\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
!
!
! # PATH needs CR, and LINENO needs CR and PATH.
! # Avoid depending upon Character Ranges.
! as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! as_cr_digits='0123456789'
! as_cr_alnum=$as_cr_Letters$as_cr_digits
!
! # The user is always right.
! if test "${PATH_SEPARATOR+set}" != set; then
! echo "#! /bin/sh" >conftest.sh
! echo "exit 0" >>conftest.sh
! chmod +x conftest.sh
! if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
! PATH_SEPARATOR=';'
! else
! PATH_SEPARATOR=:
! fi
! rm -f conftest.sh
! fi
!
!
! as_lineno_1=$LINENO
! as_lineno_2=$LINENO
! as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! test "x$as_lineno_1" != "x$as_lineno_2" &&
! test "x$as_lineno_3" = "x$as_lineno_2" || {
! # Find who we are. Look in the path if we contain no path at all
! # relative or not.
! case $0 in
! *[\\/]* ) as_myself=$0 ;;
! *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in $PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! done
!
! ;;
! esac
! # We did not find ourselves, most probably we were run as `sh COMMAND'
! # in which case we are not to be found in the path.
! if test "x$as_myself" = x; then
! as_myself=$0
! fi
! if test ! -f "$as_myself"; then
! { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an
absolute path" >&5
! echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! { (exit 1); exit 1; }; }
! fi
! case $CONFIG_SHELL in
! '')
! as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! do
! IFS=$as_save_IFS
! test -z "$as_dir" && as_dir=.
! for as_base in sh bash ksh sh5; do
! case $as_dir in
! /*)
! if ("$as_dir/$as_base" -c '
! as_lineno_1=$LINENO
! as_lineno_2=$LINENO
! as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! test "x$as_lineno_1" != "x$as_lineno_2" &&
! test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || {
BASH_ENV=; export BASH_ENV; }
! $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! CONFIG_SHELL=$as_dir/$as_base
! export CONFIG_SHELL
! exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! fi;;
! esac
! done
! done
! ;;
! esac
!
! # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! # uniformly replaced by the line number. The first 'sed' inserts a
! # line-number line before each line; the second 'sed' does the real
! # work. The second script uses 'N' to pair each line-number line
! # with the numbered line, and appends trailing '-' during
! # substitution so that $LINENO is not a special case at line end.
! # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! sed '=' <$as_myself |
! sed '
! N
! s,$,-,
! : loop
! s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! t loop
! s,-$,,
! s,^['$as_cr_digits']*\n,,
! ' >$as_me.lineno &&
! chmod +x $as_me.lineno ||
! { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with
a POSIX shell" >&5
! echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell"
>&2;}
! { (exit 1); exit 1; }; }
!
! # Don't try to exec as it changes $[0], causing all sort of problems
! # (the dirname of $[0] is not the place where we might find the
! # original and so on. Autoconf is especially sensible to this).
! . ./$as_me.lineno
! # Exit status is that of the last command.
! exit
! }
!
!
! case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! *c*,-n*) ECHO_N= ECHO_C='
! ' ECHO_T=' ' ;;
! *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! esac
!
! if expr a : '\(a\)' >/dev/null 2>&1; then
! as_expr=expr
! else
! as_expr=false
! fi
!
! rm -f conf$$ conf$$.exe conf$$.file
! echo >conf$$.file
! if ln -s conf$$.file conf$$ 2>/dev/null; then
! # We could just check for DJGPP; but this test a) works b) is more generic
! # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! if test -f conf$$.exe; then
! # Don't use ln at all; we don't have any links
! as_ln_s='cp -p'
! else
! as_ln_s='ln -s'
! fi
! elif ln conf$$.file conf$$ 2>/dev/null; then
! as_ln_s=ln
! else
! as_ln_s='cp -p'
! fi
! rm -f conf$$ conf$$.exe conf$$.file
!
! if mkdir -p . 2>/dev/null; then
! as_mkdir_p=:
! else
! as_mkdir_p=false
! fi
!
! as_executable_p="test -f"
!
! # Sed expression to map a string onto a valid CPP name.
! as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
!
! # Sed expression to map a string onto a valid variable name.
! as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
!
!
! # IFS
! # We need space, tab and new line, in precisely that order.
! as_nl='
! '
! IFS=" $as_nl"
!
! # CDPATH.
! $as_unset CDPATH
!
! exec 6>&1
!
! # Open the log real soon, to keep \$[0] and so on meaningful, and to
! # report actual input values of CONFIG_FILES etc. instead of their
! # values after options handling. Logging --version etc. is OK.
! exec 5>>config.log
! {
! echo
! sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! ## Running $as_me. ##
! _ASBOX
! } >&5
! cat >&5 <<_CSEOF
!
! This file was extended by $as_me, which was
! generated by GNU Autoconf 2.54. Invocation command line was
!
! CONFIG_FILES = $CONFIG_FILES
! CONFIG_HEADERS = $CONFIG_HEADERS
! CONFIG_LINKS = $CONFIG_LINKS
! CONFIG_COMMANDS = $CONFIG_COMMANDS
! $ $0 $@
!
! _CSEOF
! echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! echo >&5
! _ACEOF
!
! # Files that config.status was made for.
! if test -n "$ac_config_files"; then
! echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! fi
!
! if test -n "$ac_config_headers"; then
! echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! fi
!
! if test -n "$ac_config_links"; then
! echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! fi
!
! if test -n "$ac_config_commands"; then
! echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! fi
!
! cat >>$CONFIG_STATUS <<\_ACEOF
!
! ac_cs_usage="\
! \`$as_me' instantiates files from templates according to the
! current configuration.
!
! Usage: $0 [OPTIONS] [FILE]...
!
! -h, --help print this help, then exit
! -V, --version print version number, then exit
! -d, --debug don't remove temporary files
! --recheck update $as_me by reconfiguring in the same conditions
! --file=FILE[:TEMPLATE]
! instantiate the configuration file FILE
!
! Configuration files:
! $config_files
!
! Configuration commands:
! $config_commands
!
! Report bugs to <address@hidden>."
! _ACEOF
!
! cat >>$CONFIG_STATUS <<_ACEOF
! ac_cs_version="\\
! config.status
! configured by $0, generated by GNU Autoconf 2.54,
! with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
!
! Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! Free Software Foundation, Inc.
! This config.status script is free software; the Free Software Foundation
! gives unlimited permission to copy, distribute and modify it."
! srcdir=$srcdir
! INSTALL="$INSTALL"
! _ACEOF
!
! cat >>$CONFIG_STATUS <<\_ACEOF
! # If no file are specified by the user, then we need to provide default
! # value. By we need to know if files were specified by the user.
! ac_need_defaults=:
! while test $# != 0
do
! case $1 in
! --*=*)
! ac_option=`expr "x$1" : 'x\([^=]*\)='`
! ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! ac_shift=:
! ;;
! -*)
! ac_option=$1
! ac_optarg=$2
! ac_shift=shift
! ;;
! *) # This is not an option, so the user has probably given explicit
! # arguments.
! ac_option=$1
! ac_need_defaults=false;;
! esac
!
! case $ac_option in
! # Handling of the options.
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
! exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
! --version | --vers* | -V )
! echo "$ac_cs_version"; exit 0 ;;
! --he | --h)
! # Conflict between --help and --header
! { { echo "$as_me:$LINENO: error: ambiguous option: $1
! Try \`$0 --help' for more information." >&5
! echo "$as_me: error: ambiguous option: $1
! Try \`$0 --help' for more information." >&2;}
! { (exit 1); exit 1; }; };;
! --help | --hel | -h )
! echo "$ac_cs_usage"; exit 0 ;;
! --debug | --d* | -d )
! debug=: ;;
! --file | --fil | --fi | --f )
! $ac_shift
! CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! ac_need_defaults=false;;
! --header | --heade | --head | --hea )
! $ac_shift
! CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! ac_need_defaults=false;;
!
! # This is an error.
! -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! Try \`$0 --help' for more information." >&5
! echo "$as_me: error: unrecognized option: $1
! Try \`$0 --help' for more information." >&2;}
! { (exit 1); exit 1; }; } ;;
!
! *) ac_config_targets="$ac_config_targets $1" ;;
!
esac
+ shift
done
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
! #
! # INIT-COMMANDS section.
! #
! AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+ _ACEOF
+
+
+
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ for ac_config_target in $ac_config_targets
+ do
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+ echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+ done
+
+ # If the user did not use the arguments to specify the items to instantiate,
+ # then the envvar interface is used. Set only those that are not.
+ # We use the long form for the default assignment because of an extremely
+ # bizarre bug on SunOS 4.1.3.
+ if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+ fi
+
+ # Create a temporary directory, and hook for its removal unless debugging.
+ $debug ||
+ {
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+ }
+
+ # Create a (secure) tmp directory for tmp files.
+ : ${TMPDIR=/tmp}
+ {
+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+ } ||
+ {
+ tmp=$TMPDIR/cs$$-$RANDOM
+ (umask 077 && mkdir $tmp)
+ } ||
+ {
+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+ { (exit 1); exit 1; }
+ }
+
+ _ACEOF
+
+ cat >>$CONFIG_STATUS <<_ACEOF
+
+ #
+ # CONFIG_FILES section.
+ #
+
+ # No need to generate the scripts if there are no CONFIG_FILES.
+ # This happens for instance when ./config.status config.h
+ if test -n "\$CONFIG_FILES"; then
+ # Protect against being on the right side of a sed subst in config.status.
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+ s,@SHELL@,$SHELL,;t t
+ s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+ s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+ s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+ s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+ s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+ s,@exec_prefix@,$exec_prefix,;t t
+ s,@prefix@,$prefix,;t t
+ s,@program_transform_name@,$program_transform_name,;t t
+ s,@bindir@,$bindir,;t t
+ s,@sbindir@,$sbindir,;t t
+ s,@libexecdir@,$libexecdir,;t t
+ s,@datadir@,$datadir,;t t
+ s,@sysconfdir@,$sysconfdir,;t t
+ s,@sharedstatedir@,$sharedstatedir,;t t
+ s,@localstatedir@,$localstatedir,;t t
+ s,@libdir@,$libdir,;t t
+ s,@includedir@,$includedir,;t t
+ s,@oldincludedir@,$oldincludedir,;t t
+ s,@infodir@,$infodir,;t t
+ s,@mandir@,$mandir,;t t
+ s,@build_alias@,$build_alias,;t t
+ s,@host_alias@,$host_alias,;t t
+ s,@target_alias@,$target_alias,;t t
+ s,@DEFS@,$DEFS,;t t
+ s,@ECHO_C@,$ECHO_C,;t t
+ s,@ECHO_N@,$ECHO_N,;t t
+ s,@ECHO_T@,$ECHO_T,;t t
+ s,@LIBS@,$LIBS,;t t
+ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+ s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+ s,@INSTALL_DATA@,$INSTALL_DATA,;t t
+ s,@CYGPATH_W@,$CYGPATH_W,;t t
+ s,@PACKAGE@,$PACKAGE,;t t
+ s,@VERSION@,$VERSION,;t t
+ s,@ACLOCAL@,$ACLOCAL,;t t
+ s,@AUTOCONF@,$AUTOCONF,;t t
+ s,@AUTOMAKE@,$AUTOMAKE,;t t
+ s,@AUTOHEADER@,$AUTOHEADER,;t t
+ s,@MAKEINFO@,$MAKEINFO,;t t
+ s,@AMTAR@,$AMTAR,;t t
+ s,@install_sh@,$install_sh,;t t
+ s,@STRIP@,$STRIP,;t t
+ s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
+ s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
+ s,@AWK@,$AWK,;t t
+ s,@SET_MAKE@,$SET_MAKE,;t t
+ s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
+ s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
+ s,@MAINT@,$MAINT,;t t
+ s,@CC@,$CC,;t t
+ s,@CFLAGS@,$CFLAGS,;t t
+ s,@LDFLAGS@,$LDFLAGS,;t t
+ s,@CPPFLAGS@,$CPPFLAGS,;t t
+ s,@ac_ct_CC@,$ac_ct_CC,;t t
+ s,@EXEEXT@,$EXEEXT,;t t
+ s,@OBJEXT@,$OBJEXT,;t t
+ s,@DEPDIR@,$DEPDIR,;t t
+ s,@am__include@,$am__include,;t t
+ s,@am__quote@,$am__quote,;t t
+ s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
+ s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
+ s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+ s,@CCDEPMODE@,$CCDEPMODE,;t t
+ s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
+ s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
+ s,@CPP@,$CPP,;t t
+ s,@build@,$build,;t t
+ s,@build_cpu@,$build_cpu,;t t
+ s,@build_vendor@,$build_vendor,;t t
+ s,@build_os@,$build_os,;t t
+ s,@host@,$host,;t t
+ s,@host_cpu@,$host_cpu,;t t
+ s,@host_vendor@,$host_vendor,;t t
+ s,@host_os@,$host_os,;t t
+ s,@LN_S@,$LN_S,;t t
+ s,@ECHO@,$ECHO,;t t
+ s,@RANLIB@,$RANLIB,;t t
+ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+ s,@EGREP@,$EGREP,;t t
+ s,@LIBTOOL@,$LIBTOOL,;t t
+ s,@X_CFLAGS@,$X_CFLAGS,;t t
+ s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
+ s,@X_LIBS@,$X_LIBS,;t t
+ s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
+ s,@GUILE_CONFIG@,$GUILE_CONFIG,;t t
+ s,@GUILE_CFLAGS@,$GUILE_CFLAGS,;t t
+ s,@GUILE_LDFLAGS@,$GUILE_LDFLAGS,;t t
+ s,@GUILE_LIBS@,$GUILE_LIBS,;t t
+ s,@LIBOBJS@,$LIBOBJS,;t t
+ s,@LIBLOBJS@,$LIBLOBJS,;t t
+ s,@TCLTKDIR@,$TCLTKDIR,;t t
+ s,@TCL_EXTRA_LIBS@,$TCL_EXTRA_LIBS,;t t
+ s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
! # Split the substitutions into bite-sized pieces for seds with
! # small command number limits, like on Digital OSF/1 and HP-UX.
! ac_max_sed_lines=48
! ac_sed_frag=1 # Number of current file.
! ac_beg=1 # First line for current file.
! ac_end=$ac_max_sed_lines # Line after last line for current file.
! ac_more_lines=:
! ac_sed_cmds=
! while $ac_more_lines; do
! if test $ac_beg -gt 1; then
! sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
else
! sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
fi
! if test ! -s $tmp/subs.frag; then
! ac_more_lines=false
! else
! # The purpose of the label and of the branching condition is to
! # speed up the sed processing (if there are no `@' at all, there
! # is no need to browse any of the substitutions).
! # These are the two extra sed commands mentioned above.
! (echo ':t
! /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag)
>$tmp/subs-$ac_sed_frag.sed
! if test -z "$ac_sed_cmds"; then
! ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! else
! ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! fi
! ac_sed_frag=`expr $ac_sed_frag + 1`
! ac_beg=$ac_end
! ac_end=`expr $ac_end + $ac_max_sed_lines`
! fi
! done
! if test -z "$ac_sed_cmds"; then
! ac_sed_cmds=cat
fi
! fi # test -n "$CONFIG_FILES"
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
! for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
! case $ac_file in
! - | *:- | *:-:* ) # input from stdin
! cat >$tmp/stdin
! ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! * ) ac_file_in=$ac_file.in ;;
! esac
!
! # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$ac_file" : 'X\(//\)[^/]' \| \
! X"$ac_file" : 'X\(//\)$' \| \
! X"$ac_file" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$ac_file" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! { if $as_mkdir_p; then
! mkdir -p "$ac_dir"
! else
! as_dir="$ac_dir"
! as_dirs=
! while test ! -d "$as_dir"; do
! as_dirs="$as_dir $as_dirs"
! as_dir=`(dirname "$as_dir") 2>/dev/null ||
! $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$as_dir" : 'X\(//\)[^/]' \| \
! X"$as_dir" : 'X\(//\)$' \| \
! X"$as_dir" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$as_dir" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! done
! test ! -n "$as_dirs" || mkdir $as_dirs
! fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\""
>&5
! echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! { (exit 1); exit 1; }; }; }
!
! ac_builddir=.
!
! if test "$ac_dir" != .; then
! ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! # A "../" for each directory in $ac_dir_suffix.
! ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
! ac_dir_suffix= ac_top_builddir=
! fi
!
! case $srcdir in
! .) # No --srcdir option. We are building in place.
! ac_srcdir=.
! if test -z "$ac_top_builddir"; then
! ac_top_srcdir=.
! else
! ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! fi ;;
! [\\/]* | ?:[\\/]* ) # Absolute path.
! ac_srcdir=$srcdir$ac_dir_suffix;
! ac_top_srcdir=$srcdir ;;
*) # Relative path.
! ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! ac_top_srcdir=$ac_top_builddir$srcdir ;;
! esac
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
!
!
! case $INSTALL in
! [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
esac
! if test x"$ac_file" != x-; then
! { echo "$as_me:$LINENO: creating $ac_file" >&5
! echo "$as_me: creating $ac_file" >&6;}
! rm -f "$ac_file"
! fi
! # Let's still pretend it is `configure' which instantiates (i.e., don't
! # use $as_me), people would be surprised to read:
! # /* config.h. Generated by config.status. */
! if test x"$ac_file" = x-; then
! configure_input=
! else
! configure_input="$ac_file. "
! fi
! configure_input=$configure_input"Generated from `echo $ac_file_in |
! sed 's,.*/,,'` by configure."
! # First look for the input files in the build tree, otherwise in the
! # src tree.
! ac_file_inputs=`IFS=:
! for f in $ac_file_in; do
! case $f in
! -) echo $tmp/stdin ;;
! [\\/$]*)
! # Absolute (can't be DOS-style, as IFS=:)
! test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input
file: $f" >&5
! echo "$as_me: error: cannot find input file: $f" >&2;}
! { (exit 1); exit 1; }; }
! echo $f;;
! *) # Relative
! if test -f "$f"; then
! # Build tree
! echo $f
! elif test -f "$srcdir/$f"; then
! # Source tree
! echo $srcdir/$f
! else
! # /dev/null tree
! { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! echo "$as_me: error: cannot find input file: $f" >&2;}
! { (exit 1); exit 1; }; }
! fi;;
! esac
! done` || { (exit 1); exit 1; }
! _ACEOF
! cat >>$CONFIG_STATUS <<_ACEOF
! sed "$ac_vpsub
! $extrasub
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
! :t
! /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! s,@configure_input@,$configure_input,;t t
! s,@srcdir@,$ac_srcdir,;t t
! s,@abs_srcdir@,$ac_abs_srcdir,;t t
! s,@top_srcdir@,$ac_top_srcdir,;t t
! s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! s,@builddir@,$ac_builddir,;t t
! s,@abs_builddir@,$ac_abs_builddir,;t t
! s,@top_builddir@,$ac_top_builddir,;t t
! s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! s,@INSTALL@,$ac_INSTALL,;t t
! " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! rm -f $tmp/stdin
! if test x"$ac_file" != x-; then
! mv $tmp/out $ac_file
! else
! cat $tmp/out
! rm -f $tmp/out
! fi
! done
! _ACEOF
! cat >>$CONFIG_STATUS <<\_ACEOF
! #
! # CONFIG_COMMANDS section.
! #
! for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$ac_dest" : 'X\(//\)[^/]' \| \
! X"$ac_dest" : 'X\(//\)$' \| \
! X"$ac_dest" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$ac_dest" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! ac_builddir=.
!
! if test "$ac_dir" != .; then
! ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! # A "../" for each directory in $ac_dir_suffix.
! ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! else
! ac_dir_suffix= ac_top_builddir=
! fi
!
! case $srcdir in
! .) # No --srcdir option. We are building in place.
! ac_srcdir=.
! if test -z "$ac_top_builddir"; then
! ac_top_srcdir=.
! else
! ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! fi ;;
! [\\/]* | ?:[\\/]* ) # Absolute path.
! ac_srcdir=$srcdir$ac_dir_suffix;
! ac_top_srcdir=$srcdir ;;
! *) # Relative path.
! ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! ac_top_srcdir=$ac_top_builddir$srcdir ;;
! esac
! # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! # absolute.
! ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
!
!
! { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! echo "$as_me: executing $ac_dest commands" >&6;}
! case $ac_dest in
! depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! # Strip MF so we end up with the name of the file.
! mf=`echo "$mf" | sed -e 's/:.*$//'`
! # Check whether this is an Automake generated Makefile or not.
! # We used to match only the files named `Makefile.in', but
! # some people rename them; so instead we look at the file content.
! # Grep'ing the first line is not enough: some people post-process
! # each Makefile.in and add a new line on top of each file to say so.
! # So let's grep whole file.
! if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! dirpart=`(dirname "$mf") 2>/dev/null ||
! $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$mf" : 'X\(//\)[^/]' \| \
! X"$mf" : 'X\(//\)$' \| \
! X"$mf" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$mf" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! else
! continue
! fi
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
# Extract the definition of DEP_FILES from the Makefile without
# running `make'.
***************
*** 7898,7914 ****
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
! fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
! $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
! exit 0
! EOF
chmod +x $CONFIG_STATUS
! rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
--- 11069,11143 ----
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
! fdir=`(dirname "$file") 2>/dev/null ||
! $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$file" : 'X\(//\)[^/]' \| \
! X"$file" : 'X\(//\)$' \| \
! X"$file" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$file" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! { if $as_mkdir_p; then
! mkdir -p $dirpart/$fdir
! else
! as_dir=$dirpart/$fdir
! as_dirs=
! while test ! -d "$as_dir"; do
! as_dirs="$as_dir $as_dirs"
! as_dir=`(dirname "$as_dir") 2>/dev/null ||
! $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! X"$as_dir" : 'X\(//\)[^/]' \| \
! X"$as_dir" : 'X\(//\)$' \| \
! X"$as_dir" : 'X\(/\)' \| \
! . : '\(.\)' 2>/dev/null ||
! echo X"$as_dir" |
! sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! /^X\(\/\/\)$/{ s//\1/; q; }
! /^X\(\/\).*/{ s//\1/; q; }
! s/.*/./; q'`
! done
! test ! -n "$as_dirs" || mkdir $as_dirs
! fi || { { echo "$as_me:$LINENO: error: cannot create directory
$dirpart/$fdir" >&5
! echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! { (exit 1); exit 1; }; }; }
!
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
+ ;;
+ esac
+ done
+ _ACEOF
+ cat >>$CONFIG_STATUS <<\_ACEOF
! { (exit 0); exit 0; }
! _ACEOF
chmod +x $CONFIG_STATUS
! ac_clean_files=$ac_clean_files_save
!
!
! # configure is writing to config.log, and then calls config.status.
! # config.status does its own redirection, appending to config.log.
! # Unfortunately, on DOS this fails, as config.log is still kept open
! # by configure, so config.status won't be able to write to it; its
! # output is simply discarded. So we exec the FD to /dev/null,
! # effectively closing config.log, so it can be properly (re)opened and
! # appended to by config.status. When coming back to configure, we
! # need to make the FD available again.
! if test "$no_create" != yes; then
! ac_cs_success=:
! exec 5>/dev/null
! $SHELL $CONFIG_STATUS || ac_cs_success=false
! exec 5>>config.log
! # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! # would make configure fail if this is the last instruction.
! $ac_cs_success || { (exit 1); exit 1; }
! fi
Index: guile/guile-tcltk/configure.in
diff -c guile/guile-tcltk/configure.in:1.33 guile/guile-tcltk/configure.in:1.34
*** guile/guile-tcltk/configure.in:1.33 Sun Nov 17 19:09:37 2002
--- guile/guile-tcltk/configure.in Sun Nov 17 21:10:03 2002
***************
*** 1,5 ****
dnl Process this file with autoconf to produce a configure script.
! AC_INIT(guile-tcl.c)
AM_INIT_AUTOMAKE(guile-tcltk, 2.0, no-define)
AM_MAINTAINER_MODE
--- 1,6 ----
dnl Process this file with autoconf to produce a configure script.
! AC_INIT
! AC_CONFIG_SRCDIR([guile-tcl.c])
AM_INIT_AUTOMAKE(guile-tcltk, 2.0, no-define)
AM_MAINTAINER_MODE
***************
*** 33,39 ****
AC_PROG_CC
AC_PROG_CPP
! AM_PROG_LIBTOOL
if test -z "$with_tcltk" || test "$with_tcltk" = yes; then
### Some compilers don't check /usr/local/include and /usr/local/lib
--- 34,40 ----
AC_PROG_CC
AC_PROG_CPP
! AC_PROG_LIBTOOL
if test -z "$with_tcltk" || test "$with_tcltk" = yes; then
### Some compilers don't check /usr/local/include and /usr/local/lib
***************
*** 85,91 ****
AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(nsl, main)
! AC_HAVE_HEADERS(unistd.h)
### Make sure Guile is installed.
AC_PATH_PROGS(GUILE_CONFIG, guile-config build-guile, no)
--- 86,92 ----
AC_CHECK_LIB(socket, main)
AC_CHECK_LIB(nsl, main)
! AC_CHECK_HEADERS([unistd.h])
### Make sure Guile is installed.
AC_PATH_PROGS(GUILE_CONFIG, guile-config build-guile, no)
***************
*** 151,162 ****
saved_LIBS="$LIBS"
LIBS="$GUILE_LIBS $LIBS"
! AC_CHECK_FUNCS(scm_internal_select)
LIBS="$saved_LIBS"
if test "$ac_cv_func_scm_internal_select" = "yes"; then
! AC_LIBOBJ(tclUnixNotfy)
fi
TCLTKDIR="`$GUILE_CONFIG info pkgdatadir`/tcltk"
AC_SUBST(TCLTKDIR)
--- 152,167 ----
saved_LIBS="$LIBS"
LIBS="$GUILE_LIBS $LIBS"
!
! AC_CHECK_FUNCS([scm_internal_select])
!
LIBS="$saved_LIBS"
if test "$ac_cv_func_scm_internal_select" = "yes"; then
! AC_LIBOBJ([tclUnixNotfy])
! LIBLOBJS=tclUnixNotfy.lo
fi
+ AC_SUBST(LIBLOBJS)
TCLTKDIR="`$GUILE_CONFIG info pkgdatadir`/tcltk"
AC_SUBST(TCLTKDIR)
***************
*** 164,167 ****
dnl Checks for library functions.
AC_SUBST(TCL_EXTRA_LIBS)
! AC_OUTPUT(Makefile)
--- 169,173 ----
dnl Checks for library functions.
AC_SUBST(TCL_EXTRA_LIBS)
! AC_CONFIG_FILES([Makefile])
! AC_OUTPUT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- guile/guile-tcltk Makefile.am Makefile.in acinc...,
Mikael Djurfeldt <=