source: trunk/configure.ac @ 1822

Revision 1802, 31.4 KB checked in by Freddie Akeroyd, 4 months ago (diff)

Remove references to nxvalidate.properties.in
Refs #236

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1dnl====================================================================
2dnl  NeXus - Neutron & X-ray Common Data Format
3dnl 
4dnl  Autoconf (configure script) generation file
5dnl 
6dnl  $Id$
7dnl
8dnl  Copyright (C) 2004 Freddie Akeroyd
9dnl 
10dnl  This library is free software; you can redistribute it and/or
11dnl  modify it under the terms of the GNU Lesser General Public
12dnl  License as published by the Free Software Foundation; either
13dnl  version 2 of the License, or (at your option) any later version.
14dnl
15dnl  This library is distributed in the hope that it will be useful,
16dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
17dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18dnl  Lesser General Public License for more details.
19dnl
20dnl  You should have received a copy of the GNU Lesser General Public
21dnl  License along with this library; if not, write to the Free
22dnl  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23dnl  MA  02111-1307  USA
24dnl             
25dnl  For further information, see <http://www.nexusformat.org>
26dnl
27dnl                       -*- Autoconf -*-
28dnl Process this file with autoconf to produce a configure script.
29dnl
30
31AC_PREREQ(2.61)
32AC_REVISION($Revision$)
33
34m4_define([ISODATE],m4_esyscmd([date +%Y%m%d | tr -d '\n' ]))dnl
35dnl m4_define([SVNREV],m4_esyscmd_s([`svnversion`]))
36m4_define([SVNREV],m4_esyscmd([svn info | grep Revision | awk '{print $2}' | tr -d '\n' ]))dnl
37m4_define([SVN_RELEASE],m4_join([],ISODATE,[svn],SVNREV)))dnl
38
39## main version we are based on
40m4_define([NEXUS_VERSION],[4.3.0])dnl
41
42## things like  rc1   or  20100903svn1734
43m4_define([NEXUS_RELEASE],SVN_RELEASE)dnl
44#m4_define([NEXUS_RELEASE],[rc1])dnl
45
46# 0.* for pre release; 1, 2, ... post releas
47m4_define([PACKAGE_RELEASE],[0.1])dnl
48
49AC_INIT([NeXus Library], m4_join([],NEXUS_VERSION,[-],NEXUS_RELEASE), [nexus-developers@nexusformat.org], [nexus])
50AC_COPYRIGHT([Copyright (C) 2004 NeXus International Advisory Committee
51This software is covered by the GNU LESSER GENERAL PUBLIC LICENSE
52see file COPYING for further information])
53
54m4_join([],[NEXUS_VERSION=],"NEXUS_VERSION")
55m4_join([],[NEXUS_RELEASE=],"NEXUS_RELEASE")
56m4_join([],[SVN_REVISION=],"SVN_REVISION")
57m4_join([],[PACKAGE_RELEASE=],"PACKAGE_RELEASE")
58AC_SUBST([NEXUS_VERSION])
59AC_SUBST([NEXUS_RELEASE])
60AC_SUBST([SVN_REVISION])
61AC_SUBST([PACKAGE_RELEASE])
62# AC_DEFINE([NEXUS_VERSION], "NEXUS_VERSION", [NeXus Version])dnl
63# AC_DEFINE([NEXUS_RELEASE], "NEXUS_RELEASE", [NeXus Release])dnl
64# AC_DEFINE([PACKAGE_RELEASE], "PACKAGE_RELEASE", [Package Release])dnl
65AC_DEFINE([SVN_REVISION], "SVNREV", [SVN Revision])dnl
66
67
68# used by libtool - need to get if from 4.3.0 better
69#NXLTVERSINFO="1:0:1"
70#NXLTVERSINFO="4:3:4"
71NXLTVERSINFO="5:0:5"
72
73AC_CONFIG_AUX_DIR(config)
74AC_CONFIG_SRCDIR([src/napi.c])
75AC_CANONICAL_TARGET
76AC_CANONICAL_BUILD
77
78dnl $EGREP is used in macros included from acinclude.m4
79AC_PROG_EGREP
80
81dnl check for correct autoconf version - the same check is done in autogen.sh
82if test ! -z "$srcdir"; then
83    . $srcdir/autoversion.sh
84else
85    . ./autoversion.sh
86fi
87
88FCFLAGS="$F90FLAGS $FCFLAGS" # for compatibility with nexus-3.0
89
90# default is tar-v7 but this only supports paths up to 99 characters
91# and the doxygen doc has longer than this.
92AM_INIT_AUTOMAKE([1.6 tar-ustar])
93
94AC_SUBST(NXLTVERSINFO)
95
96AM_CONFIG_HEADER(include/nxconfig.h:include/nxconfig_h.in)
97
98AC_ARG_ENABLE([debug], AC_HELP_STRING([--enable-debug],[Turn off optimisation]), [enable_debug=$enableval],[enable_debug=no])
99
100AC_ARG_ENABLE([32bit], AC_HELP_STRING([--enable-32bit],[build 32bit binary on 64 bit computer]), [enable_32bit=$enableval],[enable_32bit=no])
101
102dnl Checks for programs.
103AC_ARG_WITH([cc], AC_HELP_STRING([--with-cc=c compiler], [Specify name of C compiler]),
104        [with_cc=$withval], [with_cc=yes])
105if test x"$with_cc" != x"no" ; then
106        if test x"$with_cc" != x"yes" ; then CC="$with_cc"; fi
107        AC_PROG_CC
108        dnl Check C compiler options
109        AC_CHECK_CPP_OPTION([-fno-common])
110else
111        AC_MSG_ERROR([You need a C compiler to compile this package])
112fi
113
114AC_ARG_WITH([cxx], AC_HELP_STRING([--with-cxx=c++ compiler], [Specify name of C++ compiler]), [with_cxx=$withval], [with_cxx=yes])
115if test x"$with_cxx" != x"no" ; then
116        if test x"$with_cxx" != x"yes" ; then CXX="$with_cxx"; fi
117        AC_PROG_CXX
118else
119        CXX=
120fi
121
122AC_SUBST(WITH_F77)
123AC_ARG_WITH([f77], AC_HELP_STRING([--with-f77=f77 compiler], [Specify name of FORTRAN 77 compiler]),
124        [], [with_f77=no])
125if test ! -z "$with_f77" -a x"$with_f77" != x"no" ; then
126        if test x"$with_f77" != x"yes" ; then F77="$with_f77"; fi
127        AC_PROG_F77
128        dnl Check FORTRAN compiler options
129        dnl     AC_CHECK_F77_OPTION([-Wno-globals])
130        dnl     AC_CHECK_F77_OPTION([-fno-common])  # use with caution
131        mytop=`pwd`
132        dnl get right F77 include option
133        AC_CHECK_F77_OPTION([-I$mytop/bindings/f77],[      INCLUDE 'napif.inc'])
134        FFLAGS="$FFLAGS -g"
135        AC_F77_LIBRARY_LDFLAGS
136        WITH_F77=yes
137else
138        F77=
139        WITH_F77=no
140fi
141
142AC_SUBST(WITH_F90)
143AC_ARG_WITH([f90], AC_HELP_STRING([--with-f90=f90 compiler], [Specify name of FORTRAN 90 compiler]),
144        [], [with_f90=no])
145if test ! -z "$with_f90" -a x"$with_f90" != x"no" ; then
146        if test x"$with_f90" = x"yes" ; then
147                AC_CHECK_PROGS(FC, [g95 gfortran f90 f95 ifort])
148        else
149                FC="$with_f90"
150                AC_CHECK_PROGS(FC, [$with_f90])
151        fi
152        dnl f90 has a "module path" option - hard to get as you really need a
153        dnl ready compiled module to point the option at so for now we are just
154        dnl check that the option takes a directory and the compiler works
155        mytop=`pwd`
156        FCFLAGS="$FCFLAGS -g -I$mytop/bindings/f90"
157        dnl AC_CHECK_F90_OPTION([-p $mytop/bindings/f90],[      INCLUDE 'NXmodule.f90'])
158        dnl AC_CHECK_F90_OPTION([-p $mytop/bindings/f90],[      INCLUDE 'NXmodule.f90'])
159        dnl AC_CHECK_F90_OPTION([-qextname])
160        AC_FC_LIBRARY_LDFLAGS
161#        if test x$with_f77=xno; then with_f77=$FC; fi
162#        if test x$with_f77=xno; then with_f77=yes; fi
163        WITH_F90=yes
164else
165        FC=
166        WITH_F90=no
167fi
168
169AC_ARG_WITH([matlabroot], AC_HELP_STRING([--with-matlabroot=path to matlab install dir], [Specify location of matlab installation directory]),
170        [], [with_matlabroot=no])
171if test x"$with_matlabroot" != x"no" ; then
172    MATLABROOT="$with_matlabroot"
173fi
174AC_PATH_PROG(MATLAB,matlab,[],[$MATLABROOT/bin:/usr/local/matlab/bin:/opt/matlab/bin:$PATH])
175if test x"$MATLABROOT" = x -a x"$MATLAB" != x; then
176    MATLABROOT=`dirname $MATLAB`/..
177fi
178
179dnl thread local storage
180AC_MSG_CHECKING([for __thread])
181AC_LINK_IFELSE([AC_LANG_PROGRAM([#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC__MINOR__ < 1) || (__GNUC__ == 4 && __GNUC__MINOR__ == 1 && __GNUC_PATCHLEVEL__ < 2))
182#endif], [static __thread int p = 0])],
183               [AC_DEFINE(HAVE_TLS, 1,
184                      Define to 1 if compiler supports __thread)
185                AC_MSG_RESULT([yes])],
186               [AC_MSG_RESULT([no])])
187
188java_host="linux"
189JAVAROOT=""
190AC_ARG_WITH([java-home], AC_HELP_STRING([--with-java-home=JAVA SDK Home], [Specify location of top directory of JAVA SDK i.e. where the bin, lib and include directories live]),
191        [], [with_java_home=$withval])
192AC_ARG_WITH([java], AC_HELP_STRING([--with-java=path to java executable], [Specify location of JAVA executable]),
193        [], [with_java=no])
194if test -z "$with_java_home" -a x$with_java != xno; then
195    def_javac=`which javac`
196    link_javac=`readlink -e "$def_javac"`
197    with_java_home=`dirname "$link_javac"`/..
198fi
199if test -d "$with_java_home"; then
200        JAVAROOT="$with_java_home"
201        AC_MSG_NOTICE([Java SDK home is $JAVAROOT])
202        JAVAINCLUDE="-I$JAVAROOT/include"
203        AC_PATH_PROGS(JAVAC,javac gcj,,[$JAVAROOT/bin])
204        if test `basename "$JAVAC"` = "gcj"; then
205            JAVACFLAGS="-C"     # force creation of .class files
206        fi
207        AC_PATH_PROGS(JAVA,java gij,,[$JAVAROOT/bin])
208        AC_PATH_PROGS(JAVAH,javah gcjh,,[$JAVAROOT/bin])
209        AC_PATH_PROGS(JAVADOC,javadoc,,[$JAVAROOT/bin:$PATH])
210        AC_PATH_PROGS(JAR,jar fastjar,,[$JAVAROOT/bin:$PATH])
211        AX_CHECK_JUNIT
212fi
213
214AC_ARG_WITH([contrib], AC_HELP_STRING([--with-contrib=names_of_apps_to_build], [Specify a list of targets from the contrib directory to build]),
215        [CONTRIB=$withval], [CONTRIB=no])
216AM_CONDITIONAL(BUILD_CONTRIB, [test "$CONTRIB" != "no"])
217AC_SUBST(CBFLIBROOT)
218AC_ARG_WITH([cbflib],
219        AC_HELP_STRING([--with-cbflib=/path/to/cbflib],
220                       [Specify location of CBFLib files]),
221        [if test $withval != no; then CBFLIBROOT=$withval; fi])
222AM_CONDITIONAL(HAVE_CBFLIB, [test "$CBFLIBROOT" != ""])
223
224AC_SUBST(IDLROOT)
225AC_ARG_WITH([idlroot],
226        AC_HELP_STRING([--with-idlroot=/path/to/idlroot],
227                       [Specify root directory of system idl installation]),
228        [if test $withval != no; then IDLROOT=$withval; fi])
229AM_CONDITIONAL(HAVE_IDL, [test "$IDLROOT" != ""])
230
231IDLDLM="\${prefix}/lib"
232AC_SUBST(IDLDLM)
233AC_ARG_WITH([idldlm],
234        AC_HELP_STRING([--with-idldlm=/path/to/idldlm],
235                       [Specify location ito install idl dlm files to]),
236        [if test $withval != no; then IDLDLM=$withval; fi])
237
238AC_ARG_WITH([doxygen], AC_HELP_STRING([--with-doxygen=/path/to/doxygen], [Specify path to doxygen]), [with_doxygen=$withval], [with_doxygen=no])
239if test x"$with_doxygen" != x"no" ; then
240        if test x"$with_doxygen" != x"yes" ; then DOXYGEN="$with_doxygen"; fi
241        AC_CHECK_PROGS(DOXYGEN,[doxygen])
242        AC_CHECK_PROGS(DOT,[dot])
243        AC_CHECK_PROGS(PDFLATEX,[pdflatex])
244        AC_PROG_CXX
245else
246        DOXYGEN=
247        PDFLATEX=
248        DOT=
249fi
250
251AC_SUBST(FCFLAGS)
252AC_SUBST(JAVACFLAGS)
253AC_SUBST(SHARED_LDFLAGS)
254AC_SUBST(JAVAINCLUDE)
255
256SHARED_LDFLAGS=""
257
258NXDOCDIR='${datadir}/nexus/doc'
259NXEXAMPLEDIR='${datadir}/nexus/examples'
260NXTESTDIR='${prefix}/nexus/tests'
261AC_SUBST(NXDOCDIR)
262AC_SUBST(NXEXAMPLEDIR)
263AC_SUBST(NXTESTDIR)
264
265AM_PROG_GCJ
266AM_PROG_CC_C_O
267
268AC_PROG_LIBTOOL
269dnl AC_LIBTOOL_WIN32_DLL
270
271AC_PROG_MAKE_SET
272AC_PROG_RANLIB
273
274if test x$with_tcl != xno; then
275    AC_CHECK_ROOT([tcl],[TCLROOT],[/usr /usr/local],[include/tcl.h],[no])
276fi
277if test x$with_guile != xno; then
278    AC_CHECK_ROOT([guile],[GUILEROOT],[/usr /usr/local],[include/libguile.h],[no])
279fi
280if test x$with_opengenie != xno; then
281    AC_CHECK_ROOT([opengenie],[OPENGENIEROOT],[/usr/local],[genie/genie.so],[no])
282fi
283if test x$with_python != xno; then
284    AC_CHECK_ROOT([python],[PYTHONROOT],[/usr /usr/local],[bin/python],[yes])
285    if test x$PYTHONROOT != x; then
286        if test -r "$PYTHONROOT/bin/python"; then PYTHON="$PYTHONROOT/bin/python"; fi
287        if test -r "$PYTHONROOT/python"; then PYTHON="$PYTHONROOT/python"; fi
288    fi
289    AM_PATH_PYTHON(,, :)
290    AC_CHECK_PYTHON_MODULE(numpy)
291    AC_CHECK_PYTHON_MODULE(ctypes)
292fi
293
294AC_ARG_WITH([swig], AC_HELP_STRING([--with-swig=swig compiler], [Specify path of swig compiler]), [with_swig=$withval], [with_swig=])
295if test x$with_tcl != xno -o x$with_guile != xno; then
296    if test x$with_swig != xyes; then
297        SWIG=$with_swig
298    fi
299    AC_CHECK_PROGS(SWIG,[swig])
300else
301    SWIG=
302fi
303
304AC_CHECK_PROGS(DOCBOOK2PDF,[docbook2pdf])
305AC_CHECK_PROGS(DOCBOOK2TXT,[docbook2txt])
306AC_CHECK_PROGS(TCLSH,[tclsh])
307AC_CHECK_PROGS(GUILE,[guile])
308AC_CHECK_PROGS(LATEX,[latex])
309AC_CHECK_PROGS(WGET,[wget])
310AC_CHECK_PROGS(XMLLINT,[xmllint])
311AC_CHECK_PROGS(SVN2CL,[svn2cl])
312
313
314dnl  flags for building swig guile bindings
315AC_SUBST(SWGUILEFLAGS) 
316if test x$GUILEROOT != x -a x$SWIG != x; then
317    if test `$SWIG -guile -help 2>&1 | grep -i '\-linkage' | wc -l` -gt 0; then
318        SWGUILEFLAGS="-Linkage ltdlmod"
319    else
320        SWGUILEFLAGS=""
321    fi
322fi
323
324dnl These are used in build_rules.am to pass any approptiate
325dnl tag to libtool for f90 building
326#if test `$EGREP "available_tags=.*F77" libtool | wc -l` -gt 0; then
327#    LTF90COMPILETAG="--tag=F77"
328#    LTF90LINKTAG="--tag=CC"
329#else
330#    LTF90COMPILETAG=""
331#    LTF90LINKTAG=""
332#fi
333#AC_SUBST(LTF90COMPILETAG)
334#AC_SUBST(LTF90LINKTAG)
335
336dnl
337dnl First any host specific bits
338dnl
339MINGW_MSYS=no
340
341dnl microsoft LIB command (used in MinGW makefile to create .LIB file)
342AC_CHECK_PROGS(MS_LIB, [LIB])
343AM_CONDITIONAL(HAVE_MS_LIB, [test ! -z "$MS_LIB"])
344
345# strict aliasing causes issues with casts from NXmalloc()
346CFLAGS="$CFLAGS -fno-strict-aliasing"
347CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
348
349# check for debug
350if test "$enable_debug" = "yes"; then
351    CFLAGS="$CFLAGS -O0 -g"
352    CXXFLAGS="$CXXFLAGS -O0 -g"
353fi
354
355if test "$enable_32bit" = "yes"; then
356    CFLAGS="$CFLAGS -m32"
357    CXXFLAGS="$CXXFLAGS -m32"
358fi
359
360# enable compiler warnings if gcc
361if test "$CC" = "gcc"; then
362#    CFLAGS="$CFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment"
363    CFLAGS="$CFLAGS -Wall"
364fi
365
366if test "$CXX" = "g++"; then
367#    CXXFLAGS="$CXXFLAGS -Wall -Wno-unused-variable -Wno-sign-compare -Wno-comment"
368    CXXFLAGS="$CXXFLAGS -Wall"
369fi
370
371dnl extra FCFLAGS for Absoft f90
372if test ! -z "$FC"; then
373    fcpathlc=`which $FC 2>/dev/null | tr 'A-Z' 'a-z'`
374    case "$fcpathlc" in
375        *absoft*)
376            echo "Absoft f90 compiler detected - adjusting FCFLAGS"
377            FCFLAGS="$FCFLAGS -p$mytop/bindings/f90 -g -cons -YEXT_NAMES=LCS -YEXT_SFX=_"
378            case "$host_cpu" in
379                *powerpc*)
380                    FCFLAGS="$FCFLAGS -N11"
381                    ;;
382            esac
383            ;;
384    esac
385fi
386
387dnl extra FFLAGS for Absoft f77
388if test ! -z "$F77"; then
389    f77pathlc=`which $F77 2>/dev/null | tr 'A-Z' 'a-z'`
390    case "$f77pathlc" in
391        *absoft*)
392            echo "Absoft f77 compiler detected - adjusting FFLAGS"
393            FFLAGS="$FFLAGS -g -f -N15"
394            ;;
395    esac
396fi
397
398HDF_EXT=a # library file extent to look for with HDF libraries
399HDF5_EXT=so # library file extent to look for with HDF5 libraries
400SHARED_EXT=so
401AC_SUBST(SHARED_EXT)
402
403SAVE_LIBS="$LIBS"
404AC_CHECK_LIB(xml2, [xmlParseFile])
405if test "x$ac_cv_lib_xml2_xmlParseFile" = xyes; then
406    LIBXML2_CFLAGS='`xml2-config --cflags`'
407    LIBXML2_LDFLAGS='`xml2-config --libs`'
408    LIBXML2_MESSAGE="yes"
409else
410    LIBXML2_CFLAGS=''
411    LIBXML2_LDFLAGS=''
412    LIBXML2_MESSAGE="no (will not build NXsummary or NXtranslate)"
413fi
414LIBS="$SAVE_LIBS"
415AC_SUBST(LIBXML2_CFLAGS)
416AC_SUBST(LIBXML2_LDFLAGS)
417
418# set up for linux here - mac is covered in the case $host statement
419AS_CASE([$build_cpu], [x86|i386|i686], [IDLCPU=x86], [IDLCPU=$build_cpu])
420if test $enable_32bit = yes; then
421    IDL_HOST="bin.linux.x86"    # force 32 bit on a 64 bit machine
422else
423    IDL_HOST="bin.linux.$IDLCPU"
424fi
425AC_SUBST(IDL_HOST)
426
427case $host in
428    alpha*-dec-osf*)
429        java_host="alpha"
430        if test "$CC" = "cc" -o "$CC" = "c89"; then
431            CPPFLAGS="$CPPFLAGS -pthread"
432        fi
433        if test "$CXX" = "cxx"; then
434            CPPFLAGS="$CPPFLAGS -pthread -D__USE_STD_IOSTREAM"
435            CXXFLAGS="$CXXFLAGS -std gnu"
436        fi
437        ;;
438
439    *mingw*)
440        SHARED_LDFLAGS="$SHARED_LDFLAGS -no-undefined" #  -Wl,--add-stdcall-alias
441        MINGW_MSYS=yes
442        HDF_EXT=dll
443        HDF5_EXT=dll
444        SHARED_EXT=dll
445        LIBXML2_CFLAGS=-I/usr/local/include
446        java_host="win32"
447        ;;
448
449    *cygwin*)
450#       SHARED_LDFLAGS="$SHARED_LDFLAGS -no-undefined" #  -Wl,--add-stdcall-alias
451        ;;
452
453    *darwin*)
454        dnl -no-cpp-precomp needed on MacOS-X (and others?)
455        AC_CHECK_C_OPTION([-no-cpp-precomp])
456        CPPFLAGS="$CPPFLAGS -D__unix"
457        CFLAGS="$CFLAGS -g"
458        FFLAGS="$FFLAGS -g"
459        HDF5_EXT=dylib
460        SHARED_EXT=dylib
461dnl This is a hack for libtool - for some reason the F77 tag
462dnl does not get set with the commands to create a shared library
463        AC_MSG_NOTICE([Patching libtool for F77 shared linking])
464        sed -e "s/^archive_cmds=\"\"//" < libtool > libtool.$$
465        mv -f libtool.$$ libtool
466        chmod +x libtool
467        JAVAINCLUDE="-I/System/Library/Frameworks/JavaVM.framework/Headers"
468dnl     F90FLAGS="$F90FLAGS -g -cons -YEXT_NAMES=LCS -YEXT_SFX=_"
469dnl     FCFLAGS="$FCFLAGS -qextname"
470        SHARED_LDFLAGS="$SHARED_LDFLAGS -Wl,-single_module"
471#       LTF90COMPILETAG="--tag=F77"
472#       LTF90LINKTAG="--tag=CC"
473dnl     LDFLAGS="$LDFLAGS -flat_namespace"
474dnl     if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
475dnl           lt_int_apple_cc_single_mod=yes
476dnl     fi
477dnl     if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
478dnl           archive_cmds='$CC -dynamiclib -single_module'
479dnl     fi
480        if test $enable_32bit = yes; then
481            IDL_HOST="bin.darwin.i386" # force 32bit build
482        else
483            IDL_HOST="bin.darwin.x86_64"
484        fi
485        ;;
486esac
487
488if test ! -z "$JAVAINCLUDE" -a ! -z "$java_host"; then
489# avoid adding /usr/include/linux to include path
490    if test "$JAVAROOT" != "/usr" -a "$JAVAROOT" != "/usr/"; then
491        JAVAINCLUDE="$JAVAINCLUDE -I$JAVAROOT/include/$java_host"
492    fi
493fi
494
495if test "x$JAVAROOT" != x; then
496    echo "looking for ant"
497    AC_PATH_PROG(ANT_PROG,ant)
498else
499    ANT_PROG=""
500fi
501AC_SUBST(ANT_PROG)
502AM_CONDITIONAL(HAVE_ANT, [ test "x$ANT_PROG" != "x" ])
503
504dnl
505dnl * locate path to HDF libraries *
506dnl
507dnl first see if one has been given
508dnl
509H4ROOT=""
510H4INCSUBROOT=""
511H4LIBSUBROOT=""
512H5ROOT=""
513MXMLROOT=""
514AC_SUBST(H4ROOT)
515AC_SUBST(H5ROOT)
516AC_SUBST(MXMLROOT)
517AC_ARG_WITH([hdf4],
518        AC_HELP_STRING([--with-hdf4=/path/to/hdf4],
519                       [Specify location of HDF4 files]),
520        [if test $withval != no -a $withval != yes; then H4ROOT=$withval; fi])
521AC_ARG_WITH([hdf5],
522        AC_HELP_STRING([--with-hdf5=/path/to/hdf5],
523                       [Specify location of HDF5 files]),
524        [if test $withval != no -a $withval != yes; then H5ROOT=$withval; fi])
525AC_ARG_WITH([xml],
526        AC_HELP_STRING([--with-xml=/path/to/mxml],
527                       [Specify location of MXML library files]),
528        [if test $withval != no -a $withval != yes; then MXMLROOT=$withval; fi])
529dnl otherwise try and find HDF path, but not if
530dnl e.g. --without-hdf4 has been specified (hence check on $with_hdf4 != no )
531dnl first HDF4
532EXTRA_LDPATH=""
533EXTRA_LD_LIBRARY_PATH=""
534AC_SUBST(EXTRA_LD_LIBRARY_PATH)
535HDF4SEARCH="/usr/local/hdf4 /usr/local/hdf /usr/local /sw /opt/local /usr"
536if test "$with_hdf4" != "no" -a -z "$H4ROOT"; then
537    AC_MSG_CHECKING(for location of HDF4 libraries)
538    for i in $HDF4SEARCH; do
539        for j in lib64 lib; do
540            if test -z "$H4ROOT" -a -r ${i}/$j/libdf.$HDF_EXT; then H4ROOT=$i; fi
541        done
542    done
543    for i in lib64 lib; do
544        if test -r /usr/$i/hdf/libdf.$HDF_EXT; then
545            H4ROOT=/usr
546            H4LIBSUBROOT=hdf
547        fi
548    done
549    if test -r $H4ROOT/include/hdf; then
550        H4INCSUBROOT=hdf
551    fi
552    if test -z "$H4ROOT"; then
553        AC_MSG_RESULT(unknown)
554    else
555        AC_MSG_RESULT($H4ROOT)
556    fi
557fi
558if test "$H4ROOT"; then
559    H4MAJORVERSION=`grep LIBVER_MAJOR ${H4ROOT}/include/${H4INCSUBROOT}/hfile.h | awk '{ print $3}'`
560    H4MINORVERSION=`grep LIBVER_MINOR ${H4ROOT}/include/${H4INCSUBROOT}/hfile.h | awk '{ print $3}'`
561    H4RELEASE=`grep LIBVER_RELEASE ${H4ROOT}/include/${H4INCSUBROOT}/hfile.h | awk '{ print $3}'`
562    H4VERSION=$H4MAJORVERSION.$H4MINORVERSION.$H4RELEASE
563    case $H4VERSION in
564        4.[[12]]*)
565                HDF4_LDFLAGS="";
566                for j in lib lib64; do
567                    if test -d $H4ROOT/$j/$H4LIBSUBROOT; then
568                        HDF4_LDFLAGS="-L$H4ROOT/$j/$H4LIBSUBROOT $HDF4_LDFLAGS"
569                        EXTRA_LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:$H4ROOT/$j/$H4LIBSUBROOT
570                    fi
571                done
572                EXTRA_LDPATH="$EXTRA_LDPATH $HDF4_LDFLAGS"
573                HDF4_LDFLAGS="$HDF4_LDFLAGS -lmfhdf -ldf";
574                if test -z "$H4INCSUBROOT"; then
575                    HDF4_CPPFLAGS="-I$H4ROOT/include -DHDF4"
576                else
577                    HDF4_CPPFLAGS="-I$H4ROOT/include/$H4INCSUBROOT -DHDF4"
578                fi
579                ;;
580        *)      AC_MSG_WARN([The HDF 4 installation has not the right version ($H4VERSION). You need at least 4.1])
581                H4ROOT=""
582                ;;
583    esac               
584fi
585AC_SUBST(HDF4_LDFLAGS)
586AC_SUBST(HDF4_CPPFLAGS)
587
588dnl HDF5
589HDF5SEARCH="/usr/local/hdf5 /usr/local/hdf /usr/local /sw /opt/local /usr"
590if test "$with_hdf5" != "no" -a -z "$H5ROOT"; then
591    AC_MSG_CHECKING(for location of HDF5 libraries)
592    for i in $HDF5SEARCH; do
593        for j in lib lib64; do
594            if test -z "$H5ROOT" -a -r ${i}/$j/libhdf5.$HDF5_EXT; then H5ROOT=$i; fi
595        done
596    done
597    for i in $HDF5SEARCH; do
598        for j in lib lib64; do
599            if test -z "$H5ROOT" -a -r ${i}/$j/libhdf5.a; then H5ROOT=$i; fi
600        done
601    done
602    if test -z "$H5ROOT"; then
603        AC_MSG_RESULT(unknown)
604    else
605        AC_MSG_RESULT($H5ROOT)
606    fi
607fi
608# these are needed if HDF5 1.8 has been instaleld with H5_USE_16_API_DEFAULT
609HDF5_API_DEFS="-DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Pinsert_vers=2 -DH5Pregister_vers=2 -DH5Rget_obj_type_vers=2 -DH5Tarray_create_vers=2 -DH5Tcommit_vers=2 -DH5Tget_array_dims_vers=2 -DH5Topen_vers=2"
610if test "$H5ROOT"; then
611    H5VERSION=`grep H5_VERS_INFO ${H5ROOT}/include/H5public.h | cut -d '"' -f 2 | cut -d ' ' -f 4`
612    case $H5VERSION in
613        1.[[89]]*)
614                HDF5_LDFLAGS=""
615                for j in lib lib64; do
616                    if test -d $H5ROOT/$j; then
617                        HDF5_LDFLAGS="-L$H5ROOT/$j $HDF5_LDFLAGS"
618                        EXTRA_LD_LIBRARY_PATH=$EXTRA_LD_LIBRARY_PATH:$H5ROOT/$j
619                    fi
620                done
621                EXTRA_LDPATH="$EXTRA_LDPATH $HDF5_LDFLAGS"
622                HDF5_LDFLAGS="$HDF5_LDFLAGS -lhdf5 -lz"
623                HDF5_CPPFLAGS="-I$H5ROOT/include -DHDF5 -DH5_NO_DEPRECATED_SYMBOLS ${HDF5_API_DEFS}"
624                ;;
625        *)     
626                AC_MSG_WARN([The HDF 5 installation at $H5ROOT is not the right version ($H5VERSION). You need at least 1.8])
627                H5ROOT=""
628                ;;
629    esac
630fi
631AC_SUBST(HDF5_LDFLAGS)
632AC_SUBST(HDF5_CPPFLAGS)
633
634dnl XML
635MXMLSEARCH="/usr /usr/local"
636if test "$with_xml" != "no" -a -z "$MXMLROOT"; then
637    AC_MSG_CHECKING(for location of mxml package)
638    for i in $MXMLSEARCH; do
639        if test -z "$MXMLROOT" -a -r ${i}/include/mxml.h; then MXMLROOT=$i; fi
640    done
641    if test -z "$MXMLROOT"; then
642        AC_MSG_RESULT(unknown)
643    else
644        AC_MSG_RESULT($MXMLROOT)
645    fi
646fi
647if test ! -z "$MXMLROOT"; then
648    XML_LDFLAGS="-lmxml"
649    XML_LDFLAGS="-L$MXMLROOT/lib $XML_LDFLAGS"
650    XML_CPPFLAGS="-I$MXMLROOT/include -DNXXML"
651# meed to allow for lib64
652#    EXTRA_LDPATH="$EXTRA_LDPATH $XML_LDFLAGS"
653#    export LD_LIBRARY_PATH=$MXMLROOT/lib:$LD_LIBRARY_PATH
654fi
655AC_SUBST(XML_LDFLAGS)
656AC_SUBST(XML_CPPFLAGS)
657
658if test ! -z "$EXTRA_LDPATH"; then
659    LDFLAGS="$LDFLAGS $EXTRA_LDPATH"
660fi
661if test -d /usr/local/lib; then
662    LDFLAGS="$LDFLAGS -L/usr/local/lib"
663fi
664# for Mac/fink when hdf and hdf5 are not taken from fink, but jpeg is
665if test -d /sw/lib; then
666    LDFLAGS="$LDFLAGS -L/sw/lib"
667fi
668# for Mac/Macports when you are not using fink at all.
669if test -d /opt/local/lib; then
670    LDFLAGS="$LDFLAGS -L/opt/local/lib"
671fi
672
673# remove initial :
674if test ! -z "$EXTRA_LD_LIBRARY_PATH"; then
675    EXTRA_LD_LIBRARY_PATH=`expr substr "$EXTRA_LD_LIBRARY_PATH" 2 1024`
676fi
677if test ! -z "$LD_LIBRARY_PATH"; then
678    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EXTRA_LD_LIBRARY_PATH}
679else
680    export LD_LIBRARY_PATH=${EXTRA_LD_LIBRARY_PATH}
681fi
682
683AC_SUBST(LIBG2C)
684
685dnl finally set LIBS variable if we
686#AC_CHECK_LIB(g2c,c_sqrt,LIBG2C="-lg2c",LIBG2C="")
687AC_CHECK_LIB(SystemStubs, fprintf$LDBLStub)
688case $host in
689    *mingw*)
690        ;;
691    *)
692        AC_CHECK_LIB(m, log)
693esac
694AC_CHECK_LIB(rpc, xdr_float)
695AC_CHECK_LIB(dl, dlopen)
696AC_CHECK_LIB(pthread, pthread_create)
697AC_CHECK_LIB(z, gzopen)
698AC_CHECK_LIB(jpeg, jpeg_CreateCompress)
699AC_CHECK_LIB(sz, SZ_Compress)
700AC_CHECK_LIB(df, Hopen)
701AC_CHECK_LIB(mfhdf, SDcreate)
702AC_CHECK_LIB(hdf5, H5open)
703SAVE_LIBS="$LIBS"
704AC_CHECK_LIB(termcap, tputs)
705AC_CHECK_LIB(readline, readline)
706#AC_CHECK_LIB(history, add_history)
707if test x$ac_cv_lib_termcap_tputs = xyes; then READLINE_LDFLAGS="-ltermcap $READLINE_LDFLAGS"; fi
708#if test x$ac_cv_lib_history_add_history = xyes; then READLINE_LDFLAGS="-lhistory $READLINE_LDFLAGS"; fi
709if test x$ac_cv_lib_readline_readline = xyes; then READLINE_LDFLAGS="-lreadline $READLINE_LDFLAGS"; fi
710AC_SUBST(READLINE_LDFLAGS)
711LIBS="$SAVE_LIBS"
712dnl AC_LANG_PUSH([C++])
713dnl AC_CHECK_LIB(mxmlplus, _ZN4MXML4NodeD2Ev)
714dnl AC_LANG_POP([C++])
715
716dnl Checks for header files.
717AC_HEADER_STDC
718AC_HEADER_SYS_WAIT
719AC_CHECK_HEADERS([stdlib.h string.h stdint.h])
720
721dnl Checks for typedefs, structures, and compiler characteristics.
722AC_C_CONST
723AC_TYPE_SIZE_T
724AC_TYPE_INT8_T
725AC_TYPE_UINT8_T
726AC_TYPE_INT16_T
727AC_TYPE_UINT16_T
728AC_TYPE_INT32_T
729AC_TYPE_UINT32_T
730AC_TYPE_INT64_T
731AC_TYPE_UINT64_T
732AC_TYPE_LONG_LONG_INT
733AC_TYPE_UNSIGNED_LONG_LONG_INT
734AC_CHECK_SIZEOF([int])
735AC_CHECK_SIZEOF([long int])
736AC_CHECK_SIZEOF([long long int])
737AC_STRUCT_TM
738
739AC_SYS_LARGEFILE
740case "$ac_cv_sys_file_offset_bits" in
741  "no" | "unknown" | "")
742    ;;
743  *)
744    CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
745    CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
746    ;;
747esac
748
749dnl Checks for library functions.
750#this can cause link errors with rpl_malloc undefined
751#AC_FUNC_MALLOC
752#this no needed
753#AC_FUNC_MEMCMP
754#this hangs on FC9 at the moment
755#AC_FUNC_MKTIME
756
757#AC_FUNC_STRFTIME
758
759AC_CHECK_FUNCS([ftime memset strchr strdup strrchr strstr tzset mkstemp])
760
761AM_CONDITIONAL(HAVE_CPP, [test ! -z "$CXX"])
762AM_CONDITIONAL(HAVE_F77, [test "$with_f77" != "no"])
763AM_CONDITIONAL(HAVE_F90, [test "$with_f90" != "no"])
764AM_CONDITIONAL(HAVE_PYTHON, [test ! -z "$PYTHONROOT" -a "$PYTHON_numpy_found"  = "yes" -a "$PYTHON_ctypes_found"  = "yes"])
765AM_CONDITIONAL(HAVE_TCL, [test ! -z "$TCLROOT"])
766AM_CONDITIONAL(HAVE_GUILE, [test ! -z "$GUILEROOT"])
767AM_CONDITIONAL(HAVE_SWIG, [test ! -z "$SWIG"])
768AM_CONDITIONAL(HAVE_JAVA, [test ! -z "$JAVA" -a ! -z "$JAVAROOT"])
769AM_CONDITIONAL(HAVE_JAVAC, [test ! -z "$JAVAC" -a ! -z "$JAVAROOT"])
770AM_CONDITIONAL(HAVE_JAVADOC, [test ! -z "$JAVADOC" -a ! -z "$JAVAROOT"])
771AM_CONDITIONAL(HAVE_HDF4, [test ! -z "$H4ROOT"])
772AM_CONDITIONAL(HAVE_HDF5, [test ! -z "$H5ROOT"])
773AM_CONDITIONAL(HAVE_XML, [test ! -z "$MXMLROOT"])
774AM_CONDITIONAL(HAVE_LIBXML2, [ test "$ac_cv_lib_xml2_xmlParseFile" = "yes" ])
775dnl AM_CONDITIONAL(HAVE_LIBMXMLPLUS, [ test "$ac_cv_lib_mxmlplus__ZN4MXML4NodeD2Ev" = "yes" ])
776AM_CONDITIONAL(HAVE_DOCBOOK, [test ! -z "$DOCBOOK2TXT" -a ! -z "$DOCBOOK2PDF"])
777AM_CONDITIONAL(HAVE_LATEX, [test ! -z "$LATEX"])
778#AM_CONDITIONAL(INSTALL_NXPYTHON, [test ! -z "$INSTALL_NXPYTHON"])
779AM_CONDITIONAL(HAVE_MZSCHEME, [test ! -z "$INSTALL_NXPYTHON"])
780AM_CONDITIONAL(MINGW_MSYS, [test x$MINGW_MSYS = xyes])
781AM_CONDITIONAL(HAVE_OPENGENIE, [test ! -z "$OPENGENIEROOT"])
782AM_CONDITIONAL(HAVE_DOXYGEN, [test ! -z "$DOXYGEN"])
783AM_CONDITIONAL(HAVE_MATLAB, [test ! -z "$MATLAB"])
784AM_CONDITIONAL(HAVE_PDFLATEX, [test ! -z "$PDFLATEX"])
785AM_CONDITIONAL(HAVE_DOT, [test ! -z "$DOT"])
786
787AM_CONDITIONAL(HAVE_WGET, [test ! -z "$WGET"])
788AM_CONDITIONAL(HAVE_XMLLINT, [test ! -z "$XMLLINT"])
789AM_CONDITIONAL(HAVE_SVN2CL, [test ! -z "$SVN2CL"])
790
791AC_CONFIG_TESTDIR(test)
792AC_CONFIG_FILES(test/Makefile test/atlocal)
793AM_MISSING_PROG([AUTOM4TE], [autom4te])
794
795if test X$MATLAB != X; then
796    for i in glnxa64 glnxi64 glnx86 maci maci64; do
797        if test -r "$MATLABROOT/bin/$i"; then
798                MATLAB_ARCH="$i"
799        fi
800    done
801    case $MATLAB_ARCH in
802        glnx86)
803            MATLAB_MEXSUFFIX=mexglx
804            ;;
805        glnxa64)
806            MATLAB_MEXSUFFIX=mexa64
807            ;;
808        glnxi64)
809            MATLAB_MEXSUFFIX=mexi64
810            ;;
811        maci)
812            MATLAB_MEXSUFFIX=mexmaci
813            ;;
814    esac
815    AC_SUBST(MATLAB_MEXSUFFIX)
816    AC_SUBST(MATLAB_ARCH)
817    AC_SUBST(MATLABROOT)
818fi
819
820LINUX_DISTRIBUTION
821
822CONFIGURE_ARGS="$ac_configure_args"
823AC_SUBST(CONFIGURE_ARGS)
824
825AC_CONFIG_FILES([Makefile
826                nexus.spec:nexus_spec.in
827                build_rpm
828                include/Makefile
829                src/Makefile
830                applications/Makefile
831                applications/NXdir/Makefile
832                applications/NXbrowse/Makefile
833                applications/NXtraverse/Makefile
834                applications/NXconvert/Makefile
835                applications/NXvalidate/Makefile
836                applications/NXvalidate/nxvalidate
837                applications/NXdump/Makefile
838                applications/nxingest/Makefile
839                applications/NXsummary/Makefile
840                applications/NXtranslate/Makefile
841                applications/NXtranslate/FRM2/Makefile
842                applications/NXtranslate/opengenie/Makefile
843                applications/NXtranslate/text_collist/Makefile
844                applications/NXtranslate/text_plain/Makefile
845                applications/NXtranslate/text_xml/Makefile
846                applications/NXtranslate/sns_histogram/Makefile
847                applications/NXtranslate/loopy/Makefile
848                applications/NXtranslate/binary/Makefile
849                applications/NXtranslate/spec/Makefile
850                applications/NXtranslate/esrf_edf/Makefile
851                applications/NXtranslate/docs/Makefile
852                examples/Makefile
853                doc/Makefile
854                doc/doxygen/Makefile
855                doc/api/Makefile
856                doc/nxdict/Makefile
857                doc/tech_ref/Makefile
858                bindings/Makefile
859                bindings/cpp/Makefile
860                bindings/f77/Makefile
861                bindings/f90/Makefile
862                bindings/java/Makefile
863                bindings/swig/Makefile
864                bindings/idl/Makefile
865                bindings/python/Makefile
866                third_party/Makefile
867                third_party/tclap/Makefile
868                contrib/Makefile
869                contrib/applications/Makefile
870                contrib/applications/NXextract/Makefile
871                contrib/applications/NXextract/src/Makefile
872                contrib/applications/CBFLib/Makefile
873                contrib/bindings/Makefile
874                contrib/bindings/python/Makefile
875                macosx_install_kit/Makefile
876                macosx_install_kit/pkg.config
877                scripts/Makefile
878                scripts/nexus-config
879                scripts/nexus.pc
880                scripts/nexus-cpp.pc
881                scripts/nxbuild])
882dnl src/nxdict/Makefile
883AC_OUTPUT
884
885if test ! -z "$DOXYGEN" -a ! -z "$PDFLATEX" -a ! -z "$DOT"; then
886    DOXYGENDOCS="yes"
887else
888    if test x"$with_doxygen" != x"no" ; then
889        DOXYGENDOCS="no  - missing "
890        if test -z "$DOXYGEN"; then DOXYGENDOCS="$DOXYGENDOCS doxygen"; fi
891        if test -z "$PDFLATEX"; then DOXYGENDOCS="$DOXYGENDOCS pdflatex"; fi
892        if test -z "$DOT"; then DOXYGENDOCS="$DOXYGENDOCS graphviz"; fi
893    else
894        DOXYGENDOCS="no    --with-doxygen  not specified"
895    fi
896fi
897
898if test ! -z "$DOCBOOK2TXT" -a ! -z "$DOCBOOK2PDF"; then
899    DOCBOOKDOCS="yes"
900else
901    DOCBOOKDOCS="no  - missing "
902    if test -z "$DOCBOOK2TXT"; then DOCBOOKDOCS="$DOCBOOKDOCS docbook2txt"; fi
903    if test -z "$DOCBOOK2PDF"; then DOCBOOKDOCS="$DOCBOOKDOCS docbook2pdf"; fi
904fi
905
906HDF4SUPPORT=`if test -n "$H4ROOT" ; then echo yes ; else echo no ; echo "                found version $H4VERSION"; fi`
907HDF5SUPPORT=`if test -n "$H5ROOT" ; then echo yes ; else echo no ; echo "                found version $H5VERSION"; fi`
908XMLSUPPORT=`if test -n "$MXMLROOT" ; then echo yes ; else echo no ; fi`
909CPPBINDING=`if test -n "$CXX" ; then echo yes ; else echo no ; fi`
910F77BINDING=`if test -n "$F77" ; then echo yes ; else echo no ; fi`
911F90BINDING=`if test -n "$FC" ; then echo yes ; else echo no ; fi`
912JAVABINDING=`if test -n "$JAVAROOT" ; then echo yes ; else echo no ; fi`
913IDLBINDING=`if test -n "$IDLROOT" ; then echo yes ; else echo no ; fi`
914PYTHONBINDING=`if test -n "$HAVE_PYTHON_FALSE" ; then echo yes; else echo no ; fi`
915MATLABBINDING=`if test -n "$MATLAB" ; then echo "yes (matlabroot=$MATLABROOT)"; else echo no ; fi`
916
917if test -n "$SWIG" ; then
918    SWIGBINDING="yes ("
919    test -n "$TCLROOT" && SWIGBINDING="$SWIGBINDING tcl"
920    test -n "$GUILEROOT" && SWIGBINDING="$SWIGBINDING guile"
921    SWIGBINDING="$SWIGBINDING ) SWIG=${SWIG}"
922else
923    SWIGBINDING=no
924fi
925
926if test -z "$JAVAROOT"; then
927    JAVAROOT="not specified"
928fi
929
930if test "x$ac_cv_lib_readline_readline" = xyes; then
931    HAVE_READLINE="yes"
932else
933    HAVE_READLINE="no (optional)"
934fi
935
936AC_MSG_RESULT([
937
938Configuration (NeXus):
939
940        Install prefix:        ${prefix}
941        Source code location:  ${srcdir}
942        Version:               ${VERSION}
943        Compiler:              ${CC},${CXX},${F77},${FC}
944
945build:
946        NeXus with:
947                HDF4 support:  ${HDF4SUPPORT} ($H4VERSION)
948                HDF5 support:  ${HDF5SUPPORT} ($H5VERSION)
949                XML support:   ${XMLSUPPORT}
950
951        bindings:
952                C++ :          ${CPPBINDING} (--with-cxx=${CXX})
953                F77 :          ${F77BINDING} (--with-f77=${F77})
954            F90/F95 :          ${F90BINDING} (--with-f90=${FC})
955                JAVA:          ${JAVABINDING} (--with-java-home=${JAVAROOT}, JAVA=${JAVA}, JAVAC=${JAVAC}, JAVAH=${JAVAH})
956                SWIG:          ${SWIGBINDING}
957                 IDL:          ${IDLBINDING} (--with-idlroot=${IDLROOT}, --with-idldlm=${IDLDLM})
958                 MATLAB:               ${MATLABBINDING} (--with-matlabroot=${MATLABROOT})
959              PYTHON:          ${PYTHONBINDING} (PYTHONROOT=${PYTHONROOT}, numpy found: $PYTHON_numpy_found, ctypes found: $PYTHON_ctypes_found)
960
961        application tools:
962             ant:              ${ANT_PROG}
963             libxml2:          ${LIBXML2_MESSAGE}
964             readline:         ${HAVE_READLINE}
965
966        documentation:
967             Doxygen:          ${DOXYGENDOCS}
968             Docbook:          ${DOCBOOKDOCS}
969
970Please check whether the configuration I detected matches what you would
971like to have. If not, re-run configure adding the appropriate  --with  option
972or setting the relevant environment variable.
973
974For a list of available options type    ./configure --help
975])
Note: See TracBrowser for help on using the repository browser.