doesn't work
authorChristoph Hohmann <reboot@gmx.ch>
Sat, 2 Aug 2003 12:46:56 +0000 (12:46 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sat, 2 Aug 2003 12:46:56 +0000 (12:46 +0000)
configure.ac

index 61ee93909023433a62eb3dabab8bd2fecb949913..b6fb977487c4cb99ad976e5c1a45dd9dfd92f613 100644 (file)
@@ -12,9 +12,11 @@ MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=90
-ifelse([$EXTRA_VERSION], [0],
-    [VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws],
-    [VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}])
+if test $EXTRA_VERSION -eq 0; then
+    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
+else
+    VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
+fi
 
 dnl set $target
 AC_CANONICAL_SYSTEM