1
0
Fork 0
mirror of git://git.psyced.org/git/psyclpc synced 2024-08-15 03:20:16 +00:00
psyclpc/src/configure
psyc://loupsycedyglgamf.onion/~lynX 710608d251 configure: make sure /usr/local is checked
2016-08-10 15:44:51 +00:00

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 $*