2007-09-11 23:06:23 +01:00
|
|
|
case "$1" in
|
|
|
|
bin) DEST_BINDIR="BINDIR" ;;
|
|
|
|
sbin) DEST_BINDIR="SBINDIR" ;;
|
|
|
|
cgi) DEST_BINDIR="CGIDIR" ;;
|
|
|
|
**)
|
|
|
|
echo "One argument required: binary location (bin, sbin or cgi)."
|
2006-07-25 19:00:04 +01:00
|
|
|
exit 1
|
2007-09-11 23:06:23 +01:00
|
|
|
;;
|
2007-09-12 22:01:43 +01:00
|
|
|
esac
|
2006-07-25 19:00:04 +01:00
|
|
|
|
2007-09-11 23:06:23 +01:00
|
|
|
do_parameter_subst DEST_BINDIR
|
2006-12-08 15:51:18 +00:00
|
|
|
add_config_option "CC" "${COPT_CC_DEFAULT}"
|
|
|
|
add_config_option "CFLAGS" "${COPT_CFLAGS_DEFAULT}"
|
2006-07-25 19:59:37 +01:00
|
|
|
true
|
2006-07-25 19:00:04 +01:00
|
|
|
|
2007-08-08 13:03:18 +01:00
|
|
|
# vim: syntax=sh:expandtab:ts=4:sw=4
|