Update to Meep 1.2 (part 2, forgotten patches).

Fix shell syntax in configure scripts.
Drop unneeded dependency on bash.
This commit is contained in:
Aleksej Saushev 2012-10-15 21:53:37 +00:00 committed by Thomas Klausner
parent bf96f0c471
commit c9ba0a62f1
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
$NetBSD: patch-configure,v 1.3 2012/10/15 21:53:37 asau Exp $
--- configure.orig 2012-07-20 01:29:15.000000000 +0000
+++ configure
@@ -25552,7 +25552,7 @@ $as_echo "readline-activator" >&6; }
ACTIVATE_READLINE="$ractivate"
else
ractivate="(use-modules (ice-9 readline)) (activate-readline)"
- if guile -c "$ractivate" >& /dev/null; then
+ if guile -c "$ractivate" > /dev/null 2>&1; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ice-9 readline" >&5
$as_echo "ice-9 readline" >&6; }
ACTIVATE_READLINE="$ractivate"

View file

@ -0,0 +1,13 @@
$NetBSD: patch-configure.ac,v 1.1 2012/10/15 21:53:37 asau Exp $
--- configure.ac.orig 2012-07-20 01:27:20.000000000 +0000
+++ configure.ac
@@ -307,7 +307,7 @@ if guile -c "$ractivate" > /dev/null 2>&
ACTIVATE_READLINE="$ractivate"
else
ractivate="(use-modules (ice-9 readline)) (activate-readline)"
- if guile -c "$ractivate" >& /dev/null; then
+ if guile -c "$ractivate" > /dev/null 2>&1; then
AC_MSG_RESULT(ice-9 readline)
ACTIVATE_READLINE="$ractivate"
else