Genty Jean-Paul writes:

>   I submit this question for CXXCPPFLAGS, but it could be for any string.
>
>   In a m4 macro file, is there a simple trick to detect if
> '-I/usr/local/include' is already set ?

case " $CXXCPPFLAGS " in
  *" -I/usr/local/include "*) ;; # already set
  *) CXXCPPFLAGS="-I/usr/local/include $CXXCPPFLAGS";; # prepend it
esac

-- 
Peter Eisentraut   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


Reply via email to