Re: libtool and gcj

2002-03-01 Thread Per Bothner
x involves fixing ltmain.sh, but that goes beyond my ability to peer into the bowels of libtool. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool

Re: libtool and gcj

2002-03-01 Thread Per Bothner
d by: AC_LANG_PUSH(C++) Unfortuntely, autoconf 2.52 does not define 'Java' as a language. But that can probably be worked around. More later. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ ___ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool

Re: libtool and gcj (patch)

2002-03-01 Thread Per Bothner
This patch to libtool.m4 fixes two problems: (1) Set ac_compile so the proper compiler and flags are used when running tests. (2) Does not set -DPIC is the TAG is GCJ. -- --Per Bothner [EMAIL PROTECTED] http://www.bothner.com/per/ --- libtool.m4~ Thu Feb 28 23:08:04 2002

Re: libtool and gcj (patch)

2002-03-01 Thread Per Bothner
nge > appears to work best. But Albert's patch uses CFLAGS, which does seem to be the wrong thing to do. My -DPIC change is of course a kludge. Better would be to have some langage-specific variable similar to ac_compile, such as ac_lang_pic_flag. -- --Per Bothner [EMAIL PROT

Re: libtool and gcj

2002-03-01 Thread Per Bothner
Akim Demaille wrote: >>>>>>"Per" == Per Bothner <[EMAIL PROTECTED]> writes: > Per> Unfortuntely, autoconf 2.52 does not define 'Java' as a language. > Per> But that can probably be worked around. > > Autoconf 2.52+ would be most ha