the current curl-config fix doesn't work with the BSD-sed from OS X:
~$ curl-config --libs | sed -e "s_-arch [^ ]+__"
-L/usr/lib -lcurl -arch i386 -arch ppc -lz -lssl -lcrypto -lz
it /would/ work with the regex-parameter:
~$ curl-config --libs | sed -E "s_-arch [^ ]+__"
-L/usr/lib -lcurl -arch ppc -lz -lssl -lcrypto -lz
but GNU-sed barfs on the -E:
~$ curl-config --libs | gsed -E "s_-arch [^ ]+__"
gsed: invalid option -- E
Usage: gsed [OPTION]... {script-only-if-no-other-script} [input-file]...
[...]
awk may be overkill, but this syntax works with BSD awk, GNU gawk and Tru64
nawk. The ugly stuff is called quadrigraphs and gets substituted by autoconf
with [ and ], while "real" [ and ] disappear.
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_95.html
Thu Jul 29 20:15:05 CEST 2004 Frank Ruell <stoerte@xxxxxxxxxxxxxxxx>
* correct libcurl flags
New patches:
[correct libcurl flags
Frank Ruell <stoerte@xxxxxxxxxxxxxxxx>**20040729181505] {
hunk ./configure.ac 268
+dnl Find awk
hunk ./configure.ac 270
+AC_PROG_AWK
+
hunk ./configure.ac 282
- CURLFLAGS=`curl-config --libs | sed "s_-arch [^ ]+__"`
+ if test -z "$AWK"; then
+ CURLFLAGS=`curl-config --libs | sed "s_-arch @<:@^ @:>@+__"`
+ else
+ CURLFLAGS=`curl-config --libs | $AWK '{sub(/-arch @<:@^ @:>@+/,"");
print}'`
+ fi
}
Context:
[change --tag to --tags in pull etc.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729104156]
[give much nicer error message when patch bundle hash fails.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729103553]
[when takeLock fails, say what file it failed on.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729102451]
[maintain MIME headers when forwarding patches.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040729102429]
[have a move patch "touch" both files
andrew@xxxxxxxxxxx**20040729001327]
[trivial typo fix to the manual
egli@xxxxxxxxxx**20040726105158]
[update TODO.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040728102057]
[remove a blank line from darcs diff
andrew@xxxxxxxxxxx**20040727215457
changelog already adds a newline, so there is no need to add another.
]
[fix interactive prompts on win32 when stdin is a pipe
Will <will@xxxxxxxxxx>**20040727205153]
[update web page to indicated ghc 6.2 is required.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727113943]
[if --last gives more than the size of repo, show entire repo.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727112730]
[interface changes in rollback, rerecord and get.
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040727112140
This changes --tag, --patch etc to be a tad more logical.
]
[TAG 0.9.23
David Roundy <droundy@xxxxxxxxxxxxxxx>**20040726121415]
Patch bundle hash:
cded49e8f1a97624cc7e7a639b979253c1335822
|