rflynn / imgmin

Lossy image optimization
MIT License
650 stars 32 forks source link

Problem building on Ubuntu 14.10 (AM_INIT_AUTOMAKE) #47

Closed marek-saji closed 9 years ago

marek-saji commented 9 years ago

Following instructions I've hit an error on autoconf:

$ autoconf -fi
autoconf: error: invalid option `-fi'
Try `autoconf --help' for more information.

Running with separated arguments also errors:

$ autoconf -f -i
configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

So I've dropped -f and autoconf finishes without errors, but configure does not:

$ autoconf -i
$ ./configure 
./configure: line 2145: syntax error near unexpected token `imgmin,'
./configure: line 2145: `AM_INIT_AUTOMAKE(imgmin, 0.7)'
marek-saji commented 9 years ago

Just realized that I've been calling autoconf, not autoreconf. :sweat: imgmin works like a charm. {: