summaryrefslogtreecommitdiff
path: root/recipes/gzip/gzip-1.3.5/configure.patch
blob: 64e901a9a4376257cb21c0b37b61ea3a79c9712a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- gzip-1.3.5/./configure.in~configure
+++ gzip-1.3.5/./configure.in
@@ -18,8 +18,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-AC_PREREQ(2.54)
-AC_INIT(gzip, 1.3.5, bug-gzip@gnu.org)
+AC_PREREQ(2.57)
+AC_INIT([gzip],[1.3.5],[bug-gzip@gnu.org])
 AC_CONFIG_SRCDIR(gzip.c)
 AM_INIT_AUTOMAKE
 
@@ -39,9 +39,8 @@
 
 AC_CACHE_CHECK([for underline in external names], [gzip_cv_underline],
   [gzip_cv_underline=yes
-   AC_TRY_COMPILE([int foo() {return 0;}], [],
-     [nm conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
-	gzip_cv_underline=no])])
+   AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int foo() {return 0;}]], [[]])],[nm conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
+	gzip_cv_underline=no],[])])
 if test $gzip_cv_underline = no; then
   ASCPP="${ASCPP} -DNO_UNDERLINE"
 fi