confdefs.h when non-zero.
+2001-06-28 Jens Petersen <petersen@redhat.com>
+
+ * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
+ confdefs.h when non-zero.
+
2001-06-28 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.50c.
Jason Molenda jsm@cygnus.com
Jeff Garzik jgarzik@pobox.com
Jeffrey A Law law@cygnus.com
+Jens Petersen petersen@redhat.com
Jim Blandy jimb@wookumz.gnu.ai.mit.edu
Jim Meyering meyering@ascend.com
Jiro Takabatake jiro@din.or.jp
[exit (42);])],
[break])
done
-echo '#ifdef __cplusplus' >>confdefs.h
-echo $ac_declaration >>confdefs.h
-echo '#endif' >>confdefs.h
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
])# _AC_PROG_CXX_EXIT_DECLARATION
[exit (42);])],
[break])
done
-echo '#ifdef __cplusplus' >>confdefs.h
-echo $ac_declaration >>confdefs.h
-echo '#endif' >>confdefs.h
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
])# _AC_PROG_CXX_EXIT_DECLARATION
[exit (42);])],
[break])
done
-echo '#ifdef __cplusplus' >>confdefs.h
-echo $ac_declaration >>confdefs.h
-echo '#endif' >>confdefs.h
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
])# _AC_PROG_CXX_EXIT_DECLARATION
[exit (42);])],
[break])
done
-echo '#ifdef __cplusplus' >>confdefs.h
-echo $ac_declaration >>confdefs.h
-echo '#endif' >>confdefs.h
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
])# _AC_PROG_CXX_EXIT_DECLARATION