summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2000-08-28 19:03:05 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2000-08-28 19:03:05 +0000
commitd8636fb9bf666bd043f279525d14fdb86deb97df (patch)
treedb0709a5ffec50290ac93ff88d60cfb40947a023 /configure.in
parentbdc9002a6246d5380bed4b3b41212a266f0601dd (diff)
downloadATCD-d8636fb9bf666bd043f279525d14fdb86deb97df.tar.gz
ChangeLogTag:Mon Aug 28 11:56:42 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 5142d3ba7cb..e371bc29305 100644
--- a/configure.in
+++ b/configure.in
@@ -1051,7 +1051,7 @@ ACE_CACHE_CHECK(for getopt() prototype, ace_cv_lib_getopt_proto, [
ace_cv_lib_getopt_proto=yes
],
[
- AC_EGREP_HEADER(getopt, stdlib.h,
+ AC_EGREP_HEADER([[^_]+getopt], stdlib.h,
[
ace_cv_lib_getopt_proto=yes
],
@@ -6723,8 +6723,13 @@ ACE_CACHE_CHECK(if running on a Pentium(tm) processor,
case "$target" in
i386-* | i486-* |i586-* | i686-*)
dnl If we do have a pentium, than define ACE_HAS_PENTIUM and add
-dnl gethrtime.cpp to the source list
- ace_cv_feature_pentium=yes
+dnl gethrtime.cpp to the source list, but only if we're using GNU C++
+dnl since gethrtime.cpp uses assembler code specific to that compiler.
+ if test -n "$GXX"; then
+ ace_cv_feature_pentium=yes
+ else
+ ace_cv_feature_pentium=no
+ fi
;;
*)
ace_cv_feature_pentium=no