Generate configure script for Mac OSX


first, thanks for your work on LibRaw, it is very much appreciated.

Now, i'm running into problems, when trying to build from the latest sources from github. (I used the zip-download from github.)

Some context: I'm on Mac OSX 10.8.5. I could successfully build libraw from latest release version (0.16 from via "./configure, make, make install".

But i could not find the 'configure' script in the github-zip. Is there a documented or recommended way to generate the configure script for Mac?

I tried running autoconf, but got the following errors: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation. error: possibly undefined macro: AC_PROG_LIBTOOL error: possibly undefined macro: AC_ENABLE_SHARED error: possibly undefined macro: AC_ENABLE_STATIC error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL error: possibly undefined macro: AC_LIBTOOL_SETUP error: possibly undefined macro: AC_SUBST error: possibly undefined macro: AC_MSG_WARN error: possibly undefined macro: AM_CONDITIONAL

a 'configure' script was generated anyway, but it generates the folowing errors:

./configure: line 2069: syntax error near unexpected token `foreign'
./configure: line 2069: `AM_INIT_AUTOMAKE(foreign no-define)'

I'm not experienced with autoconf, if i'm asking noob questions not related to your software, please tell me so, and i will try to read up on autoconf. I just didn't want to start messing with '' for no reason.



Just use make -f Makefile

Just use make -f Makefile.dist to build LibRaw. You may need to edit Makefile.dist to suit your needs.

./configure script is created by running autoreconf --install
It works fine on my FreeBSD test machine (autoconf 2.69 and automake 1.14), is your autoconf/automake stuff is fresh enough?

-- Alex Tutubalin @LibRaw LLC

Issue closed

You were right, my autoconf/automake stuff was not up to date.

I updated to autoconf 2.69 and automake 1.14, and now i get a working configure script from running
autoreconf --install

Thanks for your quick response, and have a nice day