* configure.in: Substitute with_cross_host in depending files.

* configure: Regenerate.
	* lib/Makefile.in: Add with_cross_host to allow more granular checks.
	Set installation directories accordingly.
	* lib/ddk/Makefile.in: Ditto.
	* lib/directx/Makefile.in: Ditto.
This commit is contained in:
Corinna Vinschen 2006-08-30 13:04:41 +00:00
parent 9e8b8cdb9f
commit fc0256b600
6 changed files with 37 additions and 8 deletions

View File

@ -1,3 +1,12 @@
2006-08-30 Corinna Vinschen <corinna@vinschen.de>
* configure.in: Substitute with_cross_host in depending files.
* configure: Regenerate.
* lib/Makefile.in: Add with_cross_host to allow more granular checks.
Set installation directories accordingly.
* lib/ddk/Makefile.in: Ditto.
* lib/directx/Makefile.in: Ditto.
2006-08-10 Danny Smith <dannysmith@users.sourceforge.net> 2006-08-10 Danny Smith <dannysmith@users.sourceforge.net>
* lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here... * lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...

View File

@ -272,7 +272,7 @@ PACKAGE_STRING=
PACKAGE_BUGREPORT= PACKAGE_BUGREPORT=
ac_unique_file="lib/scrnsave.c" ac_unique_file="lib/scrnsave.c"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC ac_ct_CC CFLAGS AR ac_ct_AR AS ac_ct_AS RANLIB ac_ct_RANLIB LD ac_ct_LD DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES BUILDENV LIBOBJS LTLIBOBJS' ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC ac_ct_CC CFLAGS with_cross_host AR ac_ct_AR AS ac_ct_AS RANLIB ac_ct_RANLIB LD ac_ct_LD DLLTOOL ac_ct_DLLTOOL WINDRES ac_ct_WINDRES BUILDENV LIBOBJS LTLIBOBJS'
ac_subst_files='' ac_subst_files=''
# Initialize some variables set by options. # Initialize some variables set by options.
@ -873,7 +873,7 @@ esac
else else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi fi
cd "$ac_popdir" cd $ac_popdir
done done
fi fi
@ -1493,6 +1493,7 @@ fi
if test -n "$ac_tool_prefix"; then if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2 set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -2652,6 +2653,7 @@ s,@INSTALL_DATA@,$INSTALL_DATA,;t t
s,@CC@,$CC,;t t s,@CC@,$CC,;t t
s,@ac_ct_CC@,$ac_ct_CC,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t
s,@CFLAGS@,$CFLAGS,;t t s,@CFLAGS@,$CFLAGS,;t t
s,@with_cross_host@,$with_cross_host,;t t
s,@AR@,$AR,;t t s,@AR@,$AR,;t t
s,@ac_ct_AR@,$ac_ct_AR,;t t s,@ac_ct_AR@,$ac_ct_AR,;t t
s,@AS@,$AS,;t t s,@AS@,$AS,;t t
@ -2833,6 +2835,11 @@ esac
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
esac esac
if test x"$ac_file" != x-; then
{ echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
# Let's still pretend it is `configure' which instantiates (i.e., don't # Let's still pretend it is `configure' which instantiates (i.e., don't
# use $as_me), people would be surprised to read: # use $as_me), people would be surprised to read:
# /* config.h. Generated by config.status. */ # /* config.h. Generated by config.status. */
@ -2871,12 +2878,6 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
fi;; fi;;
esac esac
done` || { (exit 1); exit 1; } done` || { (exit 1); exit 1; }
if test x"$ac_file" != x-; then
{ echo "$as_me:$LINENO: creating $ac_file" >&5
echo "$as_me: creating $ac_file" >&6;}
rm -f "$ac_file"
fi
_ACEOF _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
sed "$ac_vpsub sed "$ac_vpsub

View File

@ -20,6 +20,7 @@ CFLAGS=${CFLAGS-"-O2 -g"}
AC_CHECK_TOOL(CC, gcc, gcc) AC_CHECK_TOOL(CC, gcc, gcc)
AC_SUBST(CC) AC_SUBST(CC)
AC_SUBST(CFLAGS) AC_SUBST(CFLAGS)
AC_SUBST(with_cross_host)
dnl check for various tools dnl check for various tools
AC_CHECK_TOOL(AR, ar, ar) AC_CHECK_TOOL(AR, ar, ar)

View File

@ -21,6 +21,7 @@ subdirs := ddk directx
host_alias = @host@ host_alias = @host@
build_alias = @build@ build_alias = @build@
target_alias = @target@ target_alias = @target@
with_cross_host = @with_cross_host@
prefix = @prefix@ prefix = @prefix@
includedir:=@includedir@ includedir:=@includedir@
@ -43,9 +44,14 @@ ifneq (,$(findstring cygwin,$(target_alias)))
inst_includedir:=$(tooldir)/include/w32api inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib/w32api inst_libdir:=$(tooldir)/lib/w32api
else else
ifneq (,$with_cross_host)
inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib
else
inst_includedir:=$(includedir) inst_includedir:=$(includedir)
inst_libdir:=$(libdir) inst_libdir:=$(libdir)
endif endif
endif
INSTALL = @INSTALL@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@

View File

@ -17,6 +17,7 @@ VPATH = @srcdir@
host_alias = @host@ host_alias = @host@
build_alias = @build@ build_alias = @build@
target_alias = @target@ target_alias = @target@
with_cross_host = @with_cross_host@
prefix = @prefix@ prefix = @prefix@
includedir:=@includedir@ includedir:=@includedir@
@ -39,9 +40,14 @@ ifneq (,$(findstring cygwin,$(target_alias)))
inst_includedir:=$(tooldir)/include/w32api/ddk inst_includedir:=$(tooldir)/include/w32api/ddk
inst_libdir:=$(tooldir)/lib/w32api inst_libdir:=$(tooldir)/lib/w32api
else else
ifneq (,$with_cross_host)
inst_includedir:=$(tooldir)/include/w32api/ddk
inst_libdir:=$(tooldir)/lib
else
inst_includedir:=$(includedir)/ddk inst_includedir:=$(includedir)/ddk
inst_libdir:=$(libdir) inst_libdir:=$(libdir)
endif endif
endif
INSTALL = @INSTALL@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@

View File

@ -17,6 +17,7 @@ VPATH = @srcdir@
host_alias = @host@ host_alias = @host@
build_alias = @build@ build_alias = @build@
target_alias = @target@ target_alias = @target@
with_cross_host = @with_cross_host@
prefix = @prefix@ prefix = @prefix@
includedir:=@includedir@ includedir:=@includedir@
@ -39,9 +40,14 @@ ifneq (,$(findstring cygwin,$(target_alias)))
inst_includedir:=$(tooldir)/include/w32api inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib/w32api inst_libdir:=$(tooldir)/lib/w32api
else else
ifneq (,$with_cross_host)
inst_includedir:=$(tooldir)/include/w32api
inst_libdir:=$(tooldir)/lib
else
inst_includedir:=$(includedir) inst_includedir:=$(includedir)
inst_libdir:=$(libdir) inst_libdir:=$(libdir)
endif endif
endif
INSTALL = @INSTALL@ INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@