Patchwork [2/2] Add empty m4 directory so autoreconf does not fail

login
register
mail settings
Submitter Colin King
Date June 28, 2012, 10:04 a.m.
Message ID <1340877846-12681-3-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/167840/
State Accepted
Headers show

Comments

Colin King - June 28, 2012, 10:04 a.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 m4/.gitignore |    2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 m4/.gitignore
Ivan Hu - July 2, 2012, 9:52 a.m.
On 06/28/2012 06:04 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   m4/.gitignore |    2 ++
>   1 file changed, 2 insertions(+)
>   create mode 100644 m4/.gitignore
>
> diff --git a/m4/.gitignore b/m4/.gitignore
> new file mode 100644
> index 0000000..d6b7ef3
> --- /dev/null
> +++ b/m4/.gitignore
> @@ -0,0 +1,2 @@
> +*
> +!.gitignore
>

Hi Colin,

I used the "autoreconf", still fail.
I think this patch is fixing "autoreconf" without -ivf.
Do I mis-understand what you fix?

ivanhu@ivanhu-ThinkPad-X220:~/fwts$ autoreconf
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:3: required file `./config.guess' not found
configure.ac:3:   `automake --add-missing' can install `config.guess'
configure.ac:3: required file `./config.sub' not found
configure.ac:3:   `automake --add-missing' can install `config.sub'
configure.ac:2: required file `./install-sh' not found
configure.ac:2:   `automake --add-missing' can install `install-sh'
configure.ac:2: required file `./missing' not found
configure.ac:2:   `automake --add-missing' can install `missing'
src/Makefile.am: required file `./depcomp' not found
src/Makefile.am:   `automake --add-missing' can install `depcomp'
autoreconf: automake failed with exit status: 1


Best regards,
Ivan
Colin King - July 2, 2012, 10 a.m.
On 02/07/12 10:52, IvanHu wrote:
> On 06/28/2012 06:04 PM, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> ---
>>   m4/.gitignore |    2 ++
>>   1 file changed, 2 insertions(+)
>>   create mode 100644 m4/.gitignore
>>
>> diff --git a/m4/.gitignore b/m4/.gitignore
>> new file mode 100644
>> index 0000000..d6b7ef3
>> --- /dev/null
>> +++ b/m4/.gitignore
>> @@ -0,0 +1,2 @@
>> +*
>> +!.gitignore
>>
>
> Hi Colin,
>
> I used the "autoreconf", still fail.
> I think this patch is fixing "autoreconf" without -ivf.
> Do I mis-understand what you fix?

After the tidy up with this patch one needs to use:

autoreconf -ivf
./configure
make

for it to build


>
> ivanhu@ivanhu-ThinkPad-X220:~/fwts$ autoreconf
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> configure.ac:3: required file `./config.guess' not found
> configure.ac:3:   `automake --add-missing' can install `config.guess'
> configure.ac:3: required file `./config.sub' not found
> configure.ac:3:   `automake --add-missing' can install `config.sub'
> configure.ac:2: required file `./install-sh' not found
> configure.ac:2:   `automake --add-missing' can install `install-sh'
> configure.ac:2: required file `./missing' not found
> configure.ac:2:   `automake --add-missing' can install `missing'
> src/Makefile.am: required file `./depcomp' not found
> src/Makefile.am:   `automake --add-missing' can install `depcomp'
> autoreconf: automake failed with exit status: 1
>
>
> Best regards,
> Ivan
Ivan Hu - July 2, 2012, 10:32 a.m.
On 07/02/2012 05:52 PM, IvanHu wrote:
> On 06/28/2012 06:04 PM, Colin King wrote:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> ---
>>   m4/.gitignore |    2 ++
>>   1 file changed, 2 insertions(+)
>>   create mode 100644 m4/.gitignore
>>
>> diff --git a/m4/.gitignore b/m4/.gitignore
>> new file mode 100644
>> index 0000000..d6b7ef3
>> --- /dev/null
>> +++ b/m4/.gitignore
>> @@ -0,0 +1,2 @@
>> +*
>> +!.gitignore
>>
>
> Hi Colin,
>
> I used the "autoreconf", still fail.
> I think this patch is fixing "autoreconf" without -ivf.
> Do I mis-understand what you fix?
>
> ivanhu@ivanhu-ThinkPad-X220:~/fwts$ autoreconf
> libtoolize: putting auxiliary files in `.'.
> libtoolize: copying file `./ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
> libtoolize: copying file `m4/libtool.m4'
> libtoolize: copying file `m4/ltoptions.m4'
> libtoolize: copying file `m4/ltsugar.m4'
> libtoolize: copying file `m4/ltversion.m4'
> libtoolize: copying file `m4/lt~obsolete.m4'
> configure.ac:3: required file `./config.guess' not found
> configure.ac:3:   `automake --add-missing' can install `config.guess'
> configure.ac:3: required file `./config.sub' not found
> configure.ac:3:   `automake --add-missing' can install `config.sub'
> configure.ac:2: required file `./install-sh' not found
> configure.ac:2:   `automake --add-missing' can install `install-sh'
> configure.ac:2: required file `./missing' not found
> configure.ac:2:   `automake --add-missing' can install `missing'
> src/Makefile.am: required file `./depcomp' not found
> src/Makefile.am:   `automake --add-missing' can install `depcomp'
> autoreconf: automake failed with exit status: 1
>
>
> Best regards,
> Ivan
>
Acked-by: Ivan Hu<ivan.hu@canonical.com>
Keng-Yu Lin - July 3, 2012, 5:36 a.m.
On Thu, Jun 28, 2012 at 6:04 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  m4/.gitignore |    2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 m4/.gitignore
>
> diff --git a/m4/.gitignore b/m4/.gitignore
> new file mode 100644
> index 0000000..d6b7ef3
> --- /dev/null
> +++ b/m4/.gitignore
> @@ -0,0 +1,2 @@
> +*
> +!.gitignore
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/m4/.gitignore b/m4/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/m4/.gitignore
@@ -0,0 +1,2 @@ 
+*
+!.gitignore