Ignore:
Timestamp:
May 8, 2009, 9:17:17 AM (11 years ago)
Author:
toby@…
Message:

more autoupdate; update regen.sh to enable all autoconf warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r50573 r50734  
    242242        AC_REQUIRE([AC_PROG_CC])
    243243
    244         AC_ARG_WITH(ports-dir, [AC_HELP_STRING([--with-ports-dir=DIR], [Specify alternate ports directory])], [ portsdir="$withval" ] )
     244        AC_ARG_WITH(ports-dir, [AS_HELP_STRING([--with-ports-dir=DIR],[Specify alternate ports directory])], [ portsdir="$withval" ] )
    245245
    246246
     
    298298                AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    299299
    300         AC_ARG_WITH(no-root-privileges, [AC_HELP_STRING([--with-no-root-privileges], [Specify that MacPorts should be installed in your home directory])], [ROOTPRIVS=$withval] )
     300        AC_ARG_WITH(no-root-privileges, [AS_HELP_STRING([--with-no-root-privileges],[Specify that MacPorts should be installed in your home directory])], [ROOTPRIVS=$withval] )
    301301
    302302        if test "${ROOTPRIVS+set}" = set; then
     
    337337       AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    338338
    339         AC_ARG_WITH(macports-user, [AC_HELP_STRING([--with-macports-user=USER], [Specify user to drop privileges to, if possible, during compiles etc.])], [ RUNUSR=$withval ] )
     339        AC_ARG_WITH(macports-user, [AS_HELP_STRING([--with-macports-user=USER],[Specify user to drop privileges to, if possible, during compiles etc.])], [ RUNUSR=$withval ] )
    340340       
    341341        AC_MSG_CHECKING([for macports user])
     
    358358        AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    359359
    360         AC_ARG_WITH(shared-directory, [AC_HELP_STRING([--with-shared-directory], [Use 0775 permissions for installed directories])], [ SHAREDIR=$withval ] )
     360        AC_ARG_WITH(shared-directory, [AS_HELP_STRING([--with-shared-directory],[Use 0775 permissions for installed directories])], [ SHAREDIR=$withval ] )
    361361
    362362        if test "${SHAREDIR+set}" = set; then   
     
    376376        AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    377377
    378         AC_ARG_WITH(install-user, [AC_HELP_STRING([--with-install-user=USER], [Specify user ownership of installed files])], [ DSTUSR=$withval ] )
     378        AC_ARG_WITH(install-user, [AS_HELP_STRING([--with-install-user=USER],[Specify user ownership of installed files])], [ DSTUSR=$withval ] )
    379379       
    380380        AC_MSG_CHECKING([for install user])
     
    394394        AC_REQUIRE([MP_CHECK_INSTALLUSER])
    395395
    396         AC_ARG_WITH(install-group, [AC_HELP_STRING([--with-install-group=GROUP], [Specify group ownership of installed files])], [ DSTGRP=$withval ] )
     396        AC_ARG_WITH(install-group, [AS_HELP_STRING([--with-install-group=GROUP],[Specify group ownership of installed files])], [ DSTGRP=$withval ] )
    397397
    398398        AC_MSG_CHECKING([for install group])
     
    427427        AC_REQUIRE([MP_PATH_MPCONFIGDIR])
    428428
    429         AC_ARG_WITH(directory-mode, [AC_HELP_STRING([--with-directory-mode=MODE], [Specify directory mode of installed directories])], [ DSTMODE=$withval ] )
     429        AC_ARG_WITH(directory-mode, [AS_HELP_STRING([--with-directory-mode=MODE],[Specify directory mode of installed directories])], [ DSTMODE=$withval ] )
    430430       
    431431        AC_MSG_CHECKING([what permissions to use for installation directories])
     
    443443        AC_REQUIRE([MP_CHECK_INSTALLUSER])
    444444
    445     AC_ARG_WITH(applications-dir,[AC_HELP_STRING([--with-applications-dir], [Applications installation directory.])], MPAPPLICATIONSDIR=${withval})
     445    AC_ARG_WITH(applications-dir,[AS_HELP_STRING([--with-applications-dir],[Applications installation directory.])], MPAPPLICATIONSDIR=${withval})
    446446
    447447    oldprefix=$prefix
     
    469469        AC_REQUIRE([MP_CHECK_INSTALLUSER])
    470470
    471     AC_ARG_WITH(frameworks-dir,[AC_HELP_STRING([--with-frameworks-dir], [Frameworks installation directory.])], MPFRAMEWORKSDIR=${withval})
     471    AC_ARG_WITH(frameworks-dir,[AS_HELP_STRING([--with-frameworks-dir],[Frameworks installation directory.])], MPFRAMEWORKSDIR=${withval})
    472472
    473473    oldprefix=$prefix
     
    491491AC_DEFUN([MP_UNIVERSAL_OPTIONS],[
    492492
    493     AC_ARG_WITH(universal-target,[AC_HELP_STRING([--with-universal-target=MDT], [Universal MACOSX_DEPLOYMENT_TARGET version])], UNIVERSAL_TARGET=${withval})
    494     AC_ARG_WITH(universal-sysroot,[AC_HELP_STRING([--with-universal-sysroot=SDK], [Universal SDK sysroot (with complete path)])], UNIVERSAL_SYSROOT=${withval})
    495     AC_ARG_WITH(universal-archs,[AC_HELP_STRING([--with-universal-archs="CPU"], [Universal CPU architectures (space separated)])], UNIVERSAL_ARCHS=${withval})
     493    AC_ARG_WITH(universal-target,[AS_HELP_STRING([--with-universal-target=MDT],[Universal MACOSX_DEPLOYMENT_TARGET version])], UNIVERSAL_TARGET=${withval})
     494    AC_ARG_WITH(universal-sysroot,[AS_HELP_STRING([--with-universal-sysroot=SDK],[Universal SDK sysroot (with complete path)])], UNIVERSAL_SYSROOT=${withval})
     495    AC_ARG_WITH(universal-archs,[AS_HELP_STRING([--with-universal-archs="CPU"],[Universal CPU architectures (space separated)])], UNIVERSAL_ARCHS=${withval})
    496496
    497497        MACOSX_MAJOR_VERSION=`$SW_VERS -productVersion | cut -f-2 -d.`
     
    987987AC_DEFUN([MP_WERROR],[
    988988        AC_REQUIRE([AC_PROG_CC])
    989         AC_ARG_ENABLE(werror, AC_HELP_STRING([--enable-werror], [Add -Werror to CFLAGS. Used for development.]), [enable_werror=${enableval}], [enable_werror=no])
     989        AC_ARG_ENABLE(werror, AS_HELP_STRING([--enable-werror],[Add -Werror to CFLAGS. Used for development.]), [enable_werror=${enableval}], [enable_werror=no])
    990990        if test x"$enable_werror" != "xno"; then
    991991                CFLAGS_WERROR="-Werror"
Note: See TracChangeset for help on using the changeset viewer.