xref: /minix3/crypto/external/bsd/openssl/dist/tools/c89.sh (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc#!/bin/sh -k
2*ebfedea0SLionel Sambuc#
3*ebfedea0SLionel Sambuc# Re-order arguments so that -L comes first
4*ebfedea0SLionel Sambuc#
5*ebfedea0SLionel Sambucopts=""
6*ebfedea0SLionel Sambuclopts=""
7*ebfedea0SLionel Sambuc
8*ebfedea0SLionel Sambucfor arg in $* ; do
9*ebfedea0SLionel Sambuc  case $arg in
10*ebfedea0SLionel Sambuc    -L*) lopts="$lopts $arg" ;;
11*ebfedea0SLionel Sambuc    *) opts="$opts $arg" ;;
12*ebfedea0SLionel Sambuc  esac
13*ebfedea0SLionel Sambucdone
14*ebfedea0SLionel Sambuc
15*ebfedea0SLionel Sambucc89 $lopts $opts
16