|
1 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 1 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
2 | 2 | # This comes from the official Autoconf macro archive at
|
3 | 3 | # <http://research.cys.de/autoconf-archive/>
|
4 | 4 | # (I removed the $ before the Id CVS keyword below.)
|
@@ -65,7 +65,37 @@ extern accept ($ac_cv_func_accept_arg1, $ac_cv_func_accept_arg2, $ac_cv_func_acc
|
65 | 65 | AC_DEFINE_UNQUOTED(ACCEPT_TYPE_ARG3,$ac_cv_func_accept_arg3)
|
66 | 66 | ])
|
67 | 67 | # Macros to detect C compiler features
|
68 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 68 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
| 69 | + |
| 70 | + |
| 71 | +# PGAC_C_SIGNED |
| 72 | +# ------------- |
| 73 | +# Check if the C compiler understands signed types. |
| 74 | +AC_DEFUN([PGAC_C_SIGNED], |
| 75 | +[AC_CACHE_CHECK(for signed types, pgac_cv_c_signed, |
| 76 | +[AC_TRY_COMPILE([], |
| 77 | +[signed char c; signed short s; signed int i;], |
| 78 | +[pgac_cv_c_signed=yes], |
| 79 | +[pgac_cv_c_signed=no])]) |
| 80 | +if test x"$pgac_cv_c_signed" = xno ; then |
| 81 | + AC_DEFINE(signed,, [Define empty if the C compiler does not understand signed types]) |
| 82 | +fi])# PGAC_C_SIGNED |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | +# PGAC_C_VOLATILE |
| 87 | +# --------------- |
| 88 | +# Check if the C compiler understands `volatile'. Note that if it doesn't |
| 89 | +# then this will potentially break the program semantics. |
| 90 | +AC_DEFUN([PGAC_C_VOLATILE], |
| 91 | +[AC_CACHE_CHECK(for volatile, pgac_cv_c_volatile, |
| 92 | +[AC_TRY_COMPILE([], |
| 93 | +[extern volatile int i;], |
| 94 | +[pgac_cv_c_volatile=yes], |
| 95 | +[pgac_cv_c_volatile=no])]) |
| 96 | +if test x"$pgac_cv_c_volatile" = xno ; then |
| 97 | + AC_DEFINE(volatile,, [Define empty if the C compiler does not understand `volatile']) |
| 98 | +fi])# PGAC_C_VOLATILE |
69 | 99 |
|
70 | 100 |
|
71 | 101 |
|
@@ -154,7 +184,7 @@ undefine([AC_TYPE_NAME])dnl
|
154 | 184 | undefine([AC_CV_NAME])dnl
|
155 | 185 | ])# PGAC_CHECK_ALIGNOF
|
156 | 186 | # Macros that test various C library quirks
|
157 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 187 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
158 | 188 |
|
159 | 189 |
|
160 | 190 | # PGAC_VAR_INT_TIMEZONE
|
|
233 | 263 | HAVE_POSIX_SIGNALS=$pgac_cv_func_posix_signals
|
234 | 264 | AC_SUBST(HAVE_POSIX_SIGNALS)])# PGAC_FUNC_POSIX_SIGNALS
|
235 | 265 | # Macros to detect certain C++ features
|
236 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 266 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
237 | 267 |
|
238 | 268 |
|
239 | 269 | # PGAC_CLASS_STRING
|
@@ -299,7 +329,7 @@ AC_LANG_RESTORE])
|
299 | 329 | if test $pgac_cv_cxx_namespace_std = yes ; then
|
300 | 330 | AC_DEFINE(HAVE_NAMESPACE_STD, 1, [Define to 1 if the C++ compiler understands `using namespace std'])
|
301 | 331 | fi])# PGAC_CXX_NAMESPACE_STD
|
302 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 332 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
303 | 333 |
|
304 | 334 |
|
305 | 335 | # PGAC_PATH_FLEX
|
@@ -374,7 +404,7 @@ AC_SUBST(FLEXFLAGS)
|
374 | 404 | #
|
375 | 405 | # Autoconf macros for configuring the build of Python extension modules
|
376 | 406 | #
|
377 |
| -# $Header: /cvsroot/pgsql/aclocal.m4,v 1.6 2000/08/28 11:53:12 petere Exp $ |
| 407 | +# $Header: /cvsroot/pgsql/aclocal.m4,v 1.7 2000/08/29 09:36:37 petere Exp $ |
378 | 408 | #
|
379 | 409 |
|
380 | 410 | # PGAC_PROG_PYTHON
|
|
0 commit comments