Commit e912f200 authored by 's avatar

Fix --enable-frame-pointers.

http://code.google.com/p/google-glog/issues/detail?id=44


git-svn-id: https://google-glog.googlecode.com/svn/trunk@80 eb4d4688-79bd-11dd-afb4-1d65580434c0
parent eb80cb0a
......@@ -23070,7 +23070,9 @@ echo "${ECHO_T}$ac_cv___sync_val_compare_and_swap" >&6; }
# (This isn't needed on i386, where -fno-omit-frame-pointer is the default).
# Check whether --enable-frame_pointers was given.
if test "${enable_frame_pointers+set}" = set; then
enableval=$enable_frame_pointers; enable_frame_pointers=no
enableval=$enable_frame_pointers;
else
enable_frame_pointers=no
fi
cat >conftest.$ac_ext <<_ACEOF
......
......@@ -85,7 +85,7 @@ AX_C___SYNC_VAL_COMPARE_AND_SWAP
# (This isn't needed on i386, where -fno-omit-frame-pointer is the default).
AC_ARG_ENABLE(frame_pointers,
AS_HELP_STRING([--enable-frame-pointers],
[On x86_64 systems, compile with -fno-omit-frame-pointer (see INSTALL)]),
[On x86_64 systems, compile with -fno-omit-frame-pointer (see INSTALL)]),,
enable_frame_pointers=no)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [return __x86_64__ == 1 ? 0 : 1])],
[is_x86_64=yes], [is_x86_64=no])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment