diff --git a/src/qcdloop-config.in b/src/qcdloop-config.in index f5fad24..f29ee96 100644 --- a/src/qcdloop-config.in +++ b/src/qcdloop-config.in @@ -4,7 +4,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ -if [[ $# -eq 0 || -n $( echo $* | egrep -- "--help|-h" ) ]]; then +if [[ $# -eq 0 || -n $( echo $* | grep -E -- "--help|-h" ) ]]; then echo echo "qcdloop-config: configuration tool for qcdloop" echo @@ -21,23 +21,23 @@ fi OUT="" -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT @prefix@" -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT @includedir@" -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT -I@includedir@ -std=c++11" -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT @libdir@" -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT -L@libdir@ -lqcdloop -lquadmath" ## Version -tmp=$( echo "$*" | egrep -- '--\') +tmp=$( echo "$*" | grep -E -- '--\') test -n "$tmp" && OUT="$OUT @VERSION@" echo $OUT