]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Linus said that the final test had to many conditions. Hmph.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Feb 2002 10:31:59 +0000 (10:31 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Feb 2002 10:31:59 +0000 (10:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@5537 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4

index 4239941b69b6920d9342ae82e716b46e58509cd1..ced8d5ff733b0a2f249f4d5baaf64978824ecd58 100644 (file)
@@ -716,15 +716,24 @@ dnl Usage: DEAL_II_CONFIGURE_TECPLOT
 dnl
 AC_DEFUN(DEAL_II_CONFIGURE_TECPLOT, dnl
 [
-  AC_CHECK_FILE($TECHOME/lib/tecio.a, TECPLOT_LIBRARY_PATH=$TECHOME/lib/tecio.a)
-  AC_CHECK_FILE($TEC80HOME/lib/tecio.a, TECPLOT_LIBRARY_PATH=$TEC80HOME/lib/tecio.a)
-  AC_CHECK_FILE($TEC90HOME/lib/tecio.a, TECPLOT_LIBRARY_PATH=$TEC90HOME/lib/tecio.a)
+  AC_CHECK_FILE($TECHOME/lib/tecio.a,
+               TECPLOT_LIBRARY_PATH=$TECHOME/lib/tecio.a)
+  AC_CHECK_FILE($TEC80HOME/lib/tecio.a,
+               TECPLOT_LIBRARY_PATH=$TEC80HOME/lib/tecio.a)
+  AC_CHECK_FILE($TEC90HOME/lib/tecio.a,
+               TECPLOT_LIBRARY_PATH=$TEC90HOME/lib/tecio.a)
   AC_SUBST(TECPLOT_LIBRARY_PATH)
-  AC_CHECK_FILE($TECHOME/include/TECIO.h, TECPLOT_INCLUDE_PATH=$TECHOME/include)
-  AC_CHECK_FILE($TEC80HOME/include/TECIO.h, TECPLOT_INCLUDE_PATH=$TEC80HOME/include)
-  AC_CHECK_FILE($TEC90HOME/include/TECIO.h, TECPLOT_INCLUDE_PATH=$TEC90HOME/include)
+  AC_CHECK_FILE($TECHOME/include/TECIO.h,
+               TECPLOT_INCLUDE_PATH=$TECHOME/include)
+  AC_CHECK_FILE($TEC80HOME/include/TECIO.h,
+               TECPLOT_INCLUDE_PATH=$TEC80HOME/include)
+  AC_CHECK_FILE($TEC90HOME/include/TECIO.h,
+               TECPLOT_INCLUDE_PATH=$TEC90HOME/include)
   AC_SUBST(TECPLOT_INCLUDE_PATH)
-  if test -r $TECPLOT_LIBRARY_PATH -a -r $TECPLOT_INCLUDE_PATH/TECIO.h ; then
-    AC_DEFINE(DEAL_II_HAVE_TECPLOT, 1,[Flag indicating whether the library shall be compiled to use the Tecplot interface])
+
+  if (test -r $TECPLOT_LIBRARY_PATH && \
+      test -r $TECPLOT_INCLUDE_PATH/TECIO.h) ; then
+    AC_DEFINE(DEAL_II_HAVE_TECPLOT, 1,
+             [Flag indicating whether the library shall be compiled to use the Tecplot interface])
   fi
 ])

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.