From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 12 Feb 2014 13:31:53 +0100 Subject: [Buildroot] Analysis of build failures In-Reply-To: References: <20140212073007.B3242100CEB@stock.ovh.net> <20140212093245.49e2b6ac@skate> <20140212104745.61ea39bd@skate> Message-ID: <20140212133153.7995b73a@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Thomas De Schampheleire, On Wed, 12 Feb 2014 13:29:35 +0100, Thomas De Schampheleire wrote: > I found this snippet: > AC_CHECK_LIB(c, dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) > > which would be used as follows in aclocal.m4: > -ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" > +ALSA_LIBS="$ALSA_LIBS -lasound -lm $LIBDL -lpthread" > > but aclocal.m4 seems to be regenerated with autoreconf. How can you > make changes in that file? You don't make changes to aclocal.m4. > I tried adding an m4 file in the m4 subdirectory, adding it to the Makefile.am. > But how to regenerate aclocal.m4? By running the aclocal tool. >From man aclocal: """ Generate 'aclocal.m4' by scanning 'configure.ac' or 'configure.in """ Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com