Ticket #38579: patch-m4-acinclude.m4.diff

File patch-m4-acinclude.m4.diff, 3.5 KB (added by cooljeanius (Eric Gallager), 12 years ago)

patch to apply to aclocal.m4 after moving it to m4/acinclude.m4

  • .m4

    old new  
    2424#               HAVE_FRAMEWORK_COREFOUNDATION
    2525#
    2626#------------------------------------------------------------------------
    27 AC_DEFUN(MP_CHECK_FRAMEWORK_COREFOUNDATION, [
     27AC_DEFUN([MP_CHECK_FRAMEWORK_COREFOUNDATION], [
    2828        FRAMEWORK_LIBS="-framework CoreFoundation"
    2929
    3030        AC_MSG_CHECKING([for CoreFoundation framework])
     
    8282#               HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER
    8383#
    8484#------------------------------------------------------------------------
    85 AC_DEFUN(MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER, [
     85AC_DEFUN([MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER], [
    8686        FRAMEWORK_LIBS="-framework CoreFoundation"
    8787
    8888        AC_MSG_CHECKING([for CFNotificationCenterGetDarwinNotifyCenter])
     
    138138#               HAVE_FRAMEWORK_SYSTEMCONFIGURATION
    139139#
    140140#------------------------------------------------------------------------
    141 AC_DEFUN(MP_CHECK_FRAMEWORK_SYSTEMCONFIGURATION, [
     141AC_DEFUN([MP_CHECK_FRAMEWORK_SYSTEMCONFIGURATION], [
    142142        FRAMEWORK_LIBS="-framework SystemConfiguration"
    143143
    144144        AC_MSG_CHECKING([for SystemConfiguration framework])
     
    195195#               HAVE_FRAMEWORK_IOKIT
    196196#
    197197#------------------------------------------------------------------------
    198 AC_DEFUN(MP_CHECK_FRAMEWORK_IOKIT, [
     198AC_DEFUN([MP_CHECK_FRAMEWORK_IOKIT], [
    199199        FRAMEWORK_LIBS="-framework IOKit"
    200200
    201201        AC_MSG_CHECKING([for IOKit framework])
    202202
    203         AC_CACHE_VAL(mp_cv_have_framework_iokit, [
     203        AC_CACHE_VAL([mp_cv_have_framework_iokit], [
    204204                ac_save_LIBS="$LIBS"
    205205                LIBS="$FRAMEWORK_LIBS $LIBS"
    206206               
     
    572572        AC_REQUIRE([MP_CHECK_FRAMEWORK_IOKIT])
    573573        AC_REQUIRE([MP_CHECK_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER])
    574574       
    575     AC_MSG_CHECKING(for whether we will build daemondo)
     575    AC_MSG_CHECKING([for whether we will build daemondo])
    576576    result=no
    577577        case $host_os in
    578578        darwin*)
     
    612612#               TCL_PACKAGE_DIR
    613613#------------------------------------------------------------------------
    614614
    615 AC_DEFUN(MP_TCL_PACKAGE_DIR, [
     615AC_DEFUN([MP_TCL_PACKAGE_DIR], [
    616616        AC_REQUIRE([MP_CHECK_INSTALLUSER])
    617617
    618     AC_MSG_CHECKING(for Tcl package directory)
     618    AC_MSG_CHECKING([for Tcl package directory])
    619619
    620     AC_ARG_WITH(tclpackage, [  --with-tclpackage       Tcl package installation directory.], with_tclpackagedir=${withval})
     620    AC_ARG_WITH([tclpackage], [  --with-tclpackage       Tcl package installation directory.], with_tclpackagedir=${withval})
    621621
    622622    if test x"${with_tclpackagedir}" != x ; then
    623623        ac_cv_c_tclpkgd=${with_tclpackagedir}
     
    10121012#               READLINK_IS_NOT_P1003_1A
    10131013#
    10141014#------------------------------------------------------------------------
    1015 AC_DEFUN(MP_CHECK_READLINK_IS_P1003_1A, [
     1015AC_DEFUN([MP_CHECK_READLINK_IS_P1003_1A], [
    10161016        AC_MSG_CHECKING([if readlink conforms to POSIX 1003.1a])
    10171017
    1018         AC_CACHE_VAL(mp_cv_readlink_is_posix_1003_1a, [
     1018        AC_CACHE_VAL([mp_cv_readlink_is_posix_1003_1a], [
    10191019                AC_COMPILE_IFELSE([
    10201020                        AC_LANG_PROGRAM([
    10211021                                        #include <unistd.h>
     
    10871087#       sets mp_sqlite_version_ge_$1 to yes or no
    10881088#
    10891089#------------------------------------------------------------------------
    1090 AC_DEFUN(MP_CHECK_SQLITE_VERSION, [
     1090AC_DEFUN([MP_CHECK_SQLITE_VERSION], [
    10911091        AC_REQUIRE([MP_SQLITE3_FLAGS])
    10921092
    10931093        AC_MSG_CHECKING([for SQLite >= $1])
     
    10951095        mp_check_sqlite_version_cppflags_save=$CPPFLAGS
    10961096        CPPFLAGS="$CPPFLAGS $CFLAGS_SQLITE3"
    10971097
    1098         AC_CACHE_VAL(mp_cv_sqlite_version_defined, [
     1098        AC_CACHE_VAL([mp_cv_sqlite_version_defined], [
    10991099                AC_PREPROC_IFELSE(
    11001100                        [AC_LANG_SOURCE(
    11011101                                [[