summaryrefslogtreecommitdiff
path: root/comms/unixcw/files/patch-configure.ac
blob: eb13422ec094ddc17034fd3311901c97fca35b54 (plain) (blame)
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
--- configure.ac.orig	2006-07-13 01:31:21.000000000 -0400
+++ configure.ac	2007-12-28 15:31:58.000000000 -0500
@@ -18,11 +18,10 @@
 #
 
 # General initializations.
-AC_PREREQ(2.57)
+AC_PREREQ(2.61)
 AC_INIT([UnixCW], 2.3, [simon_baldwin@yahoo.com])
-
 # Specify a configuration header.
-AC_CONFIG_HEADERS(src/config.h)
+AC_CONFIG_HEADER(src/config.h)
 
 # General checks for programs.
 AC_PROG_CC
@@ -48,6 +47,7 @@
 
 # Checks for libraries.
 AC_CHECK_LIB(curses, initscr)
+AC_CHECK_LIB(intl, gettext)
 
 # Checks for header files, and refuse to go on if no KIOCSOUND is available.
 AC_HEADER_STDC
@@ -136,7 +136,12 @@
   AC_MSG_WARN([Hint: try setting a value for the QTDIR variable])
 fi
 AC_SUBST(SUBDIRS)
-
+if test -n "$QTLIB" ; then
+	QTLIBR=$QTLIB
+else
+	QTLIBR="qt"
+fi
+AC_SUBST(QTLIBR)
 # Add -Wall, -W, -pedantic, and other paranoia to gcc command flags, and -Wall
 # to with a few suppressions to icc command flags, then similarly, though less
 # so, for g++ and icpc.
@@ -200,6 +205,8 @@
     fi
   fi
   rm -f conftest.so
+dnl fake it here for now
+  CC_LINKS_SO="yes"
   if test $CC_LINKS_SO = "yes" ; then
     AC_MSG_RESULT(yes)
   else