-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.in
51 lines (38 loc) · 1.84 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
# Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net)
# Copyright (c) 2008 Ole Weidner (oweidner@cct.lsu.ed)
#
# 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"
# binary package support
AX_SAGA_CHECK_DEBDEPS([$SAGA_DEP_FILES])
AX_SAGA_CHECK_RPMDEPS([$SAGA_DEP_FILES])
# 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])
AC_OUTPUT()
OUT=config.summary
rm -f $OUT
touch $OUT
echo " " >> $OUT
echo " ======================================================== " >> $OUT
echo " SAGA X.509 ADAPTOR - 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_PACKAGE_VERSION " >> $OUT
echo " Adaptor Revision : $SAGA_PACKAGE_REVISION " >> $OUT
echo " " >> $OUT
echo " " >> $OUT
echo " ======================================================== " >> $OUT
echo " " >> $OUT
cat $OUT