notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frontend: generic: preliminary SDL support
[pcsx_rearmed.git]
/
configure
diff --git
a/configure
b/configure
index
47c68b8
..
ecd2215
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-193,7
+193,12
@@
if [ "$ram_fixed" = "yes" ]; then
CFLAGS="$CFLAGS -DRAM_FIXED"
fi
CFLAGS="$CFLAGS -DRAM_FIXED"
fi
-if [ "$platform" = "maemo" ]; then
+if [ "$platform" = "generic" ]; then
+ generic_cflags=`sdl-config --cflags`
+ generic_ldlibs=`sdl-config --libs`
+ CFLAGS="$CFLAGS $generic_cflags"
+ LDFLAGS="$LDFLAGS $generic_ldlibs"
+elif [ "$platform" = "maemo" ]; then
maemo_cflags=`pkg-config --cflags hildon-1`
maemo_ldlibs=`pkg-config --libs hildon-1`
CFLAGS="$CFLAGS -DMAEMO -DMAEMO_CHANGES $maemo_cflags"
maemo_cflags=`pkg-config --cflags hildon-1`
maemo_ldlibs=`pkg-config --libs hildon-1`
CFLAGS="$CFLAGS -DMAEMO -DMAEMO_CHANGES $maemo_cflags"
@@
-223,6
+228,7
@@
echo "platform $platform"
echo "sound driver $sound_driver"
echo "C compiler $CC"
echo "C compiler flags $CFLAGS"
echo "sound driver $sound_driver"
echo "C compiler $CC"
echo "C compiler flags $CFLAGS"
+echo "linker flags $LDFLAGS"
echo "enable dynarec $enable_dynarec"
echo "ARMv7 optimizations $have_armv7"
echo "enable ARM NEON $have_arm_neon"
echo "enable dynarec $enable_dynarec"
echo "ARMv7 optimizations $have_armv7"
echo "enable ARM NEON $have_arm_neon"