autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoscan and C++


From: Akim Demaille
Subject: Re: autoscan and C++
Date: 10 Jul 2001 11:16:38 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

| The patch below, makes autoscan more C++ friendly.  In
| particular it makes it recognise files with C++ extensions
| as needing a C++ compiler and the program g++.

Thanks, I'm applying it.

| @@ -346,7 +353,7 @@
|         push (@{$used{'libraries'}{$1}}, "$File::Find::name:$.");
|       }
|        # Tokens in the code.
| -      while (s/\b([a-zA-Z_]\w*)\b/ /)
| +      while (s/\b([a-zA-Z_][\w\+\.-]+)/ /)
|       {
|         push (@{$used{'programs'}{$1}}, "$File::Find::name:$.");
|       }

That's funny, I had the same patch somewhere, because I noticed
autoscan wanted AC_PROG_LN_S in the fileutils because of `ln.c' :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]