Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140859 Details for
Bug 205606
autotools.eclass: missing GNUmakefile handling
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle GNUmakefile
autotools.eclass.patch (text/plain), 1.23 KB, created by
Luca Bruno
on 2008-01-13 14:04:47 UTC
(
hide
)
Description:
handle GNUmakefile
Filename:
MIME Type:
Creator:
Luca Bruno
Created:
2008-01-13 14:04:47 UTC
Size:
1.23 KB
patch
obsolete
>--- autotools.eclass.orig 2008-01-13 14:49:51.000000000 +0100 >+++ autotools.eclass 2008-01-13 15:03:58.000000000 +0100 >@@ -140,7 +140,7 @@ > lttest="$(autotools_check_macro "AC_PROG_LIBTOOL")$(autotools_check_macro "AM_PROG_LIBTOOL")" > [[ -n $lttest ]] || return 0 > >- [[ -f Makefile.am ]] && opts="--automake" >+ [[ -f GNUmakefile.am || -f Makefile.am ]] && opts="--automake" > > [[ "${USERLAND}" == "Darwin" ]] && LIBTOOLIZE="glibtoolize" > autotools_run_tool ${LIBTOOLIZE:-libtoolize} "$@" ${opts} >@@ -168,16 +168,23 @@ > > eautomake() { > local extra_opts >+ local makefile_name > >- [[ -f Makefile.am ]] || return 0 >+ if [[ -f GNUmakefile.am ]]; then >+ makefile_name="GNUmakefile" >+ elif [[ -f Makefile.am ]]; then >+ makefile_name="Makefile" >+ else >+ return 0 >+ fi > >- if [[ -z ${FROM_EAUTORECONF} && -f Makefile.in ]]; then >+ if [[ -z ${FROM_EAUTORECONF} && -f ${makefile_name}.in ]]; then > local used_automake > local installed_automake > > installed_automake=$(automake --version | head -n 1 | \ > sed -e 's:.*(GNU automake) ::') >- used_automake=$(head -n 1 < Makefile.in | \ >+ used_automake=$(head -n 1 < ${makefile_name}.in | \ > sed -e 's:.*by automake \(.*\) from .*:\1:') > > if [[ ${installed_automake} != ${used_automake} ]]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205606
: 140859