File: fix-autoconf.patch

package info (click to toggle)
motif 2.3.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 36,520 kB
  • sloc: ansic: 452,642; sh: 4,611; makefile: 2,030; yacc: 1,604; lex: 352; cpp: 348
file content (47 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download | duplicates (4)
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
36
37
38
39
40
41
42
43
44
45
46
47
Description: Update build system to satisfy latest automake/autoconf
 This is part of the patch submitted by Adam Sampson,
 so we can build without having to provide AUTHORS and NEWS files
 .
 Adam licensed his patch under MIT license (whatever that means ;) )
Forwarded: http://bugs.motifzone.net/show_bug.cgi?id=1571
Author: Adam Sampson <ats-motif@offog.org>
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2017-12-16
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,13 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT
+AC_PREREQ(2.59)
+AC_INIT([motif], [2.3.8])
 AC_CONFIG_SRCDIR([lib/Xm/Form.c])
-AC_PREREQ(2.52)
 AC_CONFIG_AUX_DIR(.)
+AC_CANONICAL_TARGET
+
+AM_INIT_AUTOMAKE([foreign no-define])
+dnl AM_MAINTAINER_MODE
+
 AC_CHECK_FILE(/usr/X/include/X11/X.h,
   AC_PREFIX_DEFAULT(/usr/X),
   AC_PREFIX_DEFAULT(/usr))
@@ -10,9 +15,6 @@
   AC_PREFIX_DEFAULT(/usr/X11R6),
   AC_PREFIX_DEFAULT(/usr))
 
-dnl AM_MAINTAINER_MODE
-AC_CANONICAL_TARGET
-
 dnl The version of the Motif libraries
 CURRENT=4
 REVISION=4
@@ -21,9 +23,6 @@
 AC_SUBST(REVISION)
 AC_SUBST(AGE)
 
-dnl This is really dumb but it seems to be bug
-AM_INIT_AUTOMAKE(motif,2.3.8,no-define)
-
 LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE
 
 dnl