]> granicus.if.org Git - icinga2/commitdiff
Get rid of the 'rm -r' stuff in autogen.sh
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 30 Jan 2013 07:42:13 +0000 (08:42 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 30 Jan 2013 07:42:13 +0000 (08:42 +0100)
autogen.sh
third-party/ltdl/README.icinga [new file with mode: 0644]

index de58ca4c5cbbaf5c32dd02256487892a84bf41eb..47b423630cf784f4e9edc2f7f4e60014f34558fd 100755 (executable)
@@ -127,25 +127,17 @@ esac
 
 # verify that libtool-ltdl-devel is installed
 echo "Running libtoolize dry-run..."
-#create third-party/ltdl from configure.ac and cleanup afterwards
-tmp1=`grep "^LT_CONFIG_LTDL_DIR" configure.ac`
-tmp2=${tmp1##*\[}
 ltdldir=${tmp2%\]*}
-mkdir -p $ltdldir
 
 if ! libtoolize --quiet --copy --force ; then
   echo ""
   echo "**Error**: libtoolize cannot detect necessary files."
   echo ""
-  echo "Make sure libtool-ltdl-devel (rpm) / libltdl-dev (deb) or an"
+  echo "Make sure libtool-ltdl-devel (RHEL) / libltdl-dev (Debian) or an"
   echo "appropriate package for your distribution is installed."
-  rm -r $ltdldir
   exit 1
 fi
 
-#cleanup
-rm -r $ltdldir
-
 for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.ac -print`
 do 
   dr=`dirname $coin`
diff --git a/third-party/ltdl/README.icinga b/third-party/ltdl/README.icinga
new file mode 100644 (file)
index 0000000..e3e49d5
--- /dev/null
@@ -0,0 +1,2 @@
+This directory will automatically be populated by libtoolize when you run the
+autogen.sh script.