support-nested-variables-20011009
authorJeffrey Hutzelman <jhutz@cmu.edu>
Thu, 11 Oct 2001 21:34:50 +0000 (21:34 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Oct 2001 21:34:50 +0000 (21:34 +0000)
bash 1.14.7 can't deal with backslash-quoting for this

acinclude.m4

index a58237d..5051481 100644 (file)
@@ -436,19 +436,18 @@ if test "x$enable_transarc_paths" = "xyes"  ; then
     afslocaldir=${afslocaldir=/usr/afs/local}
     afsbackupdir=${afsbackupdir=/usr/afs/backup}
     afsbosconfigdir=${afsbosconfigdir=/usr/afs/local}
-    else 
-    afsconfdir=${afsconfdir=\${sysconfdir\}/openafs/server}
-    viceetcdir=${viceetcdir=\${sysconfdir\}/openafs}
-    afskerneldir=${afskerneldir=\${libdir\}/openafs}
-    afssrvbindir=${afssrvbindir=\${bindir}}
-    afssrvsbindir=${afssrvsbindir=\${sbindir}}
-    afssrvlibexecdir=${afssrvlibexecdir=\${libexecdir\}/openafs}
-    afsdbdir=${afsdbdir=\${localstatedir\}/openafs/db}
-    afslogsdir=${afslogsdir=\${localstatedir\}/openafs/logs}
-    afslocaldir=${afslocaldir=\${localstatedir\}/openafs}
-    afsbackupdir=${afsbackupdir=\${localstatedir\}/openafs/backup}
-    afsbosconfigdir=${afsbosconfigdir=\${sysconfdir\}/openafs}
-
+else 
+    afsconfdir=${afsconfdir='${sysconfdir}/openafs/server'}
+    viceetcdir=${viceetcdir='${sysconfdir}/openafs'}
+    afskerneldir=${afskerneldir='${libdir}/openafs'}
+    afssrvbindir=${afssrvbindir='${bindir}'}
+    afssrvsbindir=${afssrvsbindir='${sbindir}'}
+    afssrvlibexecdir=${afssrvlibexecdir='${libexecdir}/openafs'}
+    afsdbdir=${afsdbdir='${localstatedir}/openafs/db'}
+    afslogsdir=${afslogsdir='${localstatedir}/openafs/logs'}
+    afslocaldir=${afslocaldir='${localstatedir}/openafs'}
+    afsbackupdir=${afsbackupdir='${localstatedir}/openafs/backup'}
+    afsbosconfigdir=${afsbosconfigdir='${sysconfdir}/openafs'}
 fi
 AC_SUBST(afsconfdir)
 AC_SUBST(viceetcdir)