1 | ######################################################################
|
---|
2 | # Autoconf initial setup
|
---|
3 | ######################################################################
|
---|
4 |
|
---|
5 | #[AC_]PACKAGE_NAME
|
---|
6 | #[AC_]PACKAGE_TARNAME
|
---|
7 | #[AC_]PACKAGE_VERSION
|
---|
8 | #[AC_]PACKAGE_STRING
|
---|
9 | #[AC_]PACKAGE_BUGREPORT
|
---|
10 | AC_INIT([FACT++],[1.0],[thomas.bretz@epfl.ch],[FACTpp],[http://hello.example.com/])
|
---|
11 | AC_PREREQ([2.65])
|
---|
12 | AC_CONFIG_FILES([Makefile]) # causes x/Makefile.in to be created if x/Makefile.am exists
|
---|
13 | #AC_CONFIG_HEADERS([config.h])
|
---|
14 | AC_CONFIG_MACRO_DIR([.macro_dir])
|
---|
15 | AC_CONFIG_AUX_DIR([.aux_dir])
|
---|
16 | AC_PROG_CC([colorgcc gcc])
|
---|
17 | #If output variable CXXFLAGS was not already set, set it to -g -O2
|
---|
18 | AC_PROG_CXX([colorgcc g++])
|
---|
19 | LT_INIT([disable-static])
|
---|
20 | AC_LANG(C++)
|
---|
21 | #AC_PATH_XTRA
|
---|
22 |
|
---|
23 | ######################################################################
|
---|
24 | # Automake initial setup
|
---|
25 | ######################################################################
|
---|
26 |
|
---|
27 | AM_INIT_AUTOMAKE([1.11 -Wall subdir-objects std-options no-define color-tests parallel-tests silent-rules])
|
---|
28 | AM_SILENT_RULES([yes])
|
---|
29 | AM_PROG_CC_C_O
|
---|
30 |
|
---|
31 | ######################################################################
|
---|
32 | # DOXYGEN SUPPORT
|
---|
33 | ######################################################################
|
---|
34 |
|
---|
35 | ### FIXME: Need a configure commandline switch
|
---|
36 | DX_ENV_APPEND(EXTRACT_ALL, YES)
|
---|
37 | DX_ENV_APPEND(RECURSIVE, YES)
|
---|
38 | DX_ENV_APPEND(ALL_GRAPHS, NO) # change to yes to switch on call(er) graphs
|
---|
39 |
|
---|
40 | #DX_DOXYGEN_FEATURE(ON)
|
---|
41 | #DX_DOT_FEATURE(ON) # sets HAVE_DOT
|
---|
42 | #DX_HTML_FEATURE(ON) # sets GENERATE_HTML (default)
|
---|
43 | #DX_CHM_FEATURE(ON|OFF) # sets GENERATE_HTMLHELP
|
---|
44 | #DX_CHI_FEATURE(ON|OFF) # sets GENERATE_CHI
|
---|
45 | #DX_MAN_FEATURE(ON) # sets GENERATE_MAN (segfaults)
|
---|
46 | #DX_RTF_FEATURE(ON|OFF) # sets GENERATE_RTF
|
---|
47 | #DX_XML_FEATURE(ON|OFF) # sets GENERATE_XML
|
---|
48 | #DX_PDF_FEATURE(ON|OFF) # sets GENERATE_PDF (default)
|
---|
49 | DX_PS_FEATURE(OFF) # sets GENERATE_PS (default)
|
---|
50 | DX_INIT_DOXYGEN($PACKAGE_NAME)#, DOXYFILE-PATH, [OUTPUT-DIR])
|
---|
51 |
|
---|
52 | #USE_HTAGS = $(USE_HTAGS)
|
---|
53 |
|
---|
54 | ######################################################################
|
---|
55 | # pthread/Readline/NCurses (pthread needed by dim and boost)
|
---|
56 | ######################################################################
|
---|
57 |
|
---|
58 | AC_LANG_PUSH(C)
|
---|
59 |
|
---|
60 | # Check for math library (some linux need this to compile cfitsio)
|
---|
61 | AC_CHECK_LIB([m],[cos])
|
---|
62 |
|
---|
63 | # Needed to compile dim
|
---|
64 | ACX_PTHREAD
|
---|
65 |
|
---|
66 | CPPFLAGS+=" "$PTHREAD_CFLAGS" "
|
---|
67 | LDFLAGS+=" "$PTHREAD_CFLAGS" "
|
---|
68 |
|
---|
69 |
|
---|
70 | # Needed to compile FACT++
|
---|
71 | AC_CHECK_READLINE
|
---|
72 |
|
---|
73 | CPPFLAGS+=" "$READLINE_INCLUDES" "
|
---|
74 | LDFLAGS+=" "$READLINE_LIBS" "
|
---|
75 |
|
---|
76 | #AC_CHECK_LIB(readline, readline, [],
|
---|
77 | # [
|
---|
78 | # echo "Error! libreadline not found in default libarary paths."
|
---|
79 | # exit -1
|
---|
80 | # ]
|
---|
81 | #)
|
---|
82 | #AC_CHECK_HEADERS(readline/readline.h, [],
|
---|
83 | # [
|
---|
84 | # echo "Error! readline/readline.h not properly installed in default include path (maybe readline-dev missing)."
|
---|
85 | # exit -1
|
---|
86 | # ]
|
---|
87 | #)
|
---|
88 | #
|
---|
89 |
|
---|
90 | # Needed to compile FACT++
|
---|
91 | AC_CHECK_HEADERS([panel.h],,
|
---|
92 | AC_MSG_ERROR([ncurses header not found]))
|
---|
93 |
|
---|
94 | # Needed to compile FACT++
|
---|
95 | AC_CHECK_LIB(panel, update_panels,,
|
---|
96 | AC_MSG_ERROR([ncurses panel library not found]))
|
---|
97 |
|
---|
98 | # Xm.h (lesstif/motif, needed to compile did)
|
---|
99 | AC_FIND_MOTIF
|
---|
100 |
|
---|
101 | CPPFLAGS+=" "$MOTIF_INCL" "
|
---|
102 | LDFLAGS+=" "$MOTIF_LDFLAGS" "
|
---|
103 |
|
---|
104 | AM_COND_IF(HAS_LIBXP,,
|
---|
105 | AC_MSG_WARN([ Motif/lesstif not found!])
|
---|
106 | )
|
---|
107 |
|
---|
108 | # Needed to compile FACT++
|
---|
109 | AC_CHECK_PACKAGE(cfitsio, ffpss, cfitsio, fitsio.h,,
|
---|
110 | AC_MSG_ERROR([cfitsio not properly installed/not found.]))
|
---|
111 |
|
---|
112 | #AC_CHECK_HEADERS([fitsio.h],,AC_MSG_ERROR([cfitsio headers not found]))
|
---|
113 | #AC_CHECK_LIB([cfitsio], main,,AC_MSG_ERROR([cfitsio library not found]))
|
---|
114 |
|
---|
115 | AC_LANG_POP
|
---|
116 |
|
---|
117 | # Needed to compile FACT++
|
---|
118 | AC_CHECK_PACKAGE(ccfits, main, CCfits, CCfits/CCfits,,
|
---|
119 | AC_MSG_ERROR([CCfits not properly installed/not found.]))
|
---|
120 |
|
---|
121 | #AC_CHECK_HEADERS([CCfits/CCfits],,
|
---|
122 | # AC_MSG_ERROR(CCfits headers not found))
|
---|
123 | #AC_CHECK_LIB(CCfits, main,,
|
---|
124 | # AC_MSG_ERROR(CCfits library not found))
|
---|
125 |
|
---|
126 | ######################################################################
|
---|
127 | # MySQL(++) SUPPORT
|
---|
128 | ######################################################################
|
---|
129 |
|
---|
130 | # Needed to compile FACT++
|
---|
131 | MYSQL_DEVEL
|
---|
132 | MYSQLPP_DEVEL
|
---|
133 |
|
---|
134 | LDFLAGS+=" -lmysqlpp "
|
---|
135 |
|
---|
136 | ######################################################################
|
---|
137 | # BOOST SUPPORT
|
---|
138 | ######################################################################
|
---|
139 |
|
---|
140 | # Needed to compile FACT++
|
---|
141 | AX_BOOST_BASE([1.40], [],
|
---|
142 | AC_MSG_ERROR([The boost C++ libraries (>=1.40) are not properly installed.])
|
---|
143 | )
|
---|
144 |
|
---|
145 | AX_BOOST_ASIO
|
---|
146 | AX_BOOST_DATE_TIME
|
---|
147 | AX_BOOST_FILESYSTEM
|
---|
148 | AX_BOOST_PROGRAM_OPTIONS
|
---|
149 | AX_BOOST_REGEX
|
---|
150 | AX_BOOST_SYSTEM
|
---|
151 | AX_BOOST_THREAD
|
---|
152 | #AX_BOOST_IOSTREAMS
|
---|
153 | #AX_BOOST_PYTHON
|
---|
154 | #AX_BOOST_SERIALIZATION
|
---|
155 | #AX_BOOST_SIGNALS
|
---|
156 | #AX_BOOST_TEST_EXEC_MONITOR
|
---|
157 | #AX_BOOST_UNIT_TEST_FRAMEWORK
|
---|
158 | #AX_BOOST_WAVE
|
---|
159 | #AX_BOOST_WSERIALIZATION
|
---|
160 |
|
---|
161 | LDFLAGS+=" "$BOOST_LDFLAGS" "
|
---|
162 | LDFLAGS+=" -lboost_date_time"
|
---|
163 | LDFLAGS+=" -lboost_filesystem"
|
---|
164 | LDFLAGS+=" -lboost_program_options"
|
---|
165 | LDFLAGS+=" -lboost_regex"
|
---|
166 | LDFLAGS+=" -lboost_system"
|
---|
167 | LDFLAGS+=" -lboost_thread "
|
---|
168 |
|
---|
169 | CPPFLAGS+=" "$BOOST_CPPFLAGS" "
|
---|
170 |
|
---|
171 | #AC_CHECK_HEADERS(
|
---|
172 | # [\
|
---|
173 | # boost/bind.hpp \
|
---|
174 | # boost/lexical_cast.hpp \
|
---|
175 | # boost/filesystem.hpp \
|
---|
176 | # boost/thread.hpp \
|
---|
177 | # boost/function.hpp \
|
---|
178 | # boost/regex.hpp \
|
---|
179 | # boost/asio.hpp \
|
---|
180 | # boost/enable_shared_from_this.hpp \
|
---|
181 | # boost/asio/deadline_timer.hpp \
|
---|
182 | # boost/date_time/posix_time/posix_time.hpp \
|
---|
183 | # boost/date_time/local_time/local_time.hpp \
|
---|
184 | # boost/date_time/gregorian/gregorian.hpp
|
---|
185 | # ], [],
|
---|
186 | # [
|
---|
187 | # echo "Error! At least one needed header of the boost C++ libararies is missing."
|
---|
188 | # exit -1
|
---|
189 | # ]
|
---|
190 | #)
|
---|
191 |
|
---|
192 | ######################################################################
|
---|
193 | # QT4/GUI SUPPORT
|
---|
194 | ######################################################################
|
---|
195 |
|
---|
196 | AC_ARG_WITH([qt4],
|
---|
197 | [AS_HELP_STRING([--without-qt4], [Disable qt4, i.e. disable gui support.])],
|
---|
198 | [], [QT4_DO_IT_ALL])
|
---|
199 |
|
---|
200 | ######################################################################
|
---|
201 | # ROOT SUPPORT
|
---|
202 | ######################################################################
|
---|
203 |
|
---|
204 | AC_ARG_WITH([root],
|
---|
205 | [AS_HELP_STRING([--without-root], [Disable root, i.e. disable gui support.])],
|
---|
206 | [], [ROOT_PATH([5.12/00])]
|
---|
207 | )
|
---|
208 |
|
---|
209 | if test "$ROOTEXEC" != no ;
|
---|
210 | then
|
---|
211 |
|
---|
212 | ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS
|
---|
213 | ROOTLDFLAGS="-L"$ROOTLIBDIR" -lGQt "
|
---|
214 |
|
---|
215 | #AC_CHECK_PROG(HAVE_ROOT_QT, libGQt.so.$ROOTSOVERSION, yes, no, $ROOTLIBDIR)
|
---|
216 | #AC_CHECK_PROG(HAVE_GQT, libGQt.so.$ROOTSOVERSION, yes, no, $LD_LIBRARY_PATH)
|
---|
217 |
|
---|
218 | # It seems it dooesn't work on older root versions
|
---|
219 | ROOT_FEATURE([qt], [HAVE_ROOT_QT=yes])
|
---|
220 |
|
---|
221 | AC_SUBST(ROOTCPPFLAGS)
|
---|
222 | AC_SUBST(ROOTLDFLAGS)
|
---|
223 |
|
---|
224 | fi
|
---|
225 |
|
---|
226 |
|
---|
227 | ######################################################################
|
---|
228 | # Check if we have colordiff to colorize 'svn diff'
|
---|
229 | ######################################################################
|
---|
230 |
|
---|
231 | # Nice to have to support colored diff
|
---|
232 | AC_CHECK_PROG(COLORDIFF, colordiff, colordiff, cat)
|
---|
233 | AC_CHECK_PROG(GROFF, groff, yes, no)
|
---|
234 | AC_CHECK_PROG(PS2PDF, ps2pdf, yes, no)
|
---|
235 | AC_CHECK_PROG(HELP2MAN, help2man, yes, no)
|
---|
236 |
|
---|
237 | ##########################################################################
|
---|
238 | # debug compilation support
|
---|
239 | ##########################################################################
|
---|
240 | #
|
---|
241 | #AC_MSG_CHECKING([whether to build with debug information])
|
---|
242 | #AC_ARG_ENABLE([debug],
|
---|
243 | # [AS_HELP_STRING([--enable-debug],
|
---|
244 | # [enable debug data generation (def=no)])],
|
---|
245 | # [debugit="$enableval"],
|
---|
246 | # [debugit=no])
|
---|
247 | #AC_MSG_RESULT([$debugit])
|
---|
248 | #
|
---|
249 | #if test x"$debugit" = x"yes"; then
|
---|
250 | # AC_DEFINE([DEBUG],[],[Debug Mode])
|
---|
251 | # AM_CXXFLAGS="$AM_CXXFLAGS -g -Wall -Werror -Wno-uninitialized -O0"
|
---|
252 | #else
|
---|
253 | # AC_DEFINE([NDEBUG],[],[No-debug Mode])
|
---|
254 | # AM_CXXFLAGS="$AM_CXXFLAGS -O3"
|
---|
255 | #fi
|
---|
256 | #
|
---|
257 |
|
---|
258 | ##########################################################################
|
---|
259 | # produce conditionals for Makefile.am and for summary
|
---|
260 | ##########################################################################
|
---|
261 |
|
---|
262 | AM_CONDITIONAL(HAS_COLORDIFF, [test "$COLORDIFF" = colordiff])
|
---|
263 | AM_CONDITIONAL(HAS_GROFF, [test "$GROFF" = yes])
|
---|
264 | AM_CONDITIONAL(HAS_PS2PDF, [test "$PS2PDF" = yes])
|
---|
265 | AM_CONDITIONAL(HAS_HELP2MAN, [test "$HELP2MAN" = yes])
|
---|
266 | AM_CONDITIONAL(HAS_DOXYGEN, [test -n "$DX_DOXYGEN"])
|
---|
267 | AM_CONDITIONAL(HAS_DOT, [test -n "$DX_DOT"])
|
---|
268 | AM_CONDITIONAL(HAS_COLORGCC, [test "$GCC" = colorgcc])
|
---|
269 | AM_CONDITIONAL(HAS_QT4, [test -n "$QT4_VERSION"])
|
---|
270 | AM_CONDITIONAL(HAS_ROOT, [test "$ROOTEXEC" != no])
|
---|
271 | AM_CONDITIONAL(HAS_ROOT_QT, [test "$HAVE_ROOT_QT" = yes])
|
---|
272 | AM_CONDITIONAL(HAS_GUI, [test "$QT4_VERSION" -a "$HAVE_ROOT_QT" = yes])
|
---|
273 |
|
---|
274 | AM_CONDITIONAL(IS_FALSE, [test "x" = "y"])
|
---|
275 | AM_CONDITIONAL(IS_TRUE, [test "x" = "x"])
|
---|
276 |
|
---|
277 | ##########################################################################
|
---|
278 | # print summary
|
---|
279 | ##########################################################################
|
---|
280 |
|
---|
281 | AC_OUTPUT
|
---|
282 |
|
---|
283 | AC_MSG_NOTICE()
|
---|
284 | AC_MSG_NOTICE(============================== summary =============================)
|
---|
285 | AC_MSG_NOTICE()
|
---|
286 | AC_MSG_NOTICE([ CPPFLAGS = $CPPFLAGS])
|
---|
287 | AC_MSG_NOTICE()
|
---|
288 | AC_MSG_NOTICE([ LDFLAGS = $LDFLAGS])
|
---|
289 | AC_MSG_NOTICE()
|
---|
290 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
291 | AC_MSG_NOTICE()
|
---|
292 | AC_MSG_NOTICE([ BOOST_CPPFLAGS = $BOOST_CPPFLAGS])
|
---|
293 | AC_MSG_NOTICE([ BOOST_LDFLAGS = $BOOST_LDFLAGS])
|
---|
294 | AC_MSG_NOTICE()
|
---|
295 | AM_COND_IF(HAS_QT4, [
|
---|
296 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
297 | AC_MSG_NOTICE()
|
---|
298 | AC_MSG_NOTICE([ QT4_VERSION = $QT4_VERSION])
|
---|
299 | AC_MSG_NOTICE()
|
---|
300 | AC_MSG_NOTICE([ QT4_LIB = $QT4_LIB])
|
---|
301 | AC_MSG_NOTICE([ QT4_LDFLAGS = $QT4_LDFLAGS])
|
---|
302 | AC_MSG_NOTICE([ QT4_INCLUDES = $QT4_INCLUDES])
|
---|
303 | AC_MSG_NOTICE()
|
---|
304 | AC_MSG_NOTICE([ MOC4 = $MOC4])
|
---|
305 | AC_MSG_NOTICE([ UIC4 = $UIC4])
|
---|
306 | AC_MSG_NOTICE([ RCC4 = $RCC4])
|
---|
307 | AC_MSG_NOTICE()
|
---|
308 | ],[])
|
---|
309 | AM_COND_IF(HAS_ROOT, [
|
---|
310 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
311 | AC_MSG_NOTICE()
|
---|
312 | AC_MSG_NOTICE([ ROOTVERSION = $ROOTVERSION])
|
---|
313 | AC_MSG_NOTICE()
|
---|
314 | AC_MSG_NOTICE([ ROOTEXEC = $ROOTEXEC])
|
---|
315 | AC_MSG_NOTICE([ ROOTCONF = $ROOTCONF])
|
---|
316 | AC_MSG_NOTICE([ ROOTCINT = $ROOTCINT])
|
---|
317 | AC_MSG_NOTICE([ ROOTCPPFLAGS = $ROOTCPPFLAGS])
|
---|
318 | AC_MSG_NOTICE([ ROOTLDFLAGS = $ROOTLDFLAGS])
|
---|
319 | AC_MSG_NOTICE()
|
---|
320 | ],[])
|
---|
321 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
322 | AC_MSG_NOTICE()
|
---|
323 | AM_COND_IF(HAS_LIBXP,
|
---|
324 | AC_MSG_NOTICE([ Motif/lesstif / 'Xm/Xm.h' 'libXp' found: yes]),
|
---|
325 | AC_MSG_NOTICE([ Motif/lesstif / 'Xm/Xm.h' 'libXp' found: no])
|
---|
326 | )
|
---|
327 | AM_COND_IF(HAS_COLORDIFF,
|
---|
328 | AC_MSG_NOTICE([ colored svn diff / 'colordiff' found: yes]),
|
---|
329 | AC_MSG_NOTICE([ colored svn diff / 'colordiff' found: no])
|
---|
330 | )
|
---|
331 | AM_COND_IF(HAS_HELP2MAN,[
|
---|
332 | AC_MSG_NOTICE([ man-pages enabled / 'help2man' found: $HELP2MAN])
|
---|
333 | AM_COND_IF(HAS_GROFF,
|
---|
334 | AC_MSG_NOTICE([ build of html enabled / 'groff' found: yes])
|
---|
335 | AC_MSG_NOTICE([ build of pdf enabled / 'ps2pdf' found: $PS2PDF]),
|
---|
336 | AC_MSG_NOTICE([ build of html and pdf / 'groff' found: no])
|
---|
337 | )
|
---|
338 | ],[
|
---|
339 | AC_MSG_NOTICE([ man, html, pdf enabled / 'help2man' found: no])
|
---|
340 | ])
|
---|
341 |
|
---|
342 | AM_COND_IF(HAS_DOXYGEN,
|
---|
343 | AC_MSG_NOTICE([ doxygen docu enabled / 'doxygen' found: $DX_DOXYGEN]),
|
---|
344 | AC_MSG_NOTICE([ doxygen docu enabled / 'doxygen' found: no])
|
---|
345 | )
|
---|
346 | AM_COND_IF(HAS_DOT,
|
---|
347 | AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz) found: $DX_DOT]),
|
---|
348 | AC_MSG_NOTICE([ doxygen graphs enabled / 'dot' (graphviz) found: no])
|
---|
349 | )
|
---|
350 | AM_COND_IF(HAS_QT4,
|
---|
351 | AC_MSG_NOTICE([ QT4 support enabled / QT4 toolkit found: yes]),
|
---|
352 | AC_MSG_NOTICE([ QT4 support enabled / QT4 toolkit found: no])
|
---|
353 | )
|
---|
354 | AC_MSG_NOTICE([ ROOT support enabled / root >= 5.12/00 found: $ROOTEXEC])
|
---|
355 | AC_MSG_NOTICE([ ROOT built with --with-qt found: $HAVE_ROOT_QT])
|
---|
356 | AC_MSG_NOTICE()
|
---|
357 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
358 | AC_MSG_NOTICE()
|
---|
359 | AC_MSG_NOTICE([Suggestions and hints:])
|
---|
360 | AC_MSG_NOTICE()
|
---|
361 | AC_MSG_NOTICE([ - Add 'V=1' to you make-call to switch on verbose output.])
|
---|
362 | AC_MSG_NOTICE([ - Do not try to create man-pages with doxygen,])
|
---|
363 | AC_MSG_NOTICE([ it does most probably not work.])
|
---|
364 | AM_COND_IF(HAS_COLORGCC,,
|
---|
365 | AC_MSG_NOTICE([ - Install colorgcc to get colored compiler output.])
|
---|
366 | )
|
---|
367 | AC_MSG_NOTICE([ - If you send me a bug report about:])
|
---|
368 | AC_MSG_NOTICE([ + configure: please attach the file config.log])
|
---|
369 | AC_MSG_NOTICE([ + make: please send me the output of 'make V=1'])
|
---|
370 | AC_MSG_NOTICE()
|
---|
371 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
372 | AC_MSG_NOTICE()
|
---|
373 | AC_MSG_NOTICE([Some interesting build targets:])
|
---|
374 | AC_MSG_NOTICE()
|
---|
375 | AC_MSG_NOTICE([ diff: colored 'svn diff' if colordiff is installed])
|
---|
376 | AM_COND_IF(HAS_HELP2MAN,[
|
---|
377 | AC_MSG_NOTICE([ program.man: build man-page from 'program --help'])
|
---|
378 | AC_MSG_NOTICE([ (display with 'man ./program.man')])
|
---|
379 | AM_COND_IF(HAS_GROFF,[
|
---|
380 | AC_MSG_NOTICE([ program.html: build html page from man-page])
|
---|
381 | AM_COND_IF(HAS_PS2PDF,
|
---|
382 | AC_MSG_NOTICE([ program.pdf: build pdf documentation from man page])
|
---|
383 | )
|
---|
384 | ])
|
---|
385 | ])
|
---|
386 | AM_COND_IF(HAS_DOXYGEN,
|
---|
387 | AC_MSG_NOTICE([ doxygen-run: build html documentation with doxygen])
|
---|
388 | AC_MSG_NOTICE([ doxygen-doc: build html and pdf documentation with doxygen])
|
---|
389 | )
|
---|
390 | AC_MSG_NOTICE([ man: build all buildable documentation])
|
---|
391 | AC_MSG_NOTICE()
|
---|
392 | AC_MSG_NOTICE(--------------------------------------------------------------------)
|
---|
393 | AC_MSG_NOTICE()
|
---|
394 | AM_COND_IF(HAS_LIBXP,,
|
---|
395 | AC_MSG_WARN([ Motif/lesstif not found. The dim gui did will not be built!])
|
---|
396 | )
|
---|
397 | AM_COND_IF(HAS_ROOT,
|
---|
398 | [AM_COND_IF(HAS_ROOT_QT,,
|
---|
399 | AC_MSG_WARN([ root found but it was built without the --with-qt option])
|
---|
400 | )]
|
---|
401 | )
|
---|
402 | AM_COND_IF(HAS_GUI, [],
|
---|
403 | AC_MSG_WARN([ Either QT4 or qt-root is missing: GUI disabled!])
|
---|
404 | )
|
---|
405 | AC_MSG_NOTICE()
|
---|