From 1e0b252fc78b0a96c621c5500a8140c9fcca6e9c Mon Sep 17 00:00:00 2001 From: "H.Habighorst" Date: Mon, 13 Jul 2009 14:05:44 -0400 Subject: Bug 588018 – NetworkManager & DBUS build check rewrite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 625 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 282 insertions(+), 343 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 84c916fea9..770bcfa37e 100644 --- a/configure.ac +++ b/configure.ac @@ -20,11 +20,14 @@ m4_define([upgrade_revision], [0]) # Autoconf / Automake Initialization AC_PREREQ(2.58) -AC_INIT(evolution, [evo_version], http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution) +AC_INIT([evolution],[evo_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=Evolution]) AM_INIT_AUTOMAKE([gnu 1.9]) AC_CONFIG_HEADERS(config.h) AC_CONFIG_SRCDIR(README) +dnl This is for the autoconf tests only - it set's the language we use +AC_LANG(C) + # Automake 1.11 - Silent Build Rules m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) @@ -53,10 +56,8 @@ m4_define([libxml_minimum_version], [2.7.3]) m4_define([shared_mime_info_minimum_version], [0.22]) # Optional Packages -# -# FIXME Minimum versions for dbus-glib-1 and libnm_glib ? -# -m4_define([dbus_minimum_version], [1.0.0]) +m4_define([dbus_minimum_version], [0.74]) +m4_define([nm_minimum_version],[0.7]) m4_define([hal_minimum_version], [0.5.4]) m4_define([libnotify_minimum_version], [0.3.0]) m4_define([gnome_pilot_minimum_version], [2.0.15]) @@ -110,10 +111,12 @@ AC_DEFINE_UNQUOTED(BASE_VERSION, ["$BASE_VERSION"], [Base version (Major.Minor)] AC_SUBST([UPGRADE_REVISION],[upgrade_revision]) AC_DEFINE_UNQUOTED(UPGRADE_REVISION, ["$UPGRADE_REVISION"], [The number of times we've upgraded since the BASE_VERSION release]) -AC_ISC_POSIX AC_PROG_CC -AC_PROG_CPP AC_C_INLINE +AC_PROG_CPP +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET AM_PROG_LEX AC_PROG_YACC AC_PROG_AWK @@ -125,11 +128,7 @@ case $YACC in AC_MSG_ERROR([You need bison to build Evolution]) ;; esac -AC_HEADER_STDC AC_ARG_PROGRAM -AC_PROG_INSTALL -AC_PROG_LN_S -AC_PROG_MAKE_SET dnl Test whether jw is installed AC_PATH_PROG(JW,jw,no) @@ -142,7 +141,7 @@ AM_CONDITIONAL(HAVE_JW, [test x$HAVE_JW = xyes]) AC_SUBST(HAVE_JW) dnl I18N stuff -AC_PROG_INTLTOOL([0.35.5]) +IT_PROG_INTLTOOL([0.35.5]) AM_GLIB_GNU_GETTEXT @@ -154,6 +153,9 @@ localedir='$(prefix)/$(DATADIRNAME)/locale' AC_SUBST(localedir) dnl Initialize libtool +dnl if switch to libtool >= 2.2, replace existing with following: +dnl LT_PREREQ(2.2) +dnl LT_INIT(disable-static win32-dll) AM_DISABLE_STATIC AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL @@ -252,14 +254,17 @@ save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" CFLAGS="$CFLAGS $ICONV_CFLAGS" LIBS="$LIBS $ICONV_LIBS -liconv" -AC_CACHE_CHECK(for iconv in -liconv, ac_cv_libiconv, - AC_TRY_LINK([ -#include -#include ],[ +AC_CACHE_CHECK([for iconv in -liconv], [ac_cv_libiconv], + AC_LINK_IFELSE([AC_LANG_PROGRAM( + [[ + #include + #include + ]], + [[ iconv_t cd; cd = iconv_open ("UTF-8", "ISO-8859-1"); - exit (0); -], [ac_cv_libiconv=yes], [ac_cv_libiconv=no])) + ]] + )],[ac_cv_libiconv=yes],[ac_cv_libiconv=no])) if test $ac_cv_libiconv = yes; then ICONV_LIBS="$ICONV_LIBS -liconv" @@ -279,40 +284,38 @@ if test $have_iconv = yes; then if test $ac_cv_libiconv = no; then AC_CHECK_FUNCS(gnu_get_libc_version) fi - AC_CACHE_CHECK([if iconv() handles UTF-8], ac_cv_libiconv_utf8, AC_TRY_RUN([ -#include -#include -#include -#ifdef HAVE_GNU_GET_LIBC_VERSION -#include -#endif - -int main (int argc, char **argv) -{ - char *jp = "\x1B\x24\x42\x46\x7C\x4B\x5C\x38\x6C"; - char *utf8 = "\xE6\x97\xA5\xE6\x9C\xAC\xE8\xAA\x9E"; - char *transbuf = malloc (10), *trans = transbuf; - iconv_t cd; - size_t jp_len = strlen (jp), utf8_len = 10; - size_t utf8_real_len = strlen (utf8); - -#ifdef HAVE_GNU_GET_LIBC_VERSION - /* glibc 2.1.2's iconv is broken in hard to test ways. */ - if (!strcmp (gnu_get_libc_version (), "2.1.2")) - exit (1); -#endif +AC_CACHE_CHECK([if iconv() handles UTF-8], [ac_cv_libiconv_utf8], + AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #include + #include + #include + #ifdef HAVE_GNU_GET_LIBC_VERSION + #include + #endif + int main() { + char *jp = "\x1B\x24\x42\x46\x7C\x4B\x5C\x38\x6C"; + char *utf8 = "\xE6\x97\xA5\xE6\x9C\xAC\xE8\xAA\x9E"; + char *transbuf = malloc (10), *trans = transbuf; + iconv_t cd; + size_t jp_len = strlen (jp), utf8_len = 10; + size_t utf8_real_len = strlen (utf8); - cd = iconv_open ("UTF-8", "ISO-2022-JP"); - if (cd == (iconv_t) -1) - exit (1); - if (iconv (cd, &jp, &jp_len, &trans, &utf8_len) == -1 || jp_len != 0 -) - exit (1); - if (memcmp (utf8, transbuf, utf8_real_len) != 0) - exit (1); + #ifdef HAVE_GNU_GET_LIBC_VERSION + /* glibc 2.1.2's iconv is broken in hard to test ways. */ + if (!strcmp (gnu_get_libc_version (), "2.1.2")) + exit (1); + #endif - exit (0); -}], ac_cv_libiconv_utf8=yes, [ac_cv_libiconv_utf8=no; have_iconv=no], [ac_cv_libiconv_utf8=hopefully])) + cd = iconv_open ("UTF-8", "ISO-2022-JP"); + if (cd == (iconv_t) -1) + exit (1); + if (iconv (cd, &jp, &jp_len, &trans, &utf8_len) == -1 || jp_len != 0) + exit (1); + if (memcmp (utf8, transbuf, utf8_real_len) != 0) + exit (1); + return (0);} + ]]) + ],[ac_cv_libiconv_utf8=yes],[ac_cv_libiconv_utf8=no; have_iconv=no],[ac_cv_libiconv_utf8=hopefully])) fi if test "$have_iconv" = no; then @@ -324,21 +327,20 @@ AC_SUBST(ICONV_LIBS) CFLAGS="$CFLAGS -I$srcdir" AC_MSG_CHECKING([preferred charset name formats for system iconv]) -AC_TRY_RUN([ -#define CONFIGURE_IN -#include "iconv-detect.c" -],[ - AC_MSG_RESULT([found]) -],[ - AC_MSG_RESULT([not found]) - AC_WARN([ - *** The iconv-detect program was unable to determine the - *** preferred charset name formats recognized by your - *** iconv library. It is suggested that you install a - *** working iconv library such as the one found at - *** ftp://ftp.gnu.org/pub/gnu/libiconv -])],[ - if test x$os_win32 = xyes; then +AC_RUN_IFELSE([AC_LANG_SOURCE([[ + #define CONFIGURE_IN + #include "iconv-detect.c" + ]])], + [AC_MSG_RESULT([found])], + [AC_MSG_RESULT([not found]) + AC_MSG_WARN([ + *** The iconv-detect program was unable to determine the + *** preferred charset name formats recognized by your + *** iconv library. It is suggested that you install a + *** working iconv library such as the one found at + *** ftp://ftp.gnu.org/pub/gnu/libiconv + ])], + [if test x$os_win32 = xyes; then AC_MSG_RESULT([using known win32 result]) echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h echo >>iconv-detect.h @@ -347,11 +349,11 @@ AC_TRY_RUN([ echo '#define ICONV_10646 "UCS-4BE"' >>iconv-detect.h else AC_MSG_RESULT([unknown]) - AC_WARN([ - *** We can't determine the preferred charset name formats - *** recognized by your iconv library. You are - *** cross-compiling and supposed to know what you are doing. - *** Please construct the iconv-detect.h file manually. + AC_MSG_WARN([ + *** We can't determine the preferred charset name formats + *** recognized by your iconv library. You are + *** cross-compiling and supposed to know what you are doing. + *** Please construct the iconv-detect.h file manually. ]) fi ]) @@ -360,27 +362,10 @@ CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" dnl alloca() -AC_CHECK_HEADERS(alloca.h) +AC_FUNC_ALLOCA dnl waitpid() etc -AC_CHECK_HEADERS(sys/wait.h) - -if test x$os_win32 != xyes; then - dnl check for socklen_t (in Unix98) - AC_MSG_CHECKING([for socklen_t]) - AC_TRY_COMPILE([#include - #include - socklen_t x; - ],[],[AC_MSG_RESULT([yes])],[ - AC_TRY_COMPILE([#include - #include - int accept (int, struct sockaddr *, size_t *); - ],[],[ - AC_MSG_RESULT([size_t]) - AC_DEFINE(socklen_t,size_t,[Define to appropriate type if socklen_t is not defined])], [ - AC_MSG_RESULT([int]) - AC_DEFINE(socklen_t,int)])]) -fi +AC_HEADER_SYS_WAIT dnl dnl Purify support @@ -400,35 +385,34 @@ AM_CONDITIONAL(ENABLE_TEST_COMPONENT, [test x$enable_test_comp = xyes]) dnl *************** dnl Timezone checks dnl *************** -AC_CACHE_CHECK(for tm_gmtoff in struct tm, ac_cv_struct_tm_gmtoff, - AC_TRY_COMPILE([ - #include - ], [ +AC_CACHE_CHECK(for tm_gmtoff in struct tm, [ac_cv_struct_tm_gmtoff], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include ]], + [[ struct tm tm; tm.tm_gmtoff = 1; - ], ac_cv_struct_tm_gmtoff=yes, ac_cv_struct_tm_gmtoff=no)) + ]] + )],[ac_cv_struct_tm_gmtoff=yes],[ac_cv_struct_tm_gmtoff=no])) if test $ac_cv_struct_tm_gmtoff = yes; then AC_DEFINE(HAVE_TM_GMTOFF, 1, [Define if struct tm has a tm_gmtoff member]) else - AC_CACHE_CHECK(for timezone variable, ac_cv_var_timezone, - AC_TRY_COMPILE([ - #include - ], [ - timezone = 1; - ], ac_cv_var_timezone=yes, ac_cv_var_timezone=no)) + AC_CACHE_CHECK(for timezone variable, [ac_cv_var_timezone], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include ]], + [[ timezone = 1; ]] + )],[ac_cv_var_timezone=yes],[ac_cv_var_timezone=no])) if test $ac_cv_var_timezone = yes; then AC_DEFINE(HAVE_TIMEZONE, 1, [Define if libc defines a timezone variable]) - AC_CACHE_CHECK(for altzone variable, ac_cv_var_altzone, - AC_TRY_COMPILE([ - #include - ], [ - altzone = 1; - ], ac_cv_var_altzone=yes, ac_cv_var_altzone=no)) + AC_CACHE_CHECK(for altzone variable, [ac_cv_var_altzone], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include ]], + [[ altzone = 1; ]] + )],[ac_cv_var_altzone=yes],[ac_cv_var_altzone=no])) if test $ac_cv_var_altzone = yes; then AC_DEFINE(HAVE_ALTZONE, 1, [Define if libc defines an altzone variable]) fi else - AC_ERROR(unable to find a way to determine timezone) + AC_MSG_ERROR([unable to find a way to determine timezone]) fi fi @@ -439,19 +423,14 @@ dnl ************************************************** dnl ctime_r prototype dnl ************************************************** -AC_CACHE_CHECK([if ctime_r wants three arguments], ac_cv_ctime_r_three_args, +AC_CACHE_CHECK([if ctime_r wants three arguments], [ac_cv_ctime_r_three_args], [ - AC_TRY_COMPILE([ - #include - ],[ - char *buf; + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include ]], + [[ char *buf; time_t date; - ctime_r (&date, buf, 100); - ],[ - ac_cv_ctime_r_three_args=yes - ],[ - ac_cv_ctime_r_three_args=no - ]) + ctime_r (&date, buf, 100); ]] + )],[ac_cv_ctime_r_three_args=yes],[ac_cv_ctime_r_three_args=no]) ]) if test x"$ac_cv_ctime_r_three_args" = xyes ; then @@ -463,9 +442,10 @@ dnl gethostbyname_r prototype dnl ************************************************** AC_CHECK_FUNCS(gethostbyname_r,[ -AC_CACHE_CHECK([if gethostbyname_r wants five arguments], ac_cv_gethostbyname_r_five_args, +AC_CACHE_CHECK([if gethostbyname_r wants five arguments], [ac_cv_gethostbyname_r_five_args], [ - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include "confdefs.h" #include #include @@ -473,18 +453,15 @@ AC_CACHE_CHECK([if gethostbyname_r wants five arguments], ac_cv_gethostbyname_r_ #include #define BUFSIZE (sizeof(struct hostent)+10) - ],[ + ]], + [[ struct hostent hent; char buffer[BUFSIZE]; int bufsize=BUFSIZE; int h_errno; - (void)gethostbyname_r ("www.ximian.com", &hent, buffer, bufsize, &h_errno); - ],[ - ac_cv_gethostbyname_r_five_args=yes - ],[ - ac_cv_gethostbyname_r_five_args=no - ]) + ]] + )],[ac_cv_gethostbyname_r_five_args=yes],[ac_cv_gethostbyname_r_five_args=no]) ])]) if test "x$ac_cv_gethostbyname_r_five_args" = "xyes" ; then @@ -496,28 +473,24 @@ dnl gethostbyaddr_r prototype dnl ************************************************** AC_CHECK_FUNCS(gethostbyaddr_r,[ -AC_CACHE_CHECK([if gethostbyaddr_r wants seven arguments], ac_cv_gethostbyaddr_r_seven_args, +AC_CACHE_CHECK([if gethostbyaddr_r wants seven arguments], [ac_cv_gethostbyaddr_r_seven_args], [ - AC_TRY_COMPILE([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include "confdefs.h" #include #include #include #include - #define BUFSIZE (sizeof(struct hostent)+10) - ],[ + ]], + [[ struct hostent hent; char buffer[BUFSIZE]; int bufsize=BUFSIZE; int h_errno; - - (void)gethostbyaddr_r ("www.ximian.com", 14, AF_INET, &hent, buffer, bufsize, &h_errno); - ],[ - ac_cv_gethostbyaddr_r_seven_args=yes - ],[ - ac_cv_gethostbyaddr_r_seven_args=no - ]) + (void)gethostbyaddr_r ("www.ximian.com", 14, AF_INET, &hent, buffer, bufsize, &h_errno); ]] + )],[ac_cv_gethostbyaddr_r_seven_args=yes],[ac_cv_gethostbyaddr_r_seven_args=no]) ])]) if test "x$ac_cv_gethostbyaddr_r_seven_args" = "xyes" ; then @@ -528,10 +501,25 @@ dnl ************************************************** dnl stat(v)fs location/type dnl ************************************************** -AC_CHECK_HEADERS(sys/statvfs.h) +AC_CHECK_HEADERS(sys/statvfs.h,,, +[[ + #if HAVE_SYS_STATVFS_H + #include + #endif +]]) AC_CHECK_FUNCS(statvfs) -AC_CHECK_HEADERS(sys/param.h) -AC_CHECK_HEADERS(sys/mount.h) +AC_CHECK_HEADERS(sys/param.h,,, +[[ + #if HAVE_SYS_PARAM_H + #include + #endif +]]) +AC_CHECK_HEADERS(sys/mount.h,,, +[[ + #if HAVE_SYS_MOUNT_H + #include + #endif +]]) AC_CHECK_FUNCS(statfs) dnl ************************************************** @@ -550,13 +538,9 @@ dnl ************************************************** dnl * XF86 multimedia keys support dnl ************************************************** have_xfree=no -AC_COMPILE_IFELSE([ - #include - int main(int argc,char **argv) { - return 0; - } - ], - have_xfree=yes +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include ]],[[]])], + [have_xfree=yes] ) AC_MSG_CHECKING([for X11 XFree86 headers]) AC_MSG_RESULT([$have_xfree]) @@ -642,36 +626,6 @@ else fi AM_CONDITIONAL(ENABLE_NNTP, [test x$enable_nntp = xyes]) -dnl ************************************************** -dnl New IMAP code support. -dnl ************************************************** -AC_ARG_ENABLE([imapp], - AS_HELP_STRING([--enable-imapp], - [Attempt to compile alternative, incomplete, very unsupported IMAPv4r1 code]),, - [enable_imapp=no]) -if test "x$enable_imapp" = "xyes"; then - AC_DEFINE(ENABLE_IMAPP,1,[Really don't try this at home]) - msg_imapp=yes -else - msg_imapp=no -fi -AM_CONDITIONAL(ENABLE_IMAPP, [test x$enable_imapp = xyes]) - -dnl ************************************************** -dnl New IMAP code support. -dnl ************************************************** -AC_ARG_ENABLE([imap4], - AS_HELP_STRING([--enable-imap4], - [Attempt to compile yet another, incomplete, very unsupported IMAPv4r1 implementation]),, - [enable_imap4=yes]) -if test "x$enable_imap4" = "xyes"; then - AC_DEFINE(ENABLE_IMAP4,1,[Really don't try this at home]) - msg_imap4=yes -else - msg_imap4=no -fi -AM_CONDITIONAL(ENABLE_IMAP4, [test x$enable_imap4 = xyes]) - AC_DEFINE(HANDLE_LIBICAL_MEMORY, 1, [Define it once memory returned by libical is free'ed properly]) dnl ************************************************** @@ -734,24 +688,22 @@ if test "x$enable_pilot_conduits" = "xyes"; then LDFLAGS_save="$LDFLAGS" LDFLAGS="$GNOME_PILOT_LIBS $LDFLAGS" - AC_CACHE_CHECK([if pilot-link handles UTF-8 conversions], - [ac_cv_pilot_link_utf8], AC_TRY_RUN([ - #include + AC_CACHE_CHECK([if pilot-link handles UTF-8 conversions],[ac_cv_pilot_link_utf8], + AC_RUN_IFELSE([AC_LANG_SOURCE( + [[ #include #include #include - int main (int argc, char **argv) - { - const char *utf8 = "\x66\x66\x66\x66\x66\x66\x66\xC2\xA9"; - size_t utf8_real_len = strlen (utf8); - char *pstring; - - if (convert_ToPilotChar ("UTF-8", utf8, utf8_real_len, &pstring) == -1) - exit (1); - exit (0); + int main (){ + const char *utf8 = "\x66\x66\x66\x66\x66\x66\x66\xC2\xA9"; + size_t utf8_real_len = strlen (utf8); + char *pstring; + if (convert_ToPilotChar ("UTF-8", utf8, utf8_real_len, &pstring) == -1) + exit (1); + return (0); } - ], - [ac_cv_pilot_link_utf8=yes],[ac_cv_pilot_link_utf8=no],[ac_cv_pilot_link_utf8=no])) + ]] + )],[ac_cv_pilot_link_utf8=yes],[ac_cv_pilot_link_utf8=no],[ac_cv_pilot_link_utf8=no])) CFLAGS="$CFLAGS_save" LDFLAGS="$LDFLAGS_save" @@ -821,13 +773,16 @@ if test "x${with_krb5}" != "xno"; then AC_CACHE_CHECK([for Kerberos 5], [ac_cv_lib_kerberos5], [ LDFLAGS="$LDFLAGS -L$with_krb5_libs $mitlibs" - AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$mitlibs", + AC_LINK_IFELSE([AC_LANG_CALL([], [krb5_init_context,])], + [ac_cv_lib_kerberos5="$mitlibs"], [ LDFLAGS="$LDFLAGS_save -L$with_krb5_libs $heimlibs" - AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$heimlibs", + AC_LINK_IFELSE([AC_LANG_CALL([], [krb5_init_context])], + [ac_cv_lib_kerberos5="$heimlibs"], [ LDFLAGS="$LDFLAGS_save -L$with_krb5_libs $sunlibs" - AC_TRY_LINK_FUNC(krb5_init_context, ac_cv_lib_kerberos5="$sunlibs", ac_cv_lib_kerberos5="no") + AC_LINK_IFELSE([AC_LANG_CALL([], [krb5_init_context])], + [ac_cv_lib_kerberos5="$sunlibs"], [ac_cv_lib_kerberos5="no"]) ]) ]) LDFLAGS="$LDFLAGS_save" @@ -868,8 +823,16 @@ else AC_MSG_RESULT([$with_krb5]) fi -AC_CHECK_HEADER([et/com_err.h],[AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have et/comm_err.h])]) -AC_CHECK_HEADER([com_err.h],[AC_DEFINE([HAVE_COM_ERR_H], 1, [Have comm_err.h])]) +AC_CHECK_HEADER([et/com_err.h],,, +[[#if HAVE_ET_COM_ERR_H +#include +#endif +]]) +AC_CHECK_HEADER([com_err.h],,, +[[#if HAVE_ET_COM_ERR_H +#include +#endif +]]) msg_krb4="no" if test "x${with_krb4}" != "xno"; then @@ -881,20 +844,24 @@ if test "x${with_krb4}" != "xno"; then mitcompatlibs="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err" # Look for MIT krb5 compat krb4 LDFLAGS="$LDFLAGS -L$with_krb4_libs $mitcompatlibs" - AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="$mitcompatlibs") + AC_LINK_IFELSE([AC_LANG_CALL([], [krb_mk_req])], + [ac_cv_lib_kerberos4="$mitcompatlibs"]) if test "$ac_cv_lib_kerberos4" = "no"; then # Look for KTH krb4 LDFLAGS="$LDFLAGS_save -L$with_krb4_libs -lkrb -lcrypto -lcom_err -lroken" - AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb -lcrypto -lcom_err -lroken") + AC_LINK_IFELSE([AC_LANG_CALL([], [krb_mk_req])], + [ac_cv_lib_kerberos4="-lkrb -lcrypto -lcom_err -lroken"]) fi if test "$ac_cv_lib_kerberos4" = "no"; then # Look for old MIT krb4 LDFLAGS="$LDFLAGS_save -L$with_krb4_libs -lkrb" - AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb", + AC_LINK_IFELSE([AC_LANG_CALL([], [krb_mk_req])], + [ac_cv_lib_kerberos4="-lkrb"], [ LDFLAGS="$LDFLAGS -ldes" - AC_TRY_LINK_FUNC(krb_mk_req, ac_cv_lib_kerberos4="-lkrb -ldes") + AC_LINK_IFELSE([AC_LANG_CALL([], [krb_mk_req])], + [ac_cv_lib_kerberos4="-lkrb -ldes"]) ]) fi ]) @@ -917,9 +884,11 @@ if test "x${with_krb4}" != "xno"; then CFLAGS_save="$CFLAGS" CFLAGS="$CFLAGS $KRB4_CFLAGS" - AC_TRY_COMPILE([#include "krb.h" - int krb_sendauth; - ],[return 0],[AC_DEFINE(NEED_KRB_SENDAUTH_PROTO,1,[Need krb_sendauth proto])],) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ #include "krb.h" + int krb_sendauth; + ]] + ,[[]])],[AC_DEFINE(NEED_KRB_SENDAUTH_PROTO,1,[Need krb_sendauth proto])],[]) CFLAGS="$CFLAGS_save" fi else @@ -1087,7 +1056,13 @@ if test "x${enable_nss}" = "xyes" || test "x${enable_nss}" = "xstatic"; then AC_MSG_RESULT([""]) CPPFLAGS="$CPPFLAGS -I$with_nspr_includes" - AC_CHECK_HEADERS(nspr.h prio.h, [ moz_nspr_includes="yes" ]) + AC_CHECK_HEADERS([nspr.h prio.h],[ moz_nspr_includes="yes" ],, + [[ + #if HAVE_NSPR_H + #include + #include + #endif + ]]) CPPFLAGS="$CPPFLAGS_save" if test "x{$moz_nspr_includes}" != "xno" -a "x{$moz_nspr_includes}" != "x" ; then @@ -1129,7 +1104,8 @@ if test "x${enable_nss}" = "xyes" || test "x${enable_nss}" = "xstatic"; then LDFLAGS="$LDFLAGS" fi - AC_TRY_LINK_FUNC(PR_Init, ac_cv_moz_nspr_libs="yes", ac_cv_moz_nspr_libs="no") + AC_LINK_IFELSE([AC_LANG_CALL([], [PR_Init])], + [ac_cv_moz_nspr_libs="yes"], [ac_cv_moz_nspr_libs="no"]) CFLAGS="$CFLAGS_save" LDFLAGS="$LDFLAGS_save" LIBS="$LIBS_save" @@ -1159,7 +1135,14 @@ if test "x${enable_nss}" = "xyes" || test "x${enable_nss}" = "xstatic"; then AC_CHECK_HEADERS(nss.h ssl.h smime.h, [ have_nss_includes="yes" ], - [ have_nss_includes="no" ]) + [ have_nss_includes="no" ], + [ + #if HAVE_NSPR_H + #include + #include + #include + #endif + ]) CPPFLAGS="$CPPFLAGS_save" @@ -1200,11 +1183,13 @@ if test "x${enable_nss}" = "xyes" || test "x${enable_nss}" = "xstatic"; then LIBS_save="$LIBS" LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs" LIBS="$nsslibs $nsprlibs" - AC_TRY_LINK_FUNC(NSS_Init, ac_cv_moz_nss_libs="yes", ac_cv_moz_nss_libs="no") + AC_LINK_IFELSE([AC_LANG_CALL([], [NSS_Init])], + [ac_cv_moz_nss_libs="yes"], [ac_cv_moz_nss_libs="no"]) if test "$ac_cv_moz_nss_libs" = no; then nsslibs="-lssl3 -lsmime3 -lnss3" LDFLAGS="$LDFLAGS -L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs" - AC_TRY_LINK_FUNC(NSS_Init, ac_cv_moz_nss_libs="yes", ac_cv_moz_nss_libs="no") + AC_LINK_IFELSE([AC_LANG_CALL([], [NSS_Init])], + [ac_cv_moz_nss_libs="yes"], [ac_cv_moz_nss_libs="no"]) fi LDFLAGS="$LDFLAGS_save" LIBS="$LIBS_save" @@ -1299,75 +1284,6 @@ else [Command to kill processes by name]) fi -dnl ****************************** -dnl OpenSSL -dnl ****************************** - -dnl only continue detecting OpenSSL if we haven't already found all of the -dnl Mozilla libnss includes/libraries and if user actually wants ssl support -dnl if test "$msg_ssl" = "no" -a "x${enable_openssl}" != "xno"; then -dnl AC_ARG_WITH(openssl-includes, [ --with-openssl-includes=PREFIX Location of OpenSSL includes.], -dnl with_openssl_includes="$withval", with_openssl_includes="/usr/include") -dnl have_openssl_includes="no" -dnl if test "x${with_openssl_includes}" != "xno"; then -dnl CPPFLAGS_save="$CPPFLAGS" -dnl -dnl AC_MSG_CHECKING(for OpenSSL includes) -dnl AC_MSG_RESULT("") -dnl -dnl CPPFLAGS="$CPPFLAGS -I$with_openssl_includes" -dnl AC_CHECK_HEADERS(openssl/ssl.h openssl/x509.h, [ openssl_includes="yes" ]) -dnl CPPFLAGS="$CPPFLAGS_save" -dnl -dnl if test "x{$openssl_includes}" != "xno" -a "x{$openssl_includes}" != "x"; then -dnl have_openssl_includes="yes" -dnl OPENSSL_CFLAGS="-I$with_openssl_includes" -dnl else -dnl OPENSSL_CFLAGS="" -dnl fi -dnl else -dnl AC_MSG_CHECKING(for OpenSSL includes) -dnl AC_MSG_RESULT(no) -dnl fi -dnl -dnl AC_ARG_WITH(openssl-libs, [ --with-openssl-libs=PREFIX Location of OpenSSL libs.], -dnl with_openssl_libs="$withval") -dnl if test "x${with_openssl_libs}" != "xno" -a "x${have_openssl_includes}" != "xno"; then -dnl LDFLAGS_save="$LDFLAGS" -dnl -dnl case $with_openssl_libs in -dnl ""|-L*) ;; -dnl *) with_openssl_libs="-L$with_openssl_libs" ;; -dnl esac -dnl -dnl AC_CHECK_LIB(dl, dlopen, DL_LDFLAGS="-ldl", DL_LDFLAGS="") -dnl AC_CACHE_CHECK([for OpenSSL libraries], [ac_cv_openssl_libs], -dnl [ -dnl LDFLAGS="$LDFLAGS $with_openssl_libs -lssl -lcrypto $DL_LDFLAGS" -dnl AC_TRY_LINK_FUNC(SSL_read, openssl_libs="yes", openssl_libs="no") -dnl LDFLAGS="$LDFLAGS_save" -dnl ]) -dnl if test "x${openssl_libs}" != "xno"; then -dnl AC_DEFINE(HAVE_OPENSSL,1,[Define if you have OpenSSL]) -dnl AC_DEFINE(HAVE_SSL) -dnl msg_ssl="yes (OpenSSL)" -dnl OPENSSL_LDFLAGS="$with_openssl_libs -lssl -lcrypto $DL_LDFLAGS" -dnl else -dnl OPENSSL_CFLAGS="" -dnl OPENSSL_LDFLAGS="" -dnl fi -dnl else -dnl AC_MSG_CHECKING(for OpenSSL libraries) -dnl AC_MSG_RESULT(no) -dnl fi -dnl else -dnl OPENSSL_CFLAGS="" -dnl OPENSSL_LDFLAGS="" -dnl -dnl -dnl AC_SUBST(OPENSSL_CFLAGS) -dnl AC_SUBST(OPENSSL_LDFLAGS) - dnl ******************* dnl GObject marshalling dnl ******************* @@ -1448,8 +1364,18 @@ FULL_GNOME_DEPS="libbonoboui-2.0 gconf-2.0 gthread-2.0 gobject-2.0 libgnomeui-2. CPPFLAGS_save="$CPPFLAGS" CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags-only-I libgnomeui-2.0`" -AC_CHECK_HEADERS(libgnomeui/gnome-icon-lookup.h) -AC_CHECK_HEADERS(libgnomeui/gnome-thumbnail.h) +AC_CHECK_HEADERS(libgnomeui/gnome-icon-lookup.h,,, +[[ + #if HAVE_LIBGNOMEUI_GNOME_ICON_LOOKUP_H + #include + #endif +]]) +AC_CHECK_HEADERS(libgnomeui/gnome-thumbnail.h,,, +[[ + #if HAVE_LIBGNOMEUI_GNOME_THUMBNAIL_H + #include + #endif +]]) CPPFLAGS="$CPPFLAGS_save" PKG_CHECK_MODULES([HAL], [hal >= hal_minimum_version], [HAVE_HAL="yes"], [HAVE_HAL="no"]) @@ -1463,17 +1389,25 @@ else fi AC_MSG_CHECKING([for yTNEF]) -AC_TRY_COMPILE([#include - #include ], - [TNEFStruct *tnef;], tnef_ok=yes, tnef_ok=no) +AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ + #include + #include + ]], + [[ TNEFStruct *tnef; ]] + )], [tnef_ok=yes], [tnef_ok=no]) if test "$tnef_ok" = "yes"; then AC_MSG_RESULT([yes]) TNEF_ATTACHMENTS="tnef-attachments" TNEF_CFLAGS="-DHAVE_YTNEF_H" else - AC_TRY_COMPILE([#include - #include ], - [TNEFStruct *tnef;], tnef_ok=yes, tnef_ok=no) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM( + [[ + #include + #include + ]], + [[ TNEFStruct *tnef; ]] + )], [tnef_ok=yes], [tnef_ok=no]) if test "$tnef_ok" = "yes"; then AC_MSG_RESULT([yes]) TNEF_ATTACHMENTS="tnef-attachments" @@ -1486,7 +1420,53 @@ else fi AC_SUBST(TNEF_CFLAGS) -echo "TNEF is "$TNEF_ATTACHMENTS +dnl Check for dbus-glib-1 and dbus +AC_ARG_ENABLE([dbus], + [AS_HELP_STRING([--enable-dbus], + [enable DBUS support (default=yes)])], + [enable_dbus=$enableval],[enable_dbus=yes]) +AC_MSG_CHECKING([if dbus support is enabled]) +AC_MSG_RESULT([$enable_dbus]) +if test "$enable_dbus" = "yes"; then + PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1 >= dbus_minimum_version], + [DBUS_SUPPORT="yes"], + [AC_MSG_ERROR([DBUS respectively dbus-glib not found! (or version < dbus_minimum_version)! + If you want to disable DBUS, please append --disable-dbus to configure! + DBUS is required for NetworkManager - NetworkManager support will then be disabled, too!])]) + AC_DEFINE(DBUS_SUPPORT, 1, [dbus available]) + AC_SUBST(HAVE_DBUS) + AC_SUBST(DBUS_GLIB_CFLAGS) + AC_SUBST(DBUS_GLIB_LIBS) +elif test "$enable_dbus" = "no" -a "$enable_nm" = "yes"; then + AC_MSG_ERROR([DBUS disabled and NetworkManager enabled - this won't work! + Disable NetworkManager (append --disable-nm to configure)!]) +else + AC_MSG_WARN([DBUS support disabled!]) + DBUS_SUPPORT="no" +fi +AM_CONDITIONAL([DBUS_SUPPORT], [test "$DBUS_SUPPORT" = yes]) + +dnl Check for NetworkManager +AC_ARG_ENABLE([nm], + [AS_HELP_STRING([--enable-nm], + [enable NetworkManager support (default=yes)])], + [enable_nm=$enableval],[enable_nm=yes]) +AC_MSG_CHECKING([if NetworkManager support is enabled]) +AC_MSG_RESULT([$enable_nm]) +if test "$enable_nm" = yes; then + PKG_CHECK_MODULES([NM], [NetworkManager >= nm_minimum_version], + [NM_SUPPORT="yes"], + [AC_MSG_ERROR([NetworkManager not found (or version < nm_minimum_version)! + If you want to disable NetworkManager, please append --disable-nm to configure!])]) + AC_DEFINE(NM_SUPPORT, 1, [network manager available]) + AC_SUBST(HAVE_NM) + AC_SUBST(NM_CFLAGS) +else + AC_MSG_WARN([NetworkManager support disabled!]) + NM_SUPPORT="no" +fi + +AM_CONDITIONAL([NM_SUPPORT], [test "$NM_SUPPORT" = yes]) dnl --- Flags for the various libraries we build @@ -1547,22 +1527,7 @@ AC_SUBST(LIBFILTER_CFLAGS) AC_SUBST(LIBFILTER_LIBS) dnl --- evolution (shell) flags - -NM_SUPPORT_PACKAGES="" - -PKG_CHECK_MODULES([NM], [dbus-glib-1], [NM_SUPPORT="yes"], [NM_SUPPORT="no"]) -AC_CHECK_HEADER(NetworkManager/NetworkManager.h, [ nm_header="yes" ] ) -if test "x$NM_SUPPORT" = "xyes" -a "x$nm_header" = "xyes"; then - AC_DEFINE(NM_SUPPORT, 1, [network manager available]) - NM_SUPPORT_PACKAGES="dbus-1 dbus-glib-1" -else - NM_SUPPORT=no -fi - -AM_CONDITIONAL(NM_SUPPORT, test x$NM_SUPPORT = xyes) - - -EVO_SET_COMPILE_FLAGS(SHELL, libgnomeui-2.0 libbonoboui-2.0 libglade-2.0 gio-2.0 gconf-2.0 gobject-2.0 libgtkhtml-$GTKHTML_PACKAGE $NM_SUPPORT_PACKAGES) +EVO_SET_COMPILE_FLAGS(SHELL, libgnomeui-2.0 libbonoboui-2.0 libglade-2.0 gio-2.0 gconf-2.0 gobject-2.0 libgtkhtml-$GTKHTML_PACKAGE) AC_SUBST(SHELL_CFLAGS) AC_SUBST(SHELL_LIBS) @@ -1842,29 +1807,6 @@ then fi fi -if ${PKG_CONFIG} --exists dbus-glib-1 ; then - dnl ************************************************** - dnl * Mail Notification plugin's DBus messages - dnl ************************************************** - PKG_CHECK_MODULES([NMN], [dbus-glib-1]) - AC_SUBST(NMN_CFLAGS) - AC_SUBST(NMN_LIBS) - - # Get the version of the DBus API, so we can hack around API changes until the API stabilises: - # multiply by 1000 to convert decimal to integer; so e.g. 0.31 become 310 - # since preprocessor values must be integral - FOUND_DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1 | $AWK '{print 1000 * $1}'`" - AC_SUBST(FOUND_DBUS_VERSION) - AC_DEFINE(HAVE_DBUS,1,[Define if you have DBUS support]) - AC_SUBST(HAVE_DBUS) - AM_CONDITIONAL(ENABLE_DBUS, true) - -else - echo "warning: dbus-glib-1 was not found, Mail notification plugins's dbus message support not built" - AM_CONDITIONAL(ENABLE_DBUS, false) - -fi - if echo ${plugins_enabled} | grep "exchange-operations" > /dev/null ; then PKG_CHECK_MODULES([LIBEXCHANGESTORAGE], [libexchange-storage-$EDS_PACKAGE >= eds_minimum_version], [have_libexchange="yes"], [have_libexchange="no"]) if test "x$have_libexchange" = "xyes"; then @@ -2112,21 +2054,18 @@ echo " fi echo " - LDAP support: $msg_ldap - HAL: $HAVE_HAL" -if test "$msg_nntp" = "yes"; then -echo "\ - NNTP support: $msg_nntp" -fi -echo "\ - Pilot conduits: $msg_pilot - Libnotify: $HAVE_LIBNOTIFY - Kerberos 4/5: $msg_krb4/$msg_krb5 - SSL support: $msg_ssl - SMIME support: $msg_smime - Plugins: $msg_plugins - DBus API version: $FOUND_DBUS_VERSION - User documentation: $with_help - Mono bindings: $enable_mono - Python bindings: $enable_python + LDAP support: $msg_ldap + HAL: $HAVE_HAL + DBUS: $DBUS_SUPPORT + NetworkManager: $NM_SUPPORT + NNTP support: $msg_nntp + Pilot conduits: $msg_pilot + Libnotify: $HAVE_LIBNOTIFY + Kerberos 4/5: $msg_krb4/$msg_krb5 + SSL support: $msg_ssl + SMIME support: $msg_smime + Plugins: $msg_plugins + User documentation: $with_help + Mono bindings: $enable_mono + Python bindings: $enable_python " -- cgit From 3bd46ea849351345825abbe6412f39e0e625c6c8 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 13 Jul 2009 14:48:06 -0400 Subject: Bug 588277 – Unnecessary special-purpose configure flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.ac | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 770bcfa37e..254ee9f01f 100644 --- a/configure.ac +++ b/configure.ac @@ -242,18 +242,8 @@ dnl ****************************** dnl iconv checking dnl ****************************** have_iconv=no -AC_ARG_WITH([libiconv], - AS_HELP_STRING([--with-libiconv=PATH], - [Prefix where libiconv is installed])) -if test -d "$withval"; then - ICONV_CFLAGS="-I$withval/include" - ICONV_LIBS="-L$withval/lib" -fi - -save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" -CFLAGS="$CFLAGS $ICONV_CFLAGS" -LIBS="$LIBS $ICONV_LIBS -liconv" +LIBS="$LIBS -liconv" AC_CACHE_CHECK([for iconv in -liconv], [ac_cv_libiconv], AC_LINK_IFELSE([AC_LANG_PROGRAM( [[ @@ -267,7 +257,7 @@ AC_CACHE_CHECK([for iconv in -liconv], [ac_cv_libiconv], )],[ac_cv_libiconv=yes],[ac_cv_libiconv=no])) if test $ac_cv_libiconv = yes; then - ICONV_LIBS="$ICONV_LIBS -liconv" + ICONV_LIBS="-liconv" if test $os_win32 = yes; then # Don't pointlessly auto-export the global symbols # from a potentially static libiconv.a @@ -275,7 +265,6 @@ if test $ac_cv_libiconv = yes; then fi have_iconv=yes else - CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" AC_CHECK_FUNC(iconv, have_iconv=yes, have_iconv=no) fi @@ -321,7 +310,6 @@ fi if test "$have_iconv" = no; then AC_MSG_ERROR([You need to install a working iconv implementation, such as ftp://ftp.gnu.org/pub/gnu/libiconv]) fi -AC_SUBST(ICONV_CFLAGS) AC_SUBST(ICONV_LIBS) CFLAGS="$CFLAGS -I$srcdir" -- cgit ass='column5'>| | Add a Blockchaintest where create transaction fails for a REVERT instruction ...Yoichi Hirai2017-09-052-0/+550 | | |/ / | |/| | * | | | Merge pull request #310 from ethereum/vmtests-are-on-homesteadwinsvega2017-09-071-1/+1 |\ \ \ \ | * | | | Clarify that VM Tests are on Homestead rulesYoichi Hirai2017-09-071-1/+1 * | | | | Merge pull request #311 from ethereum/revert-in-CALLCODEYoichi Hirai2017-09-072-0/+189 |\ \ \ \ \ | |/ / / / |/| | | | | * | | | Add a test about REVERT during CALLCODEYoichi Hirai2017-09-072-0/+189 |/ / / / * | | | Merge pull request #307 from ethereum/remove-blockhash-from-badOpwinsvega2017-09-07124-5188/+5188 |\ \ \ \ | |/ / / |/| | | | * | | add filled state testJared Wasinger2017-09-061-9/+9 | * | | replace BLOCKHASH test case in stBadOpcodeJared Wasinger2017-09-06123-5179/+5179 |/ / / * | | Merge pull request #302 from ethereum/call-transaction-revertsYoichi Hirai2017-09-052-0/+704 |\ \ \ | * | | Add a test containing a call transaction that revertsYoichi Hirai2017-09-052-0/+704 * | | | Merge pull request #290 from ethereum/returndata-testsYoichi Hirai2017-09-0528-1/+9885 |\ \ \ \ | |/ / / |/| | | | * | | add converted blockchain test for 'returndatasize_after_successful_callcode'Jared Wasinger2017-09-051-48/+48 | * | | fill 'returndatasize_after_successful_callcode' state testJared Wasinger2017-09-052-76/+116 | * | | rename 'returndatasize_after_callcode' -> 'returndatasize_after_successful_ca...Jared Wasinger2017-09-051-0/+76 | * | | add more returndatasize/returndatacopy testsJared Wasinger2017-09-0526-0/+9768 |/ / / * | | Merge pull request #301 from ethereum/splitvmtestsYoichi Hirai2017-09-043-0/+861 |\| | | * | randomTest643Dimitry2017-09-043-0/+861 * | | Merge pull request #299 from ethereum/refill-stBadOpcodeswinsvega2017-09-041-1/+6756 |\ \ \ | * | | refill stBadOpcodesJared Wasinger2017-09-041-1/+6756 |/ / / * | | Merge pull request #296 from ethereum/splitvmtestswinsvega2017-09-031376-1829136/+55309 |\| | | * | refill splited VMtestsDimitry2017-09-01711-1807322/+32330 | * | split vm testsDimitry2017-09-01687-22389/+23554 * | | Merge pull request #277 from ethereum/badOpcodes-CALLBLACKBOXwinsvega2017-09-02124-4730/+48742 |\ \ \ | * | | add more blockchain test cases.Jared Wasinger2017-09-02123-9252/+48604 | * | | add test case which successfully creates a contract to 'badOpcodes' state tes...Jared Wasinger2017-09-012-745/+799 | * | | add more bad opcodesJared Wasinger2017-09-012-41/+4577 | * | | add CALLBLACKBOX testJared Wasinger2017-09-012-313/+383 * | | | Merge pull request #297 from ethereum/sstore-in-contract-initYoichi Hirai2017-09-023-0/+767 |\ \ \ \ | * | | | include produced testJared Wasinger2017-09-011-1/+101 | * | | | remove tabsJared Wasinger2017-09-011-2/+2 | * | | | add state test for sstore in contract init codeJared Wasinger2017-09-013-0/+667 | | |/ / | |/| | * | | | Merge pull request #295 from ethereum/not_homsteadYoichi Hirai2017-09-022-43/+73 |\ \ \ \ | |/ / / |/| | | | * | | Refill suicideCoinbase test after fixing a typo Homstead -> HomesteadYoichi Hirai2017-08-312-43/+73 |/ / / * | | Merge pull request #293 from ethereum/refill-refund50PercentCap-againYoichi Hirai2017-08-311-82/+82 |\ \ \ | * | | --fillchain refund50percentCap testYoichi Hirai2017-08-311-82/+82 | |/ / * | | Merge pull request #292 from holgerd77/update-docsYoichi Hirai2017-08-3111-245/+365 |\ \ \ | |/ / |/| | | * | Updated contribute notice on table of contents in docsholgerd772017-08-311-2/+1 | * | Moved to a simpler file structure for test typesholgerd772017-08-317-6/+6 | * | Updated VM testsholgerd772017-08-312-19/+53 | * | Updated difficulty test structure, network/fork informationholgerd772017-08-311-7/+13 | * | Updated rlp tests structureholgerd772017-08-311-10/+20 | * | Added updated version of the state test docs from EIP 176 (rough version as a...holgerd772017-08-312-59/+88 | * | Structural improvements to the blockchain tests section, new info box with lo...holgerd772017-08-311-19/+43 | * | Fix headings, line breaksholgerd772017-08-318-40/+58 * | | Merge pull request #291 from ethereum/fill-more-bcWalletYoichi Hirai2017-08-314-1355/+1355 |\ \ \ | * | | Fill wallet tests that were failing in the daily runYoichi Hirai2017-08-314-1355/+1355 |/ / / * | | Merge pull request #281 from ethereum/refill-refund50PercentCapYoichi Hirai2017-08-311-56/+56 |\ \ \ | |/ / |/| | | * | Fill BlockchainTests/GeneralStateTests/stRefundTest/refund50percentCapYoichi Hirai2017-08-281-56/+56 * | | Merge pull request #276 from ethereum/walletReorgwinsvega2017-08-302-13995/+13465 |\ \ \ | * | | Refill walletReorganizeOwnersFiller.jsonYoichi Hirai2017-08-262-13995/+13465 * | | | Merge pull request #280 from ethereum/refill-refund600Yoichi Hirai2017-08-302-103/+103 |\ \ \ \ | * | | | Refull refund600 testYoichi Hirai2017-08-282-103/+103 | | |/ / | |/| | * | | | Merge pull request #287 from ethereum/splittransactiontestswinsvega2017-08-301208-15471/+17168 |\ \ \ \ | * | | | refill transaction testsDimitry2017-08-30455-284/+2740 | * | | | more transaction testsDimitry2017-08-30173-2898/+3081 | * | | | split transaction tests into separate filesDimitry2017-08-30868-12573/+11631 * | | | | Merge pull request #286 from ethereum/refill-stQuadraticComplexityYoichi Hirai2017-08-3030-1410/+1200 |\ \ \ \ \ | * | | | | --fillchain on GeneralStateTests/stQuadraticComplexityTestYoichi Hirai2017-08-2930-1410/+1200 * | | | | | Merge pull request #284 from holgerd77/add-docsYoichi Hirai2017-08-3014-1/+890 |\ \ \ \ \ \ | |_|/ / / / |/| | | | | | * | | | | Some updates on state tests, note on outdated structureholgerd772017-08-301-4/+19 | * | | | | Updated the test structure of BlockchainTests, removed outdated informationholgerd772017-08-301-82/+91 | * | | | | Added note on outdated docs, seek for helpholgerd772017-08-302-1/+7 | * | | | | Updated test doc URL in README, added some contribution notesholgerd772017-08-303-1/+21 | * | | | | Added doc rst files from the Homestead docsholgerd772017-08-309-8/+598 | * | | | | Add initial Sphinx docs directory, added docs/_build/ folder to .gitignoreholgerd772017-08-305-0/+249 |/ / / / / * | | | | Merge pull request #288 from ethereum/fillchain-stRandomYoichi Hirai2017-08-301-54/+40 |\ \ \ \ \ | |/ / / / |/| | | | | * | | | --fillchain BlockchainTests/GeneralStateTests/stRandom/randomStatetest642_d0g...Yoichi Hirai2017-08-301-54/+40 |/ / / / * | | | Merge pull request #285 from ethereum/log-as-hashYoichi Hirai2017-08-291-1509/+128 |\ \ \ \ | * | | | Replace the remaining log arrays with log hashesYoichi Hirai2017-08-291-1509/+128 * | | | | Merge pull request #283 from ethereum/returndatasize_after_staticcallYoichi Hirai2017-08-298-0/+772 |\ \ \ \ \ | |/ / / / |/| | | | | * | | | add 'returndatacopy_after_successful_delegatecall' state testJared Wasinger2017-08-292-0/+193 | * | | | add 'returndatacopy_after_successful_callcode' state testJared Wasinger2017-08-292-0/+193 | * | | | add 'returndatasize_after_successful_delegatecall' state testJared Wasinger2017-08-292-0/+193 | * | | | add 'returndatasize_after_successful_staticcall' state testJared Wasinger2017-08-292-0/+193 |/ / / / * | | | Merge pull request #282 from ethereum/precompiled-failure-means-balance-revertYoichi Hirai2017-08-291-3/+3 |\ \ \ \ | * | | | This change is a part of the fix to https://github.com/ethereum/cpp-ethereum/...Yoichi Hirai2017-08-281-3/+3 |/ / / / * / / / add randomTest642 that fails on geth. a call to precompiled 007Dimitry2017-08-283-0/+896 |/ / / * | | Merge pull request #279 from ethereum/filled-hive-testsYoichi Hirai2017-08-283036-141382/+244798 |\ \ \ | * | | Translate GeneralStateTests into BlockahtinTests/GeneralStateTestsYoichi Hirai2017-08-283036-141382/+244798 * | | | Merge pull request #278 from ethereum/returndatasize_after_callcodeYoichi Hirai2017-08-282-0/+192 |\ \ \ \ | |/ / / |/| | | | * | | add state test 'returndatasize_after_callcode'Jared Wasinger2017-08-282-0/+192 |/ / / * | | Merge pull request #268 from ethereum/bc-schemaYoichi Hirai2017-08-265-4/+507 |\ \ \ | * | | add blockchain test linting to travisJared Wasinger2017-08-265-4/+507 |/ / / * | | Merge pull request #275 from ethereum/bc-schema-test-fixesYoichi Hirai2017-08-264-1549/+1532 |\ \ \ | |/ / |/| | | * | fix tests that don't conform to blockchain test schemaJared Wasinger2017-08-264-1549/+1532 |/ / * | Merge pull request #273 from ethereum/vmIO-fixYoichi Hirai2017-08-252-146/+145 |\ \ | * | Fix the filler and fill vmIOandFlowOperationsTestYoichi Hirai2017-08-242-146/+145 * | | Merge pull request #274 from ethereum/log-new-formatYoichi Hirai2017-08-253-76969/+38570 |\ \ \ | |/ / |/| | | * | Replace more logs with log hashesYoichi Hirai2017-08-242-76924/+38463 | * | Replace logs with log hashesYoichi Hirai2017-08-241-45/+107 |/ / * | Merge pull request #271 from ethereum/address-collision-failsYoichi Hirai2017-08-246-112/+22 |\ \ | * | Changes for EIP-684Yoichi Hirai2017-08-246-112/+22 |/ / * | Merge pull request #267 from ethereum/some-vm-test-failuresYoichi Hirai2017-08-2419-1468/+3457 |\ \ | * | Replace logs with hashesYoichi Hirai2017-08-238-17/+9 | * | Fix some VMTest filling failuresYoichi Hirai2017-08-2311-1451/+3448 |/ / * | Merge pull request #269 from ethereum/eip649Yoichi Hirai2017-08-23224-36522/+36848 |\ \ | * | Fix uncleHeaderAt2ByzantiumFiller with a correct state root hashYoichi Hirai2017-08-232-3/+705 | * | Fix uncleBloomNot0_2 with the expected state root hashYoichi Hirai2017-08-232-97/+148 | * | Fix futureUncleTimestampDifficultyDrop2Yoichi Hirai2017-08-232-98/+149 | * | Fill more testsYoichi Hirai2017-08-2247-1338/+1551 | * | Fill more testsYoichi Hirai2017-08-2247-1695/+1482 | * | Fill more tests on eip649 branchYoichi Hirai2017-08-2221-788/+762 | * | Fill in more testsYoichi Hirai2017-08-2216-1369/+917 | * | Refill more straightforward BlockchainTestsYoichi Hirai2017-08-2278-6787/+6787 | * | Refill straightforward casesYoichi Hirai2017-08-2272-26077/+26077 * | | Merge pull request #266 from ethereum/0x-fieldswinsvega2017-08-234-1563/+1563 |\ \ \ | * | | Refilled tests again so that 0x is in front of byte sequencesYoichi Hirai2017-08-224-1563/+1563 * | | | Merge pull request #213 from jwasinger/issue-204Yoichi Hirai2017-08-234-1/+688 |\ \ \ \ | * | | | add storage and code restrictions to json schemacdetrio2017-08-082-3/+25 | * | | | replace Metropolis with Byzantium and Constantinople in state test schemacdetrio2017-08-081-1/+4 | * | | | add schema for state test fillerscdetrio2017-08-082-0/+258 | * | | | use more type definitions in schemacdetrio2017-08-081-116/+214 | * | | | validate.js takes schema file as argumentcdetrio2017-08-082-2/+4 | * | | | improve type checking.Jared Wasinger2017-08-081-148/+190 | * | | | remove es6 syntax from validation script.Jared Wasinger2017-08-081-1/+1 | * | | | make travis use node8Jared Wasinger2017-08-081-1/+1 | * | | | make log ordering consistentJared Wasinger2017-08-081-0/+11 | * | | | add ECDSA parameters r, s, v. Make sure certain fields are marked as require...Jared Wasinger2017-08-081-8/+25 | * | | | make error output more informative. Make schema more comprehensive. Add exi...Jared Wasinger2017-08-083-38/+81 | * | | | fix process errorJared Wasinger2017-08-081-1/+0 | * | | | format code. Remove unused python codeJared Wasinger2017-08-083-132/+105 | * | | | use JS for json schema validation because the Node 'jsonschema' library is th...Jared Wasinger2017-08-083-8/+15 | * | | | add schema validation with Travis integration.Jared Wasinger2017-08-084-20/+42 | * | | | add "explanation" field. Reduce number of schema errorsJared Wasinger2017-08-084-2/+7 | * | | | modify validation script to run against all test cases under GeneralStateTestsJared Wasinger2017-08-082-27/+9 | * | | | add working schema outlineJared Wasinger2017-08-083-62/+194 | * | | | add JSON schema skeleton for #204Jared Wasinger2017-08-081-0/+71 * | | | | Merge pull request #253 from cdetrio/fix-data-0xYoichi Hirai2017-08-2334-138/+138 |\ \ \ \ \ | |_|/ / / |/| | | | | * | | | add 0x prefix to state test transaction datacdetrio2017-08-0834-138/+138 | |/ / / * | | | Merge pull request #265 from ethereum/refill-wallet-testswinsvega2017-08-224-1727/+1727 |\ \ \ \ | |_|/ / |/| | | | * | | Refill bcWalletTestYoichi Hirai2017-08-224-1727/+1727 |/ / / * | | refill opcodes test with logsDimitry2017-08-221-469/+235 * | | Merge pull request #264 from ethereum/refill-empty-accountwinsvega2017-08-224-2315/+2287 |\ \ \ | * | | Refill wallet testsYoichi Hirai2017-08-224-1984/+1963 | * | | Refill the test wallet2outOf3txsRevoke.jsonYoichi Hirai2017-08-221-595/+588 | | |/ | |/| * | | Merge pull request #263 from ethereum/logswinsvega2017-08-212726-89623/+23638 |\ \ \ | * | | make all logs hexDimitry2017-08-212193-81494/+17073 | * | | remove old fields from random testsDimitry2017-08-211081-8677/+7113 |/ / / * | | Merge pull request #261 from jwasinger/masterwinsvega2017-08-213-1/+2523 |\ \ \ | * | | check for all possible invalid opcodes.Jared Wasinger2017-08-178-640/+2477 | * | | fix tests to conform to schemaJared Wasinger2017-08-175-7/+7 | * | | add SLOADBYTESJared Wasinger2017-08-173-1/+189 | * | | add badOpcode tests for SLOADBYTES and SSIZEJared Wasinger2017-08-175-3/+313 | * | | add badOpcode state test for SSIZEJared Wasinger2017-08-172-0/+187 * | | | Merge pull request #254 from cdetrio/fix-filler-storagewinsvega2017-08-2118-26/+26 |\ \ \ \ | |_|/ / |/| | | | * | | use hex for storage keys and values in state test fillerscdetrio2017-08-0818-26/+26 | | |/ | |/| * | | Merge pull request #262 from ethereum/eip96-to-constantinopleYoichi Hirai2017-08-17221-36812/+35337 |\ \ \ | |_|/ |/| | | * | Fix more BlockchainTestsYoichi Hirai2017-08-1719-2908/+2826 | * | fill BlockchainTests after delaying EIP96 to ConstantinopleYoichi Hirai2017-08-16206-34380/+32987 |/ / * | update comments in dao transition testsDimitry2017-08-157-472/+472 * | Merge pull request #260 from ethereum/bigger-memory-allocwinsvega2017-08-154-133/+133 |\ \ | * | Fix the modexpFiller about large base length and large exp lengthYoichi Hirai2017-08-144-133/+133 |/ / * | fix test name zeroSigTransactionCreateDimitry2017-08-144-5/+787 * | Merge pull request #258 from cdetrio/returndata-caseswinsvega2017-08-1110-0/+891 |\ \ | * | more returndata test casescdetrio2017-08-1110-0/+891 * | | Update and rename zeroSigTransacrionCreate.json to zeroSigTransactionCreate.jsonwinsvega2017-08-111-2/+2 |/ / * | Merge pull request #255 from ethereum/revert-returndatacopywinsvega2017-08-093-0/+953 |\ \ | |/ |/| | * Add a test case that RETURNDATACOPYs REVERTed dataYoichi Hirai2017-08-083-0/+953 |/ * Merge pull request #250 from cdetrio/filler-valid-jsonYoichi Hirai2017-08-0721-554/+554 |\ | * fix invalid json fillerscdetrio2017-08-0621-554/+554 * | Merge pull request #248 from ethereum/odd-length-hex-in-vm-fillerwinsvega2017-08-064-89/+439 |\ \ | * | Fix some formatting issues in VMTest fillersYoichi Hirai2017-08-054-89/+439 | |/ * | Merge pull request #246 from ethereum/filled-vm-test-no-expectwinsvega2017-08-063-68/+0 |\ \ | * | Remove "expect" sections from VM testsYoichi Hirai2017-08-053-68/+0 | |/ * | Merge pull request #251 from ethereum/hivetestswinsvega2017-08-062851-164758/+619483 |\ \ | |/ |/| | * Hive tests with ByzantineDimitry2017-08-062851-164758/+619483 |/ * Merge pull request #245 from ethereum/blockhashtestYoichi Hirai2017-08-042-102/+155 |\ | * blockhash test on Byzantine transitionDimitry2017-08-042-102/+155 * | Merge pull request #244 from ethereum/clear-storage-after-initwinsvega2017-08-043-80/+226 |\ \ | |/ |/| | * Fix the filler as wellYoichi Hirai2017-08-041-1/+5 | * Change tests so that the storage is cleared before, not after contract initia...Yoichi Hirai2017-08-042-79/+221 |/ * Merge pull request #241 from ethereum/metrosplitwinsvega2017-08-043205-75436/+304768 |\ | * Transition tests with ByzantiumDimitry2017-08-0315-3448/+865 | * split metropolisDimitry2017-08-033191-71988/+303903 |/ * Merge pull request #214 from ethereum/add-commentwinsvega2017-08-011-0/+1 |\ | * Add an explanationYoichi Hirai2017-07-061-0/+1 * | Merge pull request #238 from ethereum/updateHivewinsvega2017-08-016932-1764363/+2404939 |\ \ | * | update general testsDimitry2017-08-01