From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18533 invoked from network); 31 May 2008 18:27:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SUBJ_ALL_CAPS autolearn=no version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 May 2008 18:27:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 1739 invoked from network); 31 May 2008 18:27:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 May 2008 18:27:23 -0000 Received: (qmail 27546 invoked by alias); 31 May 2008 18:27:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25122 Received: (qmail 27527 invoked from network); 31 May 2008 18:27:17 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 31 May 2008 18:27:17 -0000 Received: from acolyte.scowler.net (acolyte.scowler.net [216.254.112.45]) by bifrost.dotsrc.org (Postfix) with ESMTP id BF55F80589A4 for ; Sat, 31 May 2008 20:27:12 +0200 (CEST) Received: by acolyte.scowler.net (Postfix, from userid 1000) id BD4BE5C4AA; Sat, 31 May 2008 14:27:09 -0400 (EDT) Date: Sat, 31 May 2008 14:27:09 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: LFS Message-ID: <20080531182709.GA14185@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: ClamAV 0.91.2/7304/Sat May 31 18:50:32 2008 on bifrost X-Virus-Status: Clean Unless I'm missing something here, AC_SYS_LARGEFILE is superior. Index: aczsh.m4 =================================================================== RCS file: /cvsroot/zsh/zsh/aczsh.m4,v retrieving revision 1.18 diff -u -r1.18 aczsh.m4 --- aczsh.m4 17 Aug 2005 17:41:34 -0000 1.18 +++ aczsh.m4 31 May 2008 18:25:33 -0000 @@ -25,57 +25,6 @@ dnl dnl -dnl Code from the configure system for bash 2.03 (not zsh copyright). -dnl If available, use support for large files unless the user specified -dnl one of the CPPFLAGS, LDFLAGS, or LIBS variables ( -dnl via GNU patch 2.5) -dnl -AC_DEFUN(zsh_LARGE_FILE_SUPPORT, -[AC_MSG_CHECKING(whether large file support needs explicit enabling) -ac_getconfs='' -ac_result=yes -ac_set='' -ac_shellvars='CPPFLAGS LDFLAGS LIBS' -for ac_shellvar in $ac_shellvars; do - case $ac_shellvar in - CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;; - *) ac_lfsvar=LFS_$ac_shellvar ;; - esac - (getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; } - ac_getconf=`getconf $ac_lfsvar` - if test -n "$ac_getconf" && test "$ac_getconf" != "undefined"; then - eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar - ac_getconfs=$ac_getconfs$ac_getconf - eval ac_test_$ac_shellvar="\$ac_getconf" - else - eval ac_test_$ac_shellvar="\$$ac_shellvar" - fi -done -case "$ac_result$ac_getconfs" in -yes) ac_result=no ;; -esac -case "$ac_result$ac_set" in -yes?*) test "x$ac_set" != "xLDFLAGS" -o "x$auto_ldflags" = x && { - ac_result="yes, but $ac_set is already set, so use its settings" -} -esac -AC_MSG_RESULT($ac_result) -case $ac_result in -yes) - for ac_shellvar in $ac_shellvars; do - case "`eval echo $ac_shellvar-\\\$ac_test_$ac_shellvar`" in - CPPFLAGS*-D_LARGEFILE_SOURCE*) eval $ac_shellvar=\$ac_test_$ac_shellvar - ;; - CPPFLAGS*) - eval $ac_shellvar="\"-D_LARGEFILE_SOURCE \$ac_test_$ac_shellvar\"" - ;; - *) eval $ac_shellvar=\$ac_test_$ac_shellvar - esac - done ;; -esac -]) - -dnl dnl zsh_64_BIT_TYPE dnl Check whether the first argument works as a 64-bit type. dnl If there is a non-zero third argument, we just assume it works Index: configure.ac =================================================================== RCS file: /cvsroot/zsh/zsh/configure.ac,v retrieving revision 1.103 diff -u -r1.103 configure.ac --- configure.ac 6 May 2008 11:57:43 -0000 1.103 +++ configure.ac 31 May 2008 18:25:34 -0000 @@ -375,7 +375,7 @@ if test "$host" = mips-sni-sysv4 && test -n "$GCC"; then : else - zsh_LARGE_FILE_SUPPORT + AC_SYS_LARGEFILE fi fi