|
|
| version 1.15, 2011/12/29 13:36:26 | version 1.17, 2011/12/29 14:32:31 |
|---|---|
| Line 6 dnl require autoconf 2.59 | Line 6 dnl require autoconf 2.59 |
| AC_PREREQ(2.59) | AC_PREREQ(2.59) |
| AC_REVISION($Revision$) | AC_REVISION($Revision$) |
| AC_INIT(Xnp2,0.83-20111224,nonakap@gmail.com,xnp2) | AC_INIT(Xnp2,0.83-20111229,nonakap@gmail.com,xnp2) |
| AM_INIT_AUTOMAKE([no-define no-dist no-installinfo subdir-objects]) | AM_INIT_AUTOMAKE([no-define no-dist no-installinfo subdir-objects]) |
| AC_CONFIG_SRCDIR([../np2ver.h]) | AC_CONFIG_SRCDIR([../np2ver.h]) |
| AC_CONFIG_HEADERS(config.h) | AC_CONFIG_HEADERS(config.h) |
| Line 177 dnl Checks for warning | Line 177 dnl Checks for warning |
| dnl | dnl |
| AC_MSG_CHECKING([whether to enable warning]) | AC_MSG_CHECKING([whether to enable warning]) |
| if test x"$enable_warning" = "xyes"; then | if test x"$enable_warning" = "xyes"; then |
| CFLAGS="$CFLAGS -Wall -Wcast-align" | CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith" |
| CFLAGS="$CFLAGS -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations" | CFLAGS="$CFLAGS -Wreturn-type -Wswitch -Wshadow" |
| CFLAGS="$CFLAGS -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers" | CFLAGS="$CFLAGS -Wcast-qual -Wwrite-strings" |
| CFLAGS="$CFLAGS -Wextra -Wno-unused-parameter" | |
| CFLAGS="$CFLAGS -Wformat=2" | |
| fi | fi |
| AC_MSG_RESULT($enable_warning) | AC_MSG_RESULT($enable_warning) |