summaryrefslogtreecommitdiffstats
path: root/openssl/tools/c89.sh
blob: b25c9fda2df1ea7699559ce4b9db6cbd53034540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -k
#
# Re-order arguments so that -L comes first
#
opts=""
lopts=""
        
for arg in $* ; do
  case $arg in
    -L*) lopts="$lopts $arg" ;;
    *) opts="$opts $arg" ;;
  esac
done

c89 $lopts $opts