diff options
author | Reuben Thomas <rrt@sc3d.org> | 2005-04-16 09:53:30 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2005-04-16 09:53:30 +0000 |
commit | a27e5d8b046c193fad2c1eec19ecd33547369f85 (patch) | |
tree | 8991f23761444b10775340443df87d80e799366b | |
parent | de3960456368cde2d9f80f418f4d9bcfd0a8858c (diff) | |
download | plptools-a27e5d8b046c193fad2c1eec19ecd33547369f85.tar.gz plptools-a27e5d8b046c193fad2c1eec19ecd33547369f85.tar.bz2 plptools-a27e5d8b046c193fad2c1eec19ecd33547369f85.zip |
Remove test for bool, because it was breaking the build for reasons I
don't fully understand, and in any case it's unnecessary: any sensible
C++ compiler will now have proper bool support.
-rw-r--r-- | acconfig.h | 15 | ||||
-rw-r--r-- | conf/m4/kde/AC_CHECK_BOOL.m4 | 16 |
2 files changed, 0 insertions, 31 deletions
@@ -12,9 +12,6 @@ /* Define this, if you have libreadline */ #undef HAVE_LIBREADLINE -/* Define if the C++ compiler supports BOOL */ -#undef HAVE_BOOL - /* Define this, if you want NLS support */ #undef ENABLE_NLS @@ -66,17 +63,5 @@ # define DONT_UPDATE_MTAB /* The mount table is obtained from the kernel (!?) */ #endif -#ifndef HAVE_BOOL -# ifndef bool -# define bool int -# endif -# ifndef true -# define true 1 -# endif -# ifndef false -# define false 0 -# endif -#endif - #endif /* _CONFIG_H_ */ diff --git a/conf/m4/kde/AC_CHECK_BOOL.m4 b/conf/m4/kde/AC_CHECK_BOOL.m4 deleted file mode 100644 index d718d43..0000000 --- a/conf/m4/kde/AC_CHECK_BOOL.m4 +++ /dev/null @@ -1,16 +0,0 @@ -AC_DEFUN([AC_CHECK_BOOL], -[ - AC_MSG_CHECKING([for bool]) - AC_CACHE_VAL(ac_cv_have_bool, - [ - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([], - [bool aBool = true;], - [ac_cv_have_bool="yes"], - [ac_cv_have_bool="no"]) - ]) dnl end AC_CHECK_VAL - AC_MSG_RESULT($ac_cv_have_bool) - if test "$ac_cv_have_bool" = "yes"; then - AC_DEFINE(HAVE_BOOL, 1, [Define if the C++ compiler supports BOOL]) - fi -]) |