summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/codes/codes-1.0.0.patch
blob: d0fbaf7ebbf448d092592c09cada41291586b4de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/configure.ac b/configure.ac
index b3650e5..5ec28b4 100755
--- a/configure.ac
+++ b/configure.ac
@@ -222,9 +222,9 @@ AS_IF([test "x$enable_valgrind_clean" = "xyes"], [
 
 
 dnl AC_CONFIG_FILES([src/iokernellang/codesparser.y])
-if test "x$srcdir" != "x."; then
+AS_IF([test ! -d tests/conf], [
     AC_CONFIG_LINKS([tests/conf:$srcdir/tests/conf])
-fi
+])
 
 AC_CONFIG_FILES([Makefile])