pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/pax/files (my) linux defines DEFTAPE, not _P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba1c4850bb3d
branches:  trunk
changeset: 460883:ba1c4850bb3d
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Sep 06 05:10:17 2003 +0000

description:
(my) linux defines DEFTAPE, not _PATH_DEFTAPE, so use that or
"/dev/tape" if DEFTAPE is undefined.

diffstat:

 archivers/pax/files/config.h.in  |  10 ++++++++++
 archivers/pax/files/configure    |   3 +++
 archivers/pax/files/configure.ac |  10 ++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r fbe422e5d089 -r ba1c4850bb3d archivers/pax/files/config.h.in
--- a/archivers/pax/files/config.h.in   Sat Sep 06 04:57:21 2003 +0000
+++ b/archivers/pax/files/config.h.in   Sat Sep 06 05:10:17 2003 +0000
@@ -89,3 +89,13 @@
 
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
+
+
+#ifndef _PATH_DEFTAPE
+# ifdef DEFTAPE
+#  define _PATH_DEFTAPE DEFTAPE
+# else
+#  define _PATH_DEFTAPE "/dev/tape"
+# endif /* DEFTAPE */
+#endif /* _PATH_DEFTAPE */
+
diff -r fbe422e5d089 -r ba1c4850bb3d archivers/pax/files/configure
--- a/archivers/pax/files/configure     Sat Sep 06 04:57:21 2003 +0000
+++ b/archivers/pax/files/configure     Sat Sep 06 05:10:17 2003 +0000
@@ -3176,6 +3176,9 @@
 done
 
 
+
+
+
           ac_config_files="$ac_config_files Makefile"
 
 cat >confcache <<\_ACEOF
diff -r fbe422e5d089 -r ba1c4850bb3d archivers/pax/files/configure.ac
--- a/archivers/pax/files/configure.ac  Sat Sep 06 04:57:21 2003 +0000
+++ b/archivers/pax/files/configure.ac  Sat Sep 06 05:10:17 2003 +0000
@@ -20,5 +20,15 @@
 # Checks for library functions.
 AC_CHECK_FUNCS([getrlimit setrlimit])
 
+AH_BOTTOM([
+#ifndef _PATH_DEFTAPE
+# ifdef DEFTAPE
+#  define _PATH_DEFTAPE DEFTAPE
+# else
+#  define _PATH_DEFTAPE "/dev/tape"
+# endif /* DEFTAPE */
+#endif /* _PATH_DEFTAPE */
+])
+
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT



Home | Main Index | Thread Index | Old Index