Skip to contentSkip to conversation

Fix for make autotools

LTP Paul Larson 2 participants 6 messages Jan 11, 2010 – Jan 14, 2010

lore
Share & tools
lore
#0 lore raw

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +1 -1
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:
 	mkdir -p "$@"
 
 m4/ltp-version.m4: ChangeLog
-	sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+	sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
 
 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 11 lines · Paul Larson

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +0 -0
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:

       mkdir -p "$@"

Quoted 6 lines

 m4/ltp-version.m4: ChangeLog
-       sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+       sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@

 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Hi Paul,
What version of automake and m4 are you using?
Thanks,
-Garrett

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 16 lines · Garrett Cooper
Quoted 15 lines · Paul Larson

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +1 -1
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:
       mkdir -p "$@"
 
 m4/ltp-version.m4: ChangeLog
-       sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+       sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
 
Quoted 5 lines

include/mk/automake.mk include: · line 65

Quoted 2 lines
include/mk/automake.mk +0 -0
 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Hi Paul,
What version of automake and m4 are you using?

automake:
Installed: 1:1.11-1
m4:
Installed: 1.4.13-3

These are the current versions in Ubuntu 10.04 (Lucid) Thanks,
Paul Larson

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#3 lore raw
In reply to Garrett Cooper

Can we go ahead and push this in, or is there a problem you see with it? I also tested with older automake in karmic (automake 1.11) and it had no problems there.

Thanks,
Paul Larson

Quoted 16 lines · Garrett Cooper
Quoted 15 lines · Paul Larson

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +1 -1
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:
       mkdir -p "$@"
 
 m4/ltp-version.m4: ChangeLog
-       sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+       sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
 
Quoted 7 lines

include/mk/automake.mk include: · line 65

Quoted 2 lines
include/mk/automake.mk +0 -0
 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Hi Paul,
What version of automake and m4 are you using?
Thanks,
-Garrett

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#4 lore raw
Quoted 4 lines · Paul Larson

Can we go ahead and push this in, or is there a problem you see with it? I also tested with older automake in karmic (automake 1.11) and it had no problems there.

Quoted 27 lines

Thanks,
Paul Larson

Quoted 23 lines · Garrett Cooper
Quoted 11 lines · Paul Larson

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +0 -0
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:

       mkdir -p "$@"

Quoted 6 lines

 m4/ltp-version.m4: ChangeLog
-       sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+       sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@

 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Hi Paul,
    What version of automake and m4 are you using? Thanks,
-Garrett

Thanks for the reminder :] -- I'll commit it later on tonight!
-Garrett

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#5 lore raw
Quoted 33 lines · Garrett Cooper
Quoted 4 lines · Paul Larson

Can we go ahead and push this in, or is there a problem you see with it? I also tested with older automake in karmic (automake 1.11) and it had no problems there.

Quoted 27 lines

Thanks,
Paul Larson

Quoted 23 lines · Garrett Cooper
Quoted 11 lines · Paul Larson

Make autotools seems to break on more recent versions without this.

---

include/mk/automake.mk +0 -0
index e23d5d4..889e6cf 100644
@@ -59,7 +59,7 @@ include:

       mkdir -p "$@"

Quoted 6 lines

 m4/ltp-version.m4: ChangeLog
-       sed -n '1{s:LTP-:AC_DEFUN([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@
+       sed -n '1{s:LTP-:m4_define([LTP_VERSION],[:;s:$$:]):;p;q}' $< > $@

 .PHONY: automake
 AUTOMAKE_FILES := config.guess config.sub install-sh missing stamp-h1

Hi Paul,
    What version of automake and m4 are you using? Thanks,
-Garrett

Quoted 1 line

   Thanks for the reminder :] -- I'll commit it later on tonight!

Committed -- thanks!
-Garrett

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list