mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
* net_db.c (scm_gethost): don't check HAVE_GETHOSTENT, since
configure doesn't know about it.
This commit is contained in:
parent
78f9f47bb5
commit
ef12d978bb
3 changed files with 37 additions and 35 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Mar 22 18:16:29 1997 Gary Houston <ghouston@actrix.gen.nz>
|
||||||
|
|
||||||
|
* net_db.c (scm_gethost): don't check HAVE_GETHOSTENT, since
|
||||||
|
configure doesn't know about it.
|
||||||
|
|
||||||
Fri Mar 21 23:49:28 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
Fri Mar 21 23:49:28 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||||
|
|
||||||
* snarf.h, backtrace.c: Name change SCM_GLOBAL --> SCM_VCELL.
|
* snarf.h, backtrace.c: Name change SCM_GLOBAL --> SCM_VCELL.
|
||||||
|
|
|
@ -37,21 +37,21 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
transform = @program_transform_name@
|
transform = @program_transform_name@
|
||||||
host_alias = @host_alias@
|
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
RANLIB = @RANLIB@
|
host_alias = @host_alias@
|
||||||
LIBTOOL = @LIBTOOL@
|
|
||||||
AWK = @AWK@
|
|
||||||
module = @module@
|
|
||||||
LIBLOBJS = @LIBLOBJS@
|
|
||||||
CC = @CC@
|
|
||||||
PACKAGE = @PACKAGE@
|
|
||||||
ERRNO_EXTRACT = @ERRNO_EXTRACT@
|
ERRNO_EXTRACT = @ERRNO_EXTRACT@
|
||||||
FD_SETTER = @FD_SETTER@
|
FD_SETTER = @FD_SETTER@
|
||||||
|
LIBLOBJS = @LIBLOBJS@
|
||||||
|
AWK = @AWK@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
module = @module@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
|
CC = @CC@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
MAINT = @MAINT@
|
||||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
xtra_PLUGIN_guile_libs = @xtra_PLUGIN_guile_libs@
|
xtra_PLUGIN_guile_libs = @xtra_PLUGIN_guile_libs@
|
||||||
MAINT = @MAINT@
|
PACKAGE = @PACKAGE@
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign
|
AUTOMAKE_OPTIONS = foreign
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||||
LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@
|
LINK = $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@
|
||||||
DATA = $(modinclude_DATA)
|
DATA = $(modinclude_DATA)
|
||||||
|
|
||||||
HEADERS = $(modinclude_HEADERS) $(include_HEADERS)
|
HEADERS = $(include_HEADERS) $(modinclude_HEADERS)
|
||||||
|
|
||||||
DIST_COMMON = COPYING ChangeLog Makefile.am Makefile.in acconfig.h \
|
DIST_COMMON = COPYING ChangeLog Makefile.am Makefile.in acconfig.h \
|
||||||
acinclude.m4 aclocal.m4 configure configure.in fd.h.in guile-snarf.in \
|
acinclude.m4 aclocal.m4 configure configure.in fd.h.in guile-snarf.in \
|
||||||
|
@ -297,19 +297,6 @@ uninstall-modincludeDATA:
|
||||||
rm -f $(modincludedir)/$$p; \
|
rm -f $(modincludedir)/$$p; \
|
||||||
done
|
done
|
||||||
|
|
||||||
install-modincludeHEADERS: $(modinclude_HEADERS)
|
|
||||||
$(NORMAL_INSTALL)
|
|
||||||
$(mkinstalldirs) $(modincludedir)
|
|
||||||
@list="$(modinclude_HEADERS)"; for p in $$list; do \
|
|
||||||
echo "$(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \
|
|
||||||
$(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-modincludeHEADERS:
|
|
||||||
list="$(modinclude_HEADERS)"; for p in $$list; do \
|
|
||||||
rm -f $(modincludedir)/$$p; \
|
|
||||||
done
|
|
||||||
|
|
||||||
install-includeHEADERS: $(include_HEADERS)
|
install-includeHEADERS: $(include_HEADERS)
|
||||||
$(NORMAL_INSTALL)
|
$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(includedir)
|
$(mkinstalldirs) $(includedir)
|
||||||
|
@ -323,6 +310,19 @@ uninstall-includeHEADERS:
|
||||||
rm -f $(includedir)/$$p; \
|
rm -f $(includedir)/$$p; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
install-modincludeHEADERS: $(modinclude_HEADERS)
|
||||||
|
$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(modincludedir)
|
||||||
|
@list="$(modinclude_HEADERS)"; for p in $$list; do \
|
||||||
|
echo "$(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p"; \
|
||||||
|
$(INSTALL_DATA) $(srcdir)/$$p $(modincludedir)/$$p; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-modincludeHEADERS:
|
||||||
|
list="$(modinclude_HEADERS)"; for p in $$list; do \
|
||||||
|
rm -f $(modincludedir)/$$p; \
|
||||||
|
done
|
||||||
|
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
|
|
||||||
ID: $(HEADERS) $(SOURCES)
|
ID: $(HEADERS) $(SOURCES)
|
||||||
|
@ -419,21 +419,21 @@ installcheck:
|
||||||
install-exec: install-libPROGRAMS install-binSCRIPTS
|
install-exec: install-libPROGRAMS install-binSCRIPTS
|
||||||
$(NORMAL_INSTALL)
|
$(NORMAL_INSTALL)
|
||||||
|
|
||||||
install-data: install-modincludeDATA install-modincludeHEADERS install-includeHEADERS
|
install-data: install-modincludeDATA install-includeHEADERS install-modincludeHEADERS
|
||||||
$(NORMAL_INSTALL)
|
$(NORMAL_INSTALL)
|
||||||
|
|
||||||
install: install-exec install-data all
|
install: install-exec install-data all
|
||||||
@:
|
@:
|
||||||
|
|
||||||
uninstall: uninstall-libPROGRAMS uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-modincludeHEADERS uninstall-includeHEADERS
|
uninstall: uninstall-libPROGRAMS uninstall-binSCRIPTS uninstall-modincludeDATA uninstall-includeHEADERS uninstall-modincludeHEADERS
|
||||||
|
|
||||||
all: $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) Makefile scmconfig.h
|
all: $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) Makefile scmconfig.h
|
||||||
|
|
||||||
install-strip:
|
install-strip:
|
||||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
|
||||||
installdirs:
|
installdirs:
|
||||||
$(mkinstalldirs) $(libdir) $(bindir) $(modincludedir) $(modincludedir) \
|
$(mkinstalldirs) $(libdir) $(bindir) $(modincludedir) $(includedir) \
|
||||||
$(includedir)
|
$(modincludedir)
|
||||||
|
|
||||||
|
|
||||||
mostlyclean-generic:
|
mostlyclean-generic:
|
||||||
|
@ -478,10 +478,10 @@ install-libPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
||||||
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
||||||
clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
|
clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
|
||||||
install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \
|
install-binSCRIPTS uninstall-modincludeDATA install-modincludeDATA \
|
||||||
uninstall-modincludeHEADERS install-modincludeHEADERS \
|
uninstall-includeHEADERS install-includeHEADERS \
|
||||||
uninstall-includeHEADERS install-includeHEADERS tags mostlyclean-tags \
|
uninstall-modincludeHEADERS install-modincludeHEADERS tags \
|
||||||
distclean-tags clean-tags maintainer-clean-tags distdir \
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
||||||
mostlyclean-depend distclean-depend clean-depend \
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
||||||
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
||||||
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||||
|
|
|
@ -163,15 +163,12 @@ scm_gethost (name)
|
||||||
struct in_addr inad;
|
struct in_addr inad;
|
||||||
char **argv;
|
char **argv;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
#ifdef HAVE_GETHOSTENT
|
|
||||||
if (SCM_UNBNDP (name))
|
if (SCM_UNBNDP (name))
|
||||||
{
|
{
|
||||||
SCM_DEFER_INTS;
|
SCM_DEFER_INTS;
|
||||||
entry = gethostent ();
|
entry = gethostent ();
|
||||||
}
|
}
|
||||||
else
|
else if (SCM_NIMP (name) && SCM_ROSTRINGP (name))
|
||||||
#endif
|
|
||||||
if (SCM_NIMP (name) && SCM_ROSTRINGP (name))
|
|
||||||
{
|
{
|
||||||
SCM_DEFER_INTS;
|
SCM_DEFER_INTS;
|
||||||
entry = gethostbyname (SCM_ROCHARS (name));
|
entry = gethostbyname (SCM_ROCHARS (name));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue