Imported Upstream version 2.5.11
[libapache-mod-security.git] / apache2 / build / apxs-wrapper.in
1 #!@SHELL@
2
3 WRAPPED_OPTS=""
4 for opt in "$@"; do
5     case "$opt" in
6         # Fix for -R not working w/apxs
7         -R*) WRAPPED_OPTS="$WRAPPED_OPTS -Wl,$opt" ;;
8         # OSF1 compiler option
9         -pthread) WRAPPED_OPTS="$WRAPPED_OPTS -Wc,$opt" ;;
10         # Unwrapped
11         *) WRAPPED_OPTS="$WRAPPED_OPTS $opt" ;;
12     esac
13 done
14
15 exec @APXS@ $WRAPPED_OPTS