[ragel] [PATCH 1/1] Don't hard-code gcc
Adrian Thurston
thurston at colm.net
Sat May 6 19:51:56 UTC 2017
Thanks, applied.
So I just learned that new versions of gitolite will manage the
git-deamon-export-ok file for you. So you must specify in the gitolite
config if you want a repos exported. That's why it kept disappearing and
the public git repos kept going offline.
Adrian
On 2017-05-05 06:36, Heiko Becker wrote:
> It's already searched for via AC_PROG_CC, so gcc only needs to be
> replaced with CC. Helpful if gcc has a prefix based on the
> architecture, for example.
>
> Signed-off-by: Heiko Becker <heirecka at exherbo.org>
> ---
> configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index b86da8c..e865ce9 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -117,8 +117,8 @@ cat > conftest.m <<EOF
> int main() { return 0; }
> EOF
> GOBJC=""
> -if gcc -x objective-c conftest.m -o conftest.bin 2>/dev/null; then
> - GOBJC="gcc -x objective-c"
> +if "$CC" -x objective-c conftest.m -o conftest.bin 2>/dev/null; then
> + GOBJC="$CC -x objective-c"
> AC_MSG_RESULT([yes])
> else
> AC_MSG_RESULT([no])
More information about the ragel-users
mailing list