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))
../$(module_name).a: $(EXTRA_DEP) $(OBJ_ALL)
rm -f $@
ar rc $@ $(OBJ_ALL)
$(AR) rc $@ $(OBJ_ALL)
$(RANLIB) $@
endif
This diff is collapsed.
......@@ -1186,12 +1186,12 @@ then
# check for cross-compiling
SDL_PREFIX=
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:
--with-sdl=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_sdl" != "xno" -a "x$with_sdl" != "x"
--with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_sdl_prefix" != "xno" -a "x$with_sdl_prefix" != "x"
then
SDL_PREFIX="--prefix=$with_sdl"
SDL_PREFIX="--prefix=$with_sdl_prefix"
fi
if test x${SDL_CONFIG} != xno
then
......@@ -1513,12 +1513,12 @@ then
# check for cross-compiling
GTK_PREFIX=
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:
--with-gtk=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_gtk" != "xno" -a "x$with_gtk" != "x"
--with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[])
if test "x$with_gtk_prefix" != "xno" -a "x$with_gtk_prefix" != "x"
then
GTK_PREFIX="--prefix=$with_gtk"
GTK_PREFIX="--prefix=$with_gtk_prefix"
fi
if test "x${GTK_CONFIG}" != "xno"
then
......@@ -1562,7 +1562,7 @@ then
if test "x${ac_cv_gpe_headers}" = "xyes"
then
familiar_CFLAGS="${familiar_CFLAGS} ${gpe_CFLAGS}"
familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}" # -lgpewidget"
familiar_LDFLAGS="${familiar_LDFLAGS} ${gpe_LDFLAGS}"
fi
fi
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