Revision 67c274d3 configure
b/configure | ||
---|---|---|
1010 | 1010 |
fi |
1011 | 1011 |
fi |
1012 | 1012 |
|
1013 |
# static link with sdl ? |
|
1013 |
# static link with sdl ? (note: sdl.pc's --static --libs is broken)
|
|
1014 | 1014 |
if test "$sdl" = "yes" -a "$static" = "yes" ; then |
1015 | 1015 |
sdl_libs=`sdl-config --static-libs 2>/dev/null` |
1016 |
if test `sdl-config --static-libs 2>/dev/null | grep \\\-laa > /dev/null` ; then
|
|
1016 |
if test $? = 0 && echo $sdl_libs | grep -- -laa > /dev/null; then
|
|
1017 | 1017 |
sdl_libs="$sdl_libs `aalib-config --static-libs >2 /dev/null`" |
1018 |
sdl_cflags="$sd_cflags `aalib-config --cflags >2 /dev/null`" |
|
1018 |
sdl_cflags="$sdl_cflags `aalib-config --cflags >2 /dev/null`"
|
|
1019 | 1019 |
fi |
1020 | 1020 |
if compile_prog "$sdl_cflags" "$sdl_libs" ; then |
1021 | 1021 |
: |
Also available in: Unified diff