summaryrefslogtreecommitdiff
blob: 2e050efbc95862e7cea5ac44e9830e425f0e696b (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- configure.ac.orig	2006-08-12 10:48:37.000000000 +0200
+++ configure.ac	2006-08-12 10:49:05.000000000 +0200
@@ -6,8 +6,7 @@
 
 dnl ---------------------- check for C compiler -----------------
 dnl Checks for one of the C compilers below - change if yours not there.
-CC_LIST="gcc acc cc c89"
-MH_PROG_CC
+AC_PROG_CC
 AC_ISC_POSIX
 
 AC_CONFIG_HEADER(config.h)
@@ -131,7 +130,7 @@
 	if test "$with_debug" = yes; then
 		CFLAGS="${CFLAGS} -Wall"
 	else
-		CFLAGS="-O2 -Wall -fomit-frame-pointer"
+		CFLAGS="${CFLAGS}"
 	fi
 fi
 if test "$on_qnx" = yes; then
@@ -150,7 +149,7 @@
 	[with_latin1=no],
 )
 if test "$with_latin1" = yes; then
-	AC_DEFINE(INCLUDE_LATIN1)
+	AC_DEFINE([INCLUDE_LATIN1], [1], [Define if --with-latin1 is set])
 fi
 
 dnl ----------------- check for Purify support -----------------------
@@ -175,7 +174,7 @@
 	[with_xaw3d=no],
 )
 if test "$with_xaw3d" = yes; then
-	AC_DEFINE(USE_XAW3D)
+	AC_DEFINE([USE_XAW3D], [1], [Use Xaw3d])
 fi
 
 dnl ---------------------- check for neXtaw library -------------------
@@ -186,7 +185,7 @@
 	[with_nextaw=no],
 )
 if test "$with_nextaw" = yes; then
-	AC_DEFINE(USE_NEXTAW)
+	AC_DEFINE([USE_NEXTAW], [1], [Use neXtaw])
 fi
 
 dnl --------------- Check how to make shared libraries -------------------
@@ -204,3 +203,5 @@
         *)
                 ;;
 esac
+
+AC_DEFINE([PDC_MAX_SIGNALS], [], [PDC_MAX_SIGNALS])