]> https://gitweb.dealii.org/ - dealii.git/commitdiff
More configure changes.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 21 Jun 2000 13:42:36 +0000 (13:42 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 21 Jun 2000 13:42:36 +0000 (13:42 +0000)
git-svn-id: https://svn.dealii.org/trunk@3054 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure
deal.II/configure.in

index 1877afc8b4b22a3fa139ecda66e540df3cfb7c43..86912870aba0ea08a324e85985f979d99f1dfd87 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# From configure.in Revision: 1.25 
+# From configure.in Revision: 1.26 
 
 
 
@@ -1388,27 +1388,34 @@ if test "${with_kdoc+set}" = set; then
   withval="$with_kdoc"
   kdocdir=$withval
 else
-  kdocdir=${DEAL2_DIR}/doc/auto/scripts/kdoc
+  kdocdir=${DEAL2_DIR}/contrib/kdoc/bin
 fi
 
 echo $ac_n "checking for kdoc""... $ac_c" 1>&6
 echo "configure:1396: checking for kdoc" >&5
-if test -r $kdocdir/kdoc ; then
-  echo "$ac_t""found" 1>&6
-else
-  echo "$ac_t""not found" 1>&6
-  { echo "configure: error: Invalid kdoc path" 1>&2; exit 1; }
-fi
-if test -r $kdocdir/Version ; then
-  kdocversion=`cat $kdocdir/Version` ;
+if test $kdocdir != ${DEAL2_DIR}/contrib/kdoc/bin ; then
+  if test -r $kdocdir/kdoc ; then
+    echo "$ac_t""found" 1>&6
+  else
+    echo "$ac_t""not found" 1>&6
+    { echo "configure: error: Invalid kdoc path $kdocdir/kdoc" 1>&2; exit 1; }
+  fi
+
+  if test -r $kdocdir/Version ; then
+    kdocversion=`cat $kdocdir/Version` ;
+  else
+    kdocversion=1;
+  fi
 else
-  kdocversion=1;
+  kdocversion=`cat ${DEAL2_DIR}/contrib/kdoc/src/Version`
+  echo "$ac_t""using default version $kdocversion" 1>&6
 fi
 
 
 
 
 
+
 # Check whether --with-docxx or --without-docxx was given.
 if test "${with_docxx+set}" = set; then
   withval="$with_docxx"
@@ -1421,7 +1428,7 @@ if test "$docxx" = to-be-determined ; then
   # Extract the first word of ""doc++"", so it can be a program name with args.
 set dummy "doc++"; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1425: checking for $ac_word" >&5
+echo "configure:1432: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_docxx'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1455,7 +1462,7 @@ fi
 
 else
   echo $ac_n "checking for doc++""... $ac_c" 1>&6
-echo "configure:1459: checking for doc++" >&5
+echo "configure:1466: checking for doc++" >&5
   if test -x "$docxx" ; then
     echo "$ac_t""yes" 1>&6
   else
@@ -1470,7 +1477,7 @@ fi
 
 
   echo $ac_n "checking whether getrusage is properly declared""... $ac_c" 1>&6
-echo "configure:1474: checking whether getrusage is properly declared" >&5
+echo "configure:1481: checking whether getrusage is properly declared" >&5
   ac_ext=C
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 ac_cpp='$CXXCPP $CPPFLAGS'
@@ -1480,7 +1487,7 @@ cross_compiling=$ac_cv_prog_cxx_cross
 
 
   cat > conftest.$ac_ext <<EOF
-#line 1484 "configure"
+#line 1491 "configure"
 #include "confdefs.h"
 
 #include <sys/resource.h>
@@ -1492,7 +1499,7 @@ int main() {
     
 ; return 0; }
 EOF
-if { (eval echo configure:1496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
        echo "$ac_t"""yes"" 1>&6
@@ -1524,17 +1531,17 @@ esac
 
 
 echo $ac_n "checking for consistency of CXXFLAGSG flags""... $ac_c" 1>&6
-echo "configure:1528: checking for consistency of CXXFLAGSG flags" >&5
+echo "configure:1535: checking for consistency of CXXFLAGSG flags" >&5
 CXXFLAGS="$CXXFLAGSG"
 cat > conftest.$ac_ext <<EOF
-#line 1531 "configure"
+#line 1538 "configure"
 #include "confdefs.h"
 
 int main() {
 ;
 ; return 0; }
 EOF
-if { (eval echo configure:1538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
     echo "$ac_t""yes" 1>&6
@@ -1551,17 +1558,17 @@ fi
 rm -f conftest*
 
 echo $ac_n "checking for consistency of CXXFLAGSO flags""... $ac_c" 1>&6
-echo "configure:1555: checking for consistency of CXXFLAGSO flags" >&5
+echo "configure:1562: checking for consistency of CXXFLAGSO flags" >&5
 CXXFLAGS="$CXXFLAGSO"
 cat > conftest.$ac_ext <<EOF
-#line 1558 "configure"
+#line 1565 "configure"
 #include "confdefs.h"
 
 int main() {
 ;
 ; return 0; }
 EOF
-if { (eval echo configure:1565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   
     echo "$ac_t""yes" 1>&6
index f91db43f2083aaec4dae6d4d6e3110f3f061f9e7..67205c4517f160be4042afac5efffa429e6ffbb0 100644 (file)
@@ -259,24 +259,32 @@ dnl Documentation tools
 dnl -------------------------------------------------------------
 
 
-dnl    Find the kdoc directory for documentation. The old one is in
-dnl    doc/auto/scripts, but you might want a newer version.
+dnl    Find the kdoc directory for documentation. kdoc2 is in
+dnl    the contrib directory, but you might want another one
 AC_ARG_WITH(kdoc,
 [  --with-kdoc=DIR use kdoc installed in DIR],
     kdocdir=$withval,
-    kdocdir=${DEAL2_DIR}/doc/auto/scripts/kdoc)
+    kdocdir=${DEAL2_DIR}/contrib/kdoc/bin)
 AC_MSG_CHECKING(for kdoc)
-if test -r $kdocdir/kdoc ; then
-  AC_MSG_RESULT(found)
-else
-  AC_MSG_RESULT(not found)
-  AC_MSG_ERROR(Invalid kdoc path)
-fi
-if test -r $kdocdir/Version ; then
-  kdocversion=`cat $kdocdir/Version` ;
+dnl lets see whether the file exists if not the default was taken
+if test $kdocdir != ${DEAL2_DIR}/contrib/kdoc/bin ; then
+  if test -r $kdocdir/kdoc ; then
+    AC_MSG_RESULT(found)
+  else
+    AC_MSG_RESULT(not found)
+    AC_MSG_ERROR(Invalid kdoc path $kdocdir/kdoc)
+  fi
+
+  if test -r $kdocdir/Version ; then
+    kdocversion=`cat $kdocdir/Version` ;
+  else
+    kdocversion=1;
+  fi
 else
-  kdocversion=1;
+  kdocversion=`cat ${DEAL2_DIR}/contrib/kdoc/src/Version`
+  AC_MSG_RESULT(using default version $kdocversion)
 fi
+
 AC_SUBST(kdocdir)
 AC_SUBST(kdocversion)
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.