2006-02-22 Marcus Brinkmann <marcus@g10code.de>
* pth.m4: Fix code generation (required for Max OS X). Submitted by Emanuele Giaquinta <exg@gentoo.org>.
This commit is contained in:
parent
fb6692fc75
commit
13a3cb6e29
@ -1,3 +1,8 @@
|
|||||||
|
2006-02-22 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* pth.m4: Fix code generation (required for Max OS X).
|
||||||
|
Submitted by Emanuele Giaquinta <exg@gentoo.org>.
|
||||||
|
|
||||||
2005-11-17 Marcus Brinkmann <marcus@g10code.de>
|
2005-11-17 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* glib-2.0.m4: New file.
|
* glib-2.0.m4: New file.
|
||||||
|
@ -285,8 +285,6 @@ dnl fi
|
|||||||
#include <pth.h>
|
#include <pth.h>
|
||||||
])
|
])
|
||||||
define(_code2, [dnl
|
define(_code2, [dnl
|
||||||
int main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
if (!(fp = fopen("conftestval", "w")))
|
if (!(fp = fopen("conftestval", "w")))
|
||||||
exit(1);
|
exit(1);
|
||||||
@ -299,7 +297,6 @@ dnl fi
|
|||||||
fprintf(fp, "yes");
|
fprintf(fp, "yes");
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
|
||||||
])
|
])
|
||||||
_AC_PTH_VERBOSE([+ Performing Sanity Checks:])
|
_AC_PTH_VERBOSE([+ Performing Sanity Checks:])
|
||||||
_AC_PTH_VERBOSE([ o pre-processor test])
|
_AC_PTH_VERBOSE([ o pre-processor test])
|
||||||
@ -329,7 +326,7 @@ dnl fi
|
|||||||
See config.log for possibly more details.])
|
See config.log for possibly more details.])
|
||||||
fi
|
fi
|
||||||
_AC_PTH_VERBOSE([ o run-time check])
|
_AC_PTH_VERBOSE([ o run-time check])
|
||||||
AC_TRY_RUN(_code1 _code2, _ok=`cat conftestval`, _ok=no, _ok=no)
|
AC_TRY_RUN(AC_LANG_PROGRAM(_code1, _code2), _ok=`cat conftestval`, _ok=no, _ok=no)
|
||||||
if test ".$_ok" != .yes; then
|
if test ".$_ok" != .yes; then
|
||||||
if test ".$_ok" = .no; then
|
if test ".$_ok" = .no; then
|
||||||
_AC_PTH_ERROR([dnl
|
_AC_PTH_ERROR([dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user