psyclpc/src/configure

20 lines
492 B
Bash
Executable File

#!/bin/sh
# first generate the actual configure script
if test ! -f "configure-do" ; then
(cd autoconf;make)
fi
# some systems put essential things into /usr/local, then
# don't instruct gcc to automatically look in there.
# result: inconsistent behaviour, broken user expectation.
if test "x$CPPFLAGS" = "x"; then
export CPPFLAGS="-I/usr/local/include"
fi
if test "x$LDFLAGS" = "x"; then
export LDFLAGS="-L/usr/local/lib"
fi
# then run it with psyced defaults
settings/psyced $*