Discussion:
[Bug-apl] configure should not assume bash everywhere
Marcin Cieslak
2017-04-22 21:56:37 UTC
Permalink
There is a little incompatibility with Bourne shell in
the configure script. The whole thing should probably be changed,
but for now this is a quick fix:

Index: configure.ac
===================================================================
--- configure.ac (revision 928)
+++ configure.ac (working copy)
@@ -529,7 +529,7 @@
#
echo "configure: creating $srcdir/src//buildtag.hh"
rm -f $srcdir/src/buildtag.hh
-cd $srcdir/src ; source ./buildtag ; cd ..
+cd $srcdir/src ; . ./buildtag ; cd ..

# create src/makefile.h
#

Due to generation of files this way the out-of-tree is currently broken,
will provide a fix later.

Marcin Cieślak
Juergen Sauermann
2017-04-23 10:05:20 UTC
Permalink
<html>
<head>
<meta content="text/html; charset=iso-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi Marcin,<br>
<br>
thanks, fixed in <b>SVN 929</b>.<br>
<br>
/// Jürgen<br>
</font><br>
<br>
<div class="moz-cite-prefix">On 04/22/2017 11:56 PM, Marcin Cieslak
wrote:<br>
</div>
<blockquote
cite="mid:***@z.fncre.vasb"
type="cite">
<pre wrap="">There is a little incompatibility with Bourne shell in
the configure script. The whole thing should probably be changed,
but for now this is a quick fix:

Index: configure.ac
===================================================================
--- configure.ac (revision 928)
+++ configure.ac (working copy)
@@ -529,7 +529,7 @@
#
echo "configure: creating $srcdir/src//buildtag.hh"
rm -f $srcdir/src/buildtag.hh
-cd $srcdir/src ; source ./buildtag ; cd ..
+cd $srcdir/src ; . ./buildtag ; cd ..

# create src/makefile.h
#

Due to generation of files this way the out-of-tree is currently broken,
will provide a fix later.

Marcin Cieślak


</pre>
</blockquote>
<br>
</body>
</html>

Loading...