pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files Allow libnbcompat to be use...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a04593eb623a
branches: trunk
changeset: 461240:a04593eb623a
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Sep 13 03:50:12 2003 +0000
description:
Allow libnbcompat to be used without being installed. Also remove the
unused header file util.h.
diffstat:
pkgtools/libnbcompat/files/Makefile.in | 17 +-
pkgtools/libnbcompat/files/bits.c | 8 +-
pkgtools/libnbcompat/files/configure | 4 +-
pkgtools/libnbcompat/files/configure.ac | 4 +-
pkgtools/libnbcompat/files/nbcompat/config.h.in | 565 ++++++++++++++++++++++
pkgtools/libnbcompat/files/nbcompat/nbconfig.h.in | 565 ----------------------
pkgtools/libnbcompat/files/util.h | 119 ----
7 files changed, 581 insertions(+), 701 deletions(-)
diffs (truncated from 1388 to 300 lines):
diff -r a089543dcf70 -r a04593eb623a pkgtools/libnbcompat/files/Makefile.in
--- a/pkgtools/libnbcompat/files/Makefile.in Sat Sep 13 03:37:33 2003 +0000
+++ b/pkgtools/libnbcompat/files/Makefile.in Sat Sep 13 03:50:12 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.16 2003/09/06 01:37:17 jlam Exp $
+# $NetBSD: Makefile.in,v 1.17 2003/09/13 03:50:12 jlam Exp $
#
srcdir= @srcdir@
@@ -20,9 +20,9 @@
LIB= libnbcompat.a
INCS= nbcompat.h nbcompat/err.h nbcompat/fts.h nbcompat/getopt.h \
- nbcompat/glob.h nbcompat/md5.h nbcompat/nbtypes.h \
- nbcompat/poll.h nbcompat/rmd160.h nbcompat/sha1.h \
- nbcompat/statfs.h nbcompat/vis.h
+ nbcompat/glob.h nbcompat/md5.h nbcompat/nbconfig.h \
+ nbcompat/nbtypes.h nbcompat/poll.h nbcompat/rmd160.h \
+ nbcompat/sha1.h nbcompat/statfs.h nbcompat/vis.h
OBJS= @LIBOBJS@
@@ -31,7 +31,7 @@
.PHONY: all install clean distclean
-all: nbcompat/nbtypes.h nbcompat/nbconfig.hi $(LIB)
+all: nbcompat/nbtypes.h nbcompat/nbconfig.h $(LIB)
.c.o: nbcompat/nbtypes.h
$(COMPILE) $(DEFS) -c $<
@@ -40,7 +40,7 @@
$(AR) cr $@ $(OBJS)
$(RANLIB) $@
-nbcompat/nbconfig.hi: nbcompat/nbconfig.h
+nbcompat/nbconfig.h: nbcompat/config.h
$(AWK) ' \
BEGIN { process = 1 } \
/NBCOMPAT template section follows\./ { process = 0 } \
@@ -57,7 +57,7 @@
} \
} \
{ print } \
- ' nbcompat/nbconfig.h > $@
+ ' nbcompat/config.h > $@
nbcompat/nbtypes.h: bits
./bits $@
@@ -75,10 +75,9 @@
echo "$(INSTALL) -m 444 $$file $(prefix)/include/$$file"; \
$(INSTALL) -m 444 $$file $(prefix)/include/$$file; \
done
- $(INSTALL) -m 444 nbcompat/nbconfig.hi $(prefix)/include/nbcompat/nbconfig.h
clean:
- rm -f *.a *.o bits nbcompat/nbtypes.h nbcompat/nbcompat.hi
+ rm -f *.a *.o bits nbcompat/nbtypes.h nbcompat/nbcompat.h
distclean: clean
rm -f Makefile config.log config.status configure.lineno
diff -r a089543dcf70 -r a04593eb623a pkgtools/libnbcompat/files/bits.c
--- a/pkgtools/libnbcompat/files/bits.c Sat Sep 13 03:37:33 2003 +0000
+++ b/pkgtools/libnbcompat/files/bits.c Sat Sep 13 03:50:12 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bits.c,v 1.5 2003/09/06 23:03:01 grant Exp $ */
+/* $NetBSD: bits.c,v 1.6 2003/09/13 03:50:12 jlam Exp $ */
/*
* Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
@@ -33,9 +33,9 @@
* SUCH DAMAGE.
*/
-#include "nbcompat/nbconfig.h"
+#include "nbcompat/config.h"
#if 0
-__RCSID("$NetBSD: bits.c,v 1.5 2003/09/06 23:03:01 grant Exp $");
+__RCSID("$NetBSD: bits.c,v 1.6 2003/09/13 03:50:12 jlam Exp $");
#endif
#include <stdio.h>
#include <string.h>
@@ -129,7 +129,7 @@
}
fprintf(f, "/* %s -- this file was generated by\n", fn);
fprintf(f, " %*s %s */\n\n", (int)strlen(fn), "",
- "$Id: bits.c,v 1.5 2003/09/06 23:03:01 grant Exp $");
+ "$Id: bits.c,v 1.6 2003/09/13 03:50:12 jlam Exp $");
fprintf(f, "#ifndef %s\n", hb);
fprintf(f, "#define %s\n", hb);
fprintf(f, "\n");
diff -r a089543dcf70 -r a04593eb623a pkgtools/libnbcompat/files/configure
--- a/pkgtools/libnbcompat/files/configure Sat Sep 13 03:37:33 2003 +0000
+++ b/pkgtools/libnbcompat/files/configure Sat Sep 13 03:50:12 2003 +0000
@@ -1274,7 +1274,7 @@
- ac_config_headers="$ac_config_headers nbcompat/nbconfig.h"
+ ac_config_headers="$ac_config_headers nbcompat/config.h"
test "$program_prefix" != NONE &&
program_transform_name="s,^,$program_prefix,;$program_transform_name"
@@ -8653,7 +8653,7 @@
case "$ac_config_target" in
# Handling of arguments.
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "nbcompat/nbconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/nbconfig.h" ;;
+ "nbcompat/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbcompat/config.h" ;;
*) { { 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; }; };;
diff -r a089543dcf70 -r a04593eb623a pkgtools/libnbcompat/files/configure.ac
--- a/pkgtools/libnbcompat/files/configure.ac Sat Sep 13 03:37:33 2003 +0000
+++ b/pkgtools/libnbcompat/files/configure.ac Sat Sep 13 03:50:12 2003 +0000
@@ -1,9 +1,9 @@
-dnl $NetBSD: configure.ac,v 1.26 2003/09/11 11:26:10 grant Exp $
+dnl $NetBSD: configure.ac,v 1.27 2003/09/13 03:50:13 jlam Exp $
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT([libnbcompat], [20030830], [grant%NetBSD.org@localhost])
-AC_CONFIG_HEADER(nbcompat/nbconfig.h)
+AC_CONFIG_HEADER(nbcompat/config.h)
AC_ARG_PROGRAM
AC_CANONICAL_HOST
diff -r a089543dcf70 -r a04593eb623a pkgtools/libnbcompat/files/nbcompat/config.h.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/config.h.in Sat Sep 13 03:50:12 2003 +0000
@@ -0,0 +1,565 @@
+/* nbcompat/config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if the `getpgrp' function requires zero arguments. */
+#undef GETPGRP_VOID
+
+/* Define to 1 if you have the <arpa/nameser.h> header file. */
+#undef HAVE_ARPA_NAMESER_H
+
+/* Define to 1 if you have the <assert.h> header file. */
+#undef HAVE_ASSERT_H
+
+/* Define to 1 if you have the `bcopy' function. */
+#undef HAVE_BCOPY
+
+/* Define to 1 if you have the <bind/bitypes.h> header file. */
+#undef HAVE_BIND_BITYPES_H
+
+/* Define to 1 if you have the `bzero' function. */
+#undef HAVE_BZERO
+
+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
+ don't. */
+#undef HAVE_DECL_STRERROR_R
+
+/* Define to 1 if you have the <dirent.h> header file. */
+#undef HAVE_DIRENT_H
+
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+#undef HAVE_DOPRNT
+
+/* Define to 1 if you have the `err' function. */
+#undef HAVE_ERR
+
+/* Define to 1 if you have the <errno.h> header file. */
+#undef HAVE_ERRNO_H
+
+/* Define to 1 if you have the <err.h> header file. */
+#undef HAVE_ERR_H
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#undef HAVE_FCNTL_H
+
+/* Define to 1 if you have the `fgetln' function. */
+#undef HAVE_FGETLN
+
+/* Define to 1 if you have the `fparseln' function. */
+#undef HAVE_FPARSELN
+
+/* Define to 1 if you have the `fseeko' function. */
+#undef HAVE_FSEEKO
+
+/* Define to 1 if you have the <fts.h> header file. */
+#undef HAVE_FTS_H
+
+/* Define to 1 if you have the `getenv' function. */
+#undef HAVE_GETENV
+
+/* Define to 1 if you have the `getmode' function. */
+#undef HAVE_GETMODE
+
+/* Define to 1 if you have the <getopt.h> header file. */
+#undef HAVE_GETOPT_H
+
+/* Define to 1 if you have the `getpassphrase' function. */
+#undef HAVE_GETPASSPHRASE
+
+/* Define to 1 if you have the `getpgrp' function. */
+#undef HAVE_GETPGRP
+
+/* Define to 1 if you have the `gid_from_group' function. */
+#undef HAVE_GID_FROM_GROUP
+
+/* Define to 1 if you have the `glob' function. */
+#undef HAVE_GLOB
+
+/* Define to 1 if you have the <glob.h> header file. */
+#undef HAVE_GLOB_H
+
+/* Define to 1 if you have the `group_from_gid' function. */
+#undef HAVE_GROUP_FROM_GID
+
+/* Define to 1 if you have the `inet_ntop' function. */
+#undef HAVE_INET_NTOP
+
+/* Define to 1 if you have the `inet_pton' function. */
+#undef HAVE_INET_PTON
+
+/* Define to 1 if the system has the type `int16_t'. */
+#undef HAVE_INT16_T
+
+/* Define to 1 if the system has the type `int32_t'. */
+#undef HAVE_INT32_T
+
+/* Define to 1 if the system has the type `int64_t'. */
+#undef HAVE_INT64_T
+
+/* Define to 1 if the system has the type `int8_t'. */
+#undef HAVE_INT8_T
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the `isblank' function. */
+#undef HAVE_ISBLANK
+
+/* Define to 1 if you have the `lchflags' function. */
+#undef HAVE_LCHFLAGS
+
+/* Define to 1 if you have the `lchmod' function. */
+#undef HAVE_LCHMOD
+
+/* Define to 1 if you have the `lchown' function. */
+#undef HAVE_LCHOWN
+
+/* Define to 1 if you have the `util' library (-lutil). */
+#undef HAVE_LIBUTIL
+
+/* Define to 1 if you have the <libutil.h> header file. */
+#undef HAVE_LIBUTIL_H
+
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
+/* Define to 1 if the system has the type `long long'. */
+#undef HAVE_LONG_LONG
+
+/* Define to 1 if you have the `lutimes' function. */
+#undef HAVE_LUTIMES
+
+/* Define to 1 if you have the <machine/endian.h> header file. */
+#undef HAVE_MACHINE_ENDIAN_H
+
+/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
+ to 0 otherwise. */
+#undef HAVE_MALLOC
+
+/* Define to 1 if you have the <md5.h> header file. */
+#undef HAVE_MD5_H
+
+/* Define to 1 if you have the `memcpy' function. */
+#undef HAVE_MEMCPY
+
+/* Define to 1 if you have the `memmove' function. */
+#undef HAVE_MEMMOVE
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the `memset' function. */
+#undef HAVE_MEMSET
+
+/* Define to 1 if you have the `mkdtemp' function. */
+#undef HAVE_MKDTEMP
+
+/* Define to 1 if you have the `mkstemp' function. */
+#undef HAVE_MKSTEMP
+
+/* Define to 1 if the `getopt_long' function is built into the library. */
+#undef HAVE_NBCOMPAT_GETOPT_LONG
+
+/* Define to 1 if the `statfs' function is built into the library. */
+#undef HAVE_NBCOMPAT_STATFS
+
+/* Define to 1 if the `vis' function is built into the library. */
+#undef HAVE_NBCOMPAT_VIS
+
+/* Define to 1 if you have the <ndir.h> header file. */
+#undef HAVE_NDIR_H
+
Home |
Main Index |
Thread Index |
Old Index