2007-10-10 [wwp] 3.0.2cvs47
[claws.git] / configure.ac
index 77590c066f1aaae39dc6eecff7487189c9848cd3..bbd9a318ddbf225314e92db52349ecba66e93895 100644 (file)
@@ -1,4 +1,4 @@
-dnl Process this file with autoconf to produce a configure script.
+
 AC_PREREQ(2.60)
 AC_INIT(src/main.c)
 AC_CONFIG_AUX_DIR(config)
@@ -8,7 +8,7 @@ PACKAGE=claws-mail
 dnl version number
 MAJOR_VERSION=3
 MINOR_VERSION=0
-MICRO_VERSION=1
+MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=47
@@ -136,8 +136,12 @@ esac
 AC_MSG_RESULT([$env_cygwin])
 AM_CONDITIONAL(CYGWIN, test x"$env_cygwin" = x"yes")
 
-CFLAGS="$CFLAGS -Wall"
+if test "$GCC" = "yes"
+then
+       CFLAGS="$CFLAGS -Wno-unused-function"
+fi
 
+CFLAGS="$CFLAGS -Wall"
 pthread_name=
 case "$target" in
 *-darwin*)
@@ -151,7 +155,7 @@ case "$target" in
        CFLAGS="$CFLAGS -mms-bitfields"
        LIBS="$LIBS -l${pthread_name} -lws2_32 -lregex"
        ;;
-*-sun-solaris2.8)
+*-*-solaris*)
        CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
        CFLAGS="$CFLAGS -DSOLARIS"
        ;;