Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
eae0dc23
Commit
eae0dc23
authored
Jan 01, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Added a generic macro for checking for Mingw programs.
parent
638182bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
aclocal.m4
aclocal.m4
+12
-0
configure.ac
configure.ac
+3
-3
No files found.
aclocal.m4
View file @
eae0dc23
...
@@ -131,6 +131,18 @@ else
...
@@ -131,6 +131,18 @@ else
fi
fi
rm -f conf$$ conf$$.file])
rm -f conf$$ conf$$.file])
dnl **** Check for a mingw program, trying the various mingw prefixes ****
dnl
dnl Usage: WINE_CHECK_MINGW_PROG(variable,prog,[value-if-not-found],[path])
dnl
AC_DEFUN([WINE_CHECK_MINGW_PROG],
[AC_CHECK_PROGS([$1],
m4_foreach([ac_wine_prefix],
[i586-mingw32msvc, i386-mingw32msvc, i386-mingw32, mingw32, mingw],
[ac_wine_prefix-$2 ]),
[$3],[$4])])
dnl **** Create nonexistent directories from config.status ****
dnl **** Create nonexistent directories from config.status ****
dnl
dnl
dnl Usage: WINE_CONFIG_EXTRA_DIR(dirname)
dnl Usage: WINE_CONFIG_EXTRA_DIR(dirname)
...
...
configure.ac
View file @
eae0dc23
...
@@ -1101,9 +1101,9 @@ case $host_os in
...
@@ -1101,9 +1101,9 @@ case $host_os in
AC_SUBST(CROSSTEST,"")
AC_SUBST(CROSSTEST,"")
if test "$cross_compiling" = "no"
if test "$cross_compiling" = "no"
then
then
AC_CHECK_PROGS(CROSSCC,i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-
gcc,false)
WINE_CHECK_MINGW_PROG(CROSSCC,
gcc,false)
AC_CHECK_PROGS(DLLTOOL,i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-
dlltool,false)
WINE_CHECK_MINGW_PROG(DLLTOOL,
dlltool,false)
AC_CHECK_PROGS(CROSSWINDRES,i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-
windres,false)
WINE_CHECK_MINGW_PROG(CROSSWINDRES,
windres,false)
if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
fi
fi
;;
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment