Commit e5c1656e authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Replaced SHELL by BASH.

parent 4542c128
......@@ -213,6 +213,7 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BASH = @BASH@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
......
......@@ -688,6 +688,7 @@ CXXFLAGS
AS
OPENMP_CFLAGS
CXX
BASH
CPP
OTOOL64
OTOOL
......@@ -12000,6 +12001,106 @@ CC="$lt_save_CC"
 
 
 
# bash
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}bash", so it can be a program name with args.
set dummy ${ac_tool_prefix}bash; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_BASH+:} false; then :
$as_echo_n "(cached) " >&6
else
case $BASH in
[\\/]* | ?:[\\/]*)
ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
BASH=$ac_cv_path_BASH
if test -n "$BASH"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
$as_echo "$BASH" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
if test -z "$ac_cv_path_BASH"; then
ac_pt_BASH=$BASH
# Extract the first word of "bash", so it can be a program name with args.
set dummy bash; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_ac_pt_BASH+:} false; then :
$as_echo_n "(cached) " >&6
else
case $ac_pt_BASH in
[\\/]* | ?:[\\/]*)
ac_cv_path_ac_pt_BASH="$ac_pt_BASH" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_ac_pt_BASH="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
ac_pt_BASH=$ac_cv_path_ac_pt_BASH
if test -n "$ac_pt_BASH"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_BASH" >&5
$as_echo "$ac_pt_BASH" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
if test "x$ac_pt_BASH" = x; then
BASH=":"
else
case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
BASH=$ac_pt_BASH
fi
else
BASH="$ac_cv_path_BASH"
fi
# Check building environment
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
......
......@@ -25,6 +25,9 @@ AM_PROG_AR
AC_MSG_NOTICE([setting up libtool])
LT_INIT
# bash
AC_PATH_TOOL([BASH],[bash],[:])
# Check building environment
AC_CHECK_TOOL([CC],[gcc],[:])
AC_CHECK_TOOL([CXX],[g++],[:])
......
......@@ -123,6 +123,7 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BASH = @BASH@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
......
......@@ -346,6 +346,7 @@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BASH = @BASH@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
......
#! @SHELL@
#! @BASH@
#
AFTERTESTFILE=ECHAM5_T42L19.grb
if [ -f "$CDOTESTDATA/$AFTERTESTFILE" -a "@ENABLE_CGRIBEX@" = yes ]; then
......
#! @SHELL@
#! @BASH@
echo 1..4 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..4 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..9 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..6 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..6 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..5 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..2 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
#
echo 1..2 # Number of tests to be executed.
#
......
#! @SHELL@
#! @BASH@
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..9 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..2 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..16 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
#! @SHELL@
#! @BASH@
echo 1..1 # Number of tests to be executed.
#
test -n "$CDO" || CDO=cdo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment