Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0cca0a78
Commit
0cca0a78
authored
Jun 17, 2011
by
Miles Bader
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure.in: Try to determine CRT_DIR automatically when using gcc
parent
67222e1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
ChangeLog
ChangeLog
+5
-0
configure.in
configure.in
+15
-0
No files found.
ChangeLog
View file @
0cca0a78
2011-06-16 Miles Bader <miles@gnu.org>
* configure.in: Try to determine CRT_DIR automatically when
using gcc.
2011-06-15 Paul Eggert <eggert@cs.ucla.edu>
2011-06-15 Paul Eggert <eggert@cs.ucla.edu>
* lib/ftoastr.c, lib/stdio.in.h, lib/verify.h:
* lib/ftoastr.c, lib/stdio.in.h, lib/verify.h:
...
...
configure.in
View file @
0cca0a78
...
@@ -988,6 +988,21 @@ dnl Do this early because it can frob feature test macros for Unix-98 &c.
...
@@ -988,6 +988,21 @@ dnl Do this early because it can frob feature test macros for Unix-98 &c.
AC_SYS_LARGEFILE
AC_SYS_LARGEFILE
## 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}z$CRT_DIR" = xyesz; then
crt_file=`$CC 2>/dev/null --print-file-name=crt1.o`
case "$crt_file" in
*/*)
CRT_DIR=`AS_DIRNAME(["$crt_file"])`
;;
esac
fi
## 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
...
...
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