Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e9bc61b0
Commit
e9bc61b0
authored
Jun 17, 2011
by
Glenn Morris
Browse files
Fix previous change.
parent
3a4725e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
configure.in
configure.in
+12
-12
No files found.
configure.in
View file @
e9bc61b0
...
@@ -991,18 +991,6 @@ AC_SYS_LARGEFILE
...
@@ -991,18 +991,6 @@ AC_SYS_LARGEFILE
## If user specified a crt-dir, use that unconditionally.
## If user specified a crt-dir, use that unconditionally.
if test "X$CRT_DIR" = "X"; then
if test "X$CRT_DIR" = "X"; then
## If we're using gcc, and the user hasn't specified a crt-dir, try to
## determine it automatically by asking gcc. [If this doesn't work,
## CRT_DIR will remain empty and system-dependent code will be used below.]
if test "x${GCC}" = xyes; then
crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
case "$crt_file" in
*/*)
CRT_DIR=`AS_DIRNAME(["$crt_file"])`
;;
esac
fi
case "$canonical" in
case "$canonical" in
x86_64-*-linux-gnu* | s390x-*-linux-gnu*)
x86_64-*-linux-gnu* | s390x-*-linux-gnu*)
## On x86-64 and s390x GNU/Linux distributions, the standard library
## On x86-64 and s390x GNU/Linux distributions, the standard library
...
@@ -1025,6 +1013,18 @@ if test "X$CRT_DIR" = "X"; then
...
@@ -1025,6 +1013,18 @@ if test "X$CRT_DIR" = "X"; then
## Default is /usr/lib.
## Default is /usr/lib.
test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
test "X$CRT_DIR" = "X" && CRT_DIR=/usr/lib
## If we're using gcc, try to determine it automatically by asking
## gcc. [If this doesn't work, CRT_DIR will remain at the
## system-dependent default from above.]
if test "x${GCC}" = xyes; then
crt_file=`$CC --print-file-name=crt1.o 2>/dev/null`
case "$crt_file" in
*/*)
CRT_DIR=`AS_DIRNAME(["$crt_file"])`
;;
esac
fi
else
else
## Some platforms don't use any of these files, so it is not
## Some platforms don't use any of these files, so it is not
...
...
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