-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.in
53 lines (38 loc) · 1.83 KB
/
configure.in
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
# Copyright (c) 2005-2007 Andre Merzky ([email protected])
# Copyright (c) 2008 Ole Weidner ([email protected])
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying Afile LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# find saga.m4
m4_include([saga.m4])
AC_INIT()
AX_SAGA_CONFIG()
SAGA_DEP_FILES="$SAGA_LOCATION/include/saga/saga.hpp"
# wsseapi.cpp needs a check for an soap call arg constness
# create output files
AC_CONFIG_FILES([config/make.cfg])
SAGA_CONFIGURE_OK=yes
if ! test "$HAVE_SAGA" = "yes"; then SAGA_CONFIGURE_OK=no; fi
AC_SUBST([SAGA_CONFIGURE_OK])
# debian and redhat package support
AX_SAGA_CHECK_DEBDEPS([$SAGA_DEP_FILES])
AX_SAGA_CHECK_RPMDEPS([$SAGA_DEP_FILES])
AC_OUTPUT()
OUT=config.summary
rm -f $OUT
touch $OUT
echo " " >> $OUT
echo " ======================================================== " >> $OUT
echo " SAGA OGF ADAPTORS - Configuration Summary " >> $OUT
echo " ======================================================== " >> $OUT
echo " " >> $OUT
echo " Using SAGA from : $SAGA_LOCATION " >> $OUT
echo " SAGA version : $SAGA_VERSION " >> $OUT
echo " " >> $OUT
echo " Adaptor Version : $SAGA_MODULE_VERSION " >> $OUT
echo " Adaptor Revision : $SAGA_MODULE_REVISION " >> $OUT
echo " " >> $OUT
echo " ======================================================== " >> $OUT
echo " " >> $OUT
cat $OUT