31 lines
995 B
Diff
31 lines
995 B
Diff
Upstream-Status: Inappropriate [licensing]
|
|
|
|
# Define AC_USE_SYSTEM_EXTENSIONS only if it was previously undefined.
|
|
# This is needed to configure correctly with newer versions of autoconf.
|
|
|
|
--- tar-1.17/m4/extensions.m4.orig 2010-07-22 22:21:35.000000000 -0700
|
|
+++ tar-1.17/m4/extensions.m4 2010-07-22 22:23:41.000000000 -0700
|
|
@@ -1,4 +1,4 @@
|
|
-# serial 4 -*- Autoconf -*-
|
|
+# serial 5 -*- Autoconf -*-
|
|
# Enable extensions on systems that normally disable them.
|
|
|
|
# Copyright (C) 2003, 2006 Free Software Foundation, Inc.
|
|
@@ -16,6 +16,7 @@
|
|
# ------------------------
|
|
# Enable extensions on systems that normally disable them,
|
|
# typically due to standards-conformance issues.
|
|
+m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [
|
|
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
|
|
[
|
|
AC_BEFORE([$0], [AC_COMPILE_IFELSE])
|
|
@@ -48,7 +49,7 @@
|
|
AC_DEFINE([__EXTENSIONS__])
|
|
AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
|
|
AC_DEFINE([_TANDEM_SOURCE])
|
|
-])
|
|
+])])
|
|
|
|
# gl_USE_SYSTEM_EXTENSIONS
|
|
# ------------------------
|