#!/bin/sh
#
# gcc wrapper for building dynamic lib version of perl
#  if -buildperl found on command line, then all args passed to
#     perlgcc, else pass all args to gcc.
#  jc 3/24/97
#

PERLPATH=/perl5.005

case "$*" in
*-buildperl*)	$PERLPATH/miniperl perlgcc "$@" ;;
*)		gcc "$@" ;;
esac
