SDL 1.2.12 src fails @ '(g)libtoolize' on both FreeBSD & OSX

hi,

on OSX & FreeBSD, when

cd …/SDL-1.2.12

and,

glibtoolize -f -c (OSX)

or,

libtoolize -f -c  (FreeBSD)

the result’s the same:

glibtoolize: invalid AC_CONFIG_AUX_DIR syntax:
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)

where,

grep AC_CONFIG_AUX_DIR configure.in
AC_CONFIG_AUX_DIRS($srcdir/build-scripts)

any suggestions as to the proper usage here?

thanks.

1st, the cmd name is wrong

  • AC_CONFIG_AUX_DIRS(blah)
  • AC_CONFIG_AUX_DIR(blah)

and, it seems, AC_CONFIG_AUX_DIR doesn’t like variables as args

  • AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
  • AC_CONFIG_AUX_DIRS(./build-scripts)

with these, configuing & building in ToT, ‘(g)libtoolize’ errors go
away, and the subsequent build completes w/o error.

hth