[Ultrapossum-cvs 834] plugin/snmp 1.1,1.2,autogen.sh

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 13日 (水) 13:41:54 JST


===================================================================
RCS file: plugin/snmp/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin/snmp/autogen.sh	2004/06/18 17:02:05	1.1
+++ plugin/snmp/autogen.sh	2004/10/13 04:41:54	1.2
@@ -2,11 +2,20 @@
 
 set -e
 
+aclocal
+
 eval `ultrapossum-config get SHAREDIR`
-ln -sf $SHAREDIR/ultrapossum.am .
 
-aclocal
-automake -a
+if test "x$1" = "x-c"; then
+  if ! test -f "ultrapossum.am"; then
+    cp $SHAREDIR/ultrapossum.am .
+  fi
+  automake -a -c
+else
+  ln -sf $SHAREDIR/ultrapossum.am .
+  automake -a
+fi
+
 autoconf
 
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index