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
73b724e7
Commit
73b724e7
authored
Dec 28, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Detect out of tree builds made from an unclean source tree.
parent
6150fe19
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
configure
configure
+11
-0
configure.ac
configure.ac
+9
-0
No files found.
configure
View file @
73b724e7
...
...
@@ -1999,6 +1999,17 @@ then
WIN16_INSTALL
=
""
fi
case
"
$srcdir
"
in
.
)
;;
*
)
if
test
-f
"
$srcdir
/Makefile"
-o
-f
"
$srcdir
/include/config.h"
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: you are building out of the source tree, but the source tree contains object files.
You need to run 'make distclean' in the source tree first."
>
&5
echo
"
$as_me
: error: you are building out of the source tree, but the source tree contains object files.
You need to run 'make distclean' in the source tree first."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
;;
esac
{
echo
"
$as_me
:
$LINENO
: checking whether
${
MAKE
-make
}
sets
\$
(MAKE)"
>
&5
echo
$ECHO_N
"checking whether
${
MAKE
-make
}
sets
\$
(MAKE)...
$ECHO_C
"
>
&6
;
}
...
...
configure.ac
View file @
73b724e7
...
...
@@ -49,6 +49,15 @@ then
WIN16_INSTALL=""
fi
dnl check for out of tree build with unclean source tree
case "$srcdir" in
.) ;;
*) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
AC_MSG_ERROR([you are building out of the source tree, but the source tree contains object files.
You need to run 'make distclean' in the source tree first.])
fi ;;
esac
dnl **** Check for some programs ****
AC_PROG_MAKE_SET
...
...
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