The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
autogen.sh & ubuntu 12.04
Gabriele Greco
Guest

It seems that ubuntu 12.04 is too old to run autogen.sh on the most updated SDL2 (hg of today), is this wanted or it is a bug as the script seems to suggest?

gabry@nevada:~/no-backup/SDL$ ./autogen.sh 
Generating build information using autoconf
This may take a while ...
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_ARG_VAR
***BUG in Autoconf--please report*** AC_ARG_VAR
***BUG in Autoconf--please report*** AC_ARG_VAR
***BUG in Autoconf--please report*** AC_PATH_TOOL
***BUG in Autoconf--please report*** AC_ARG_VAR
***BUG in Autoconf--please report*** AC_MSG_FAILURE
configure.in:86:    AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
Couldn't find autoconf, aborting


... anyway it seems that the provided "configure" works, so it's not a big issue anyway provided that "configure" is kept inside the repository...


--
Bye,
 Gabry
autogen.sh & ubuntu 12.04
Juan Manuel Borges Caño
Guest

I wonder there is another reason, other that unawareness, to not delegate that to autoreconf.
autogen.sh & ubuntu 12.04
Gabriele Greco
Guest

On Wed, Jul 9, 2014 at 2:24 PM, Juan Manuel Borges Caño wrote:
Quote:

I wonder there is another reason, other that unawareness, to not delegate that to autoreconf.


Because also "autoreconf" fails for instance? Smile


gabry@nevada:~/no-backup/SDL$ autoreconf
libtoolize: Consider adding `-I acinclude' to ACLOCAL_AMFLAGS in Makefile.am.
autoheader2.50: warning: missing template: HAVE_SA_SIGACTION
autoheader2.50: Use AC_DEFINE([HAVE_SA_SIGACTION], [], [Description])
autoheader2.50: warning: missing template: HAVE_SEM_TIMEDWAIT
autoheader2.50: warning: missing template: SDL_AUDIO_DRIVER_NACL
autoheader2.50: warning: missing template: SDL_VIDEO_DRIVER_NACL
autoheader2.50: warning: missing template: SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
autoheader2.50: warning: missing template: SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
autoheader2.50: warning: missing template: SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
autoheader2.50: warning: missing template: SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
autoreconf2.50: /usr/bin/autoheader failed with exit status: 1




... besides that autogen.sh also has some checks on the autoconf version to use, if multiple versions of autoconf are installed.


I think it's a fairly common practice to run often autogen.sh to fix the build system files when you use the HEAD version of a repository, am I wrong?



--
Bye,
 Gabry