aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gpm/gpm-1.20.1/configure.patch
blob: 8088fba8cc68bf4d04e1a3c46ab784903e0d1781 (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
31
32
33
34
35
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- gpm-1.20.1/./configure.in~configure
+++ gpm-1.20.1/./configure.in
@@ -3,8 +3,9 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl written jan/1997 - T.E.Dickey <dickey@clark.net>
 
-AC_INIT(src/gpm.c)
-AC_PREREQ(2.12)
+AC_INIT
+AC_CONFIG_SRCDIR([src/gpm.c])
+AC_PREREQ(2.57)
 AC_CONFIG_HEADER(src/headers/config.h)
 
 release=1.20.1
@@ -82,7 +83,7 @@
 fi
 
 ITZ_SYS_ELF
-if test ${itz_cv_sys_elf} = yes && test x${ac_cv_prog_gcc} = xyes ; then
+if test ${itz_cv_sys_elf} = yes && test x${ac_cv_c_compiler_gnu} = xyes ; then
     SHLIB=libgpm.so
 else
     SHLIB=
@@ -132,4 +133,5 @@
 
 dnl AC_DEFINE_UNQUOTED(SYSCONFDIR,"$sysconfdir")
 dnl AC_DEFINE_UNQUOTED(SBINDIR,"$sbindir")
-AC_OUTPUT(Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm)
+AC_CONFIG_FILES([Makefile.include Makefile doc/Makefile src/Makefile contrib/Makefile doc/doc.gpm])
+AC_OUTPUT