Commit cd0e23db authored by Jean-Paul Saman's avatar Jean-Paul Saman

--enable-familiar accepts now:

--with-sdl-prefix=[PATH], --enable-gtk-prefix=[PATH] and --enable-gpe-prefix=[PATH] to enable cross-compiling.
parent d98356fe
...@@ -89,7 +89,7 @@ ifeq (,$($(module_name)_CUSTOM)) ...@@ -89,7 +89,7 @@ ifeq (,$($(module_name)_CUSTOM))
../$(module_name).a: $(EXTRA_DEP) $(OBJ_ALL) ../$(module_name).a: $(EXTRA_DEP) $(OBJ_ALL)
rm -f $@ rm -f $@
ar rc $@ $(OBJ_ALL) $(AR) rc $@ $(OBJ_ALL)
$(RANLIB) $@ $(RANLIB) $@
endif endif
This diff is collapsed.
...@@ -1186,12 +1186,12 @@ then ...@@ -1186,12 +1186,12 @@ then
# check for cross-compiling # check for cross-compiling
SDL_PREFIX= SDL_PREFIX=
AC_ARG_WITH(sdl, AC_ARG_WITH(sdl,
[ --with-sdl=PATH path to libsdl (needed for cross-compiling), [ --with-sdl-prefix=PATH path to libsdl (needed for cross-compiling),
e.g use as: e.g use as:
--with-sdl=/usr/local/arm/2.95.3/arm-linux/usr)],[],[]) --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x" if test "x$with_sdl_prefix" != "xno" -a "x$with_sdl_prefix" != "x"
then then
SDL_PREFIX="--prefix=$with_sdl" SDL_PREFIX="--prefix=$with_sdl_prefix"
fi fi
if test x${SDL_CONFIG} != xno if test x${SDL_CONFIG} != xno
then then
...@@ -1513,12 +1513,12 @@ then ...@@ -1513,12 +1513,12 @@ then
# check for cross-compiling # check for cross-compiling
GTK_PREFIX= GTK_PREFIX=
AC_ARG_WITH(gtk, AC_ARG_WITH(gtk,
[ --with-gtk=PATH path to libgtk (needed for cross-compiling), [ --with-gtk-prefix=PATH path to libgtk (needed for cross-compiling),
e.g use as: e.g use as:
--with-gtk=/usr/local/arm/2.95.3/arm-linux/usr)],[],[]) --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_gtk" != "xno" -a "x$with_gtk" != "x" if test "x$with_gtk_prefix" != "xno" -a "x$with_gtk_prefix" != "x"
then then
GTK_PREFIX="--prefix=$with_gtk" GTK_PREFIX="--prefix=$with_gtk_prefix"
fi fi
if test "x${GTK_CONFIG}" != "xno" if test "x${GTK_CONFIG}" != "xno"
then then
...@@ -1538,7 +1538,7 @@ then ...@@ -1538,7 +1538,7 @@ then
# now look for gpe support # now look for gpe support
AC_ARG_WITH(gpe-prefix, AC_ARG_WITH(gpe-prefix,
[ --with-gpe-prefix=PATH gpe installation path prefix (default search in \$PATH)],[],[]) [ --with-gpe-prefix=PATH gpe installation path prefix (default search in \$PATH)],[],[])
if test "x$with_gpe_prefix" != "xno" -a "x$with_gpe_prefix" != "x" if test "x$with_gpe_prefix" != "xno" -a "x$with_gpe_prefix" != "x"
then then
gpe_CFLAGS="-I$with_gpe_prefix/include" gpe_CFLAGS="-I$with_gpe_prefix/include"
...@@ -1562,7 +1562,7 @@ then ...@@ -1562,7 +1562,7 @@ then
if test "x${ac_cv_gpe_headers}" = "xyes" if test "x${ac_cv_gpe_headers}" = "xyes"
then then
familiar_CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}" familiar_CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}" # -lgpewidget" familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
fi fi
fi fi
if test "x${ac_cv_gtk_headers}" = "xyes" if test "x${ac_cv_gtk_headers}" = "xyes"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment