mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
19 lines
492 B
Bash
Executable file
19 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 $*
|