Mercurial > hg > xemacs-beta
comparison configure.ac @ 4537:7ca6d57ce12d
Clarify syntax in configure.ac following Vladimir Ivanovic's change.
2008-12-27 Aidan Kehoe <kehoea@parhasard.net>
* configure.ac: Vladimir Ivanovic's change of 2008-09-17 was
effective, but not correct. The original issue was that m4
stripped [], so "char *v[]" in configure.ac became "char *v" in
configure. His change to configure.ac rendered the declaration
"char **v[]", which is effective but confusing; this change
renders it "char **v".
* configure: Regenerate.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 27 Dec 2008 15:30:50 +0000 |
parents | 0ed907d0f1e9 |
children | fe64f1351cbd |
comparison
equal
deleted
inserted
replaced
4536:0ed907d0f1e9 | 4537:7ca6d57ce12d |
---|---|
3432 AC_CHECK_LIB(Xt, XtOpenDisplay, XE_PREPEND(-lXt, libs_x), | 3432 AC_CHECK_LIB(Xt, XtOpenDisplay, XE_PREPEND(-lXt, libs_x), |
3433 AC_MSG_ERROR([Unable to find X11 libraries.])) | 3433 AC_MSG_ERROR([Unable to find X11 libraries.])) |
3434 | 3434 |
3435 AC_MSG_CHECKING(the version of X11 being used) | 3435 AC_MSG_CHECKING(the version of X11 being used) |
3436 AC_RUN_IFELSE([AC_LANG_SOURCE([#include <X11/Intrinsic.h> | 3436 AC_RUN_IFELSE([AC_LANG_SOURCE([#include <X11/Intrinsic.h> |
3437 int main(int c, char **v[]) { return c>1 ? XlibSpecificationRelease : 0; }])], | 3437 int main(int c, char **v) { return c>1 ? XlibSpecificationRelease : 0; }])], |
3438 [./conftest foobar; x11_release=$?],[x11_release=4],[x11_release=4]) | 3438 [./conftest foobar; x11_release=$?],[x11_release=4],[x11_release=4]) |
3439 AC_MSG_RESULT(R${x11_release}) | 3439 AC_MSG_RESULT(R${x11_release}) |
3440 AC_DEFINE_UNQUOTED(THIS_IS_X11R${x11_release}) | 3440 AC_DEFINE_UNQUOTED(THIS_IS_X11R${x11_release}) |
3441 | 3441 |
3442 if test "${x11_release}" = "4"; then | 3442 if test "${x11_release}" = "4"; then |
5580 | 5580 |
5581 dnl Unfortunately, just because we can link doesn't mean we can run. | 5581 dnl Unfortunately, just because we can link doesn't mean we can run. |
5582 dnl One of the above link tests may have succeeded but caused resulting | 5582 dnl One of the above link tests may have succeeded but caused resulting |
5583 dnl executables to fail to run. Also any tests using AC_RUN_IFELSE will | 5583 dnl executables to fail to run. Also any tests using AC_RUN_IFELSE will |
5584 dnl have reported incorrect results. | 5584 dnl have reported incorrect results. |
5585 AC_RUN_IFELSE([AC_LANG_SOURCE([int main(int c,char **v[]){return 0;}])],[:],[ | 5585 AC_RUN_IFELSE([AC_LANG_SOURCE([int main(int c,char **v){return 0;}])],[:],[ |
5586 echo "" | 5586 echo "" |
5587 echo "*** PANIC *** The C compiler can no longer build working executables." | 5587 echo "*** PANIC *** The C compiler can no longer build working executables." |
5588 echo "*** PANIC *** Please examine the tail of config.log for runtime errors." | 5588 echo "*** PANIC *** Please examine the tail of config.log for runtime errors." |
5589 echo "*** PANIC *** The most likely reason for this problem is that configure" | 5589 echo "*** PANIC *** The most likely reason for this problem is that configure" |
5590 echo "*** PANIC *** links with shared libraries, but those libraries cannot be" | 5590 echo "*** PANIC *** links with shared libraries, but those libraries cannot be" |