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
b5d824bd
Commit
b5d824bd
authored
Aug 24, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Print a warning when prelink isn't found.
parent
129f2292
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
53 deletions
+51
-53
configure
configure
+46
-47
configure.ac
configure.ac
+5
-6
No files found.
configure
View file @
b5d824bd
...
...
@@ -648,6 +648,7 @@ LIBPTHREAD
CROSSTARGET
CROSSCC
CROSSTEST_DISABLE
PRELINK
CARBONLIB
FRAMEWORK_OPENAL
COREAUDIO
...
...
@@ -670,7 +671,6 @@ DLLEXT
CPP
OPENGL_LIBS
XLIB
PRELINK
MAINTAINER_MODE
ICOTOOL
CONVERT
...
...
@@ -5175,52 +5175,6 @@ $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
fi
case
$host_cpu
in
*
i[3456789]86
*
)
# Extract the first word of "prelink", so it can be a program name with args.
set
dummy prelink
;
ac_word
=
$2
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for
$ac_word
"
>
&5
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
if
test
"
${
ac_cv_path_PRELINK
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
case
$PRELINK
in
[
\\
/]
*
|
?:[
\\
/]
*
)
ac_cv_path_PRELINK
=
"
$PRELINK
"
# Let the user override the test with a path.
;;
*
)
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
/sbin /usr/sbin
$PATH
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_path_PRELINK
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
done
done
IFS
=
$as_save_IFS
test
-z
"
$ac_cv_path_PRELINK
"
&&
ac_cv_path_PRELINK
=
"false"
;;
esac
fi
PRELINK
=
$ac_cv_path_PRELINK
if
test
-n
"
$PRELINK
"
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$PRELINK
"
>
&5
$as_echo
"
$PRELINK
"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
;;
esac
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for i386_set_ldt in -li386"
>
&5
$as_echo_n
"checking for i386_set_ldt in -li386... "
>
&6
;
}
...
...
@@ -6930,6 +6884,51 @@ $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
if
test
$ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=
yes
;
then
:
LDEXECFLAGS
=
"
$LDEXECFLAGS
-Wl,--section-start,.interp=0x7bf00400"
fi
# Extract the first word of "prelink", so it can be a program name with args.
set
dummy prelink
;
ac_word
=
$2
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for
$ac_word
"
>
&5
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
if
test
"
${
ac_cv_path_PRELINK
+set
}
"
=
set
;
then
:
$as_echo_n
"(cached) "
>
&6
else
case
$PRELINK
in
[
\\
/]
*
|
?:[
\\
/]
*
)
ac_cv_path_PRELINK
=
"
$PRELINK
"
# Let the user override the test with a path.
;;
*
)
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
/sbin /usr/sbin
$PATH
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_path_PRELINK
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
done
done
IFS
=
$as_save_IFS
test
-z
"
$ac_cv_path_PRELINK
"
&&
ac_cv_path_PRELINK
=
"false"
;;
esac
fi
PRELINK
=
$ac_cv_path_PRELINK
if
test
-n
"
$PRELINK
"
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$PRELINK
"
>
&5
$as_echo
"
$PRELINK
"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
if
test
"x
$PRELINK
"
=
xfalse
then
as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
fi
;;
esac
...
...
configure.ac
View file @
b5d824bd
...
...
@@ -350,12 +350,6 @@ else
fi
case $host_cpu in
*i[[3456789]]86*)
AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
;;
esac
dnl **** Check for some libraries ****
dnl Check for -li386 for NetBSD and OpenBSD
...
...
@@ -796,6 +790,11 @@ case $host_os in
*i[[3456789]]86* | x86_64)
WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x7bf00400],
[LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"])
AC_PATH_PROG(PRELINK, prelink, false, [/sbin /usr/sbin $PATH])
if test "x$PRELINK" = xfalse
then
WINE_WARNING([prelink not found, base address of core dlls won't be set correctly.])
fi
;;
esac
...
...
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