summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:56:56 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-31 08:56:56 +0200
commiteac9291fdefab65d9e2b99959c8c787359ebf9ce (patch)
treeccc0d16b160bab15eaa44d51bb50bae0d773c923
parente4e987be9fe77a11bd0f8d5d45041c72e2fa02b4 (diff)
downloadlibrpm-tizen-eac9291fdefab65d9e2b99959c8c787359ebf9ce.tar.gz
librpm-tizen-eac9291fdefab65d9e2b99959c8c787359ebf9ce.tar.bz2
librpm-tizen-eac9291fdefab65d9e2b99959c8c787359ebf9ce.zip
Eliminate tmpdir, varprefix.
-rw-r--r--configure.ac27
1 files changed, 0 insertions, 27 deletions
diff --git a/configure.ac b/configure.ac
index e4e3cc2b9..9a645a752 100644
--- a/configure.ac
+++ b/configure.ac
@@ -961,33 +961,6 @@ int main()
AC_MSG_RESULT($ROOT_GROUP)
AC_SUBST(ROOT_GROUP)
-if test "x$varprefix" = "x"; then
- # For /usr and /usr/local, we want the 'var' directory to go
- # in /var and /var/local respectively. For everything else,
- # just put the 'var' directory in prefix/var.
- case $prefix in
- /usr | /usr/local )
- varprefix=`echo $prefix | sed 's/usr/var/'` ;;
- NONE)
- varprefix=`echo $ac_default_prefix | sed 's/usr/var/'` ;;
- *)
- varprefix=$prefix/var ;;
- esac
-fi
-
-if test "x$tmpdir" = "x"; then
- if test -d $varprefix/tmp; then
- tmpdir=$varprefix/tmp
- else
- if test -d /var/tmp; then
- tmpdir=/var/tmp
- else
- tmpdir=/tmp
- fi
- fi
-fi
-AC_SUBST(tmpdir)
-
if echo "$build_os" | grep sco > /dev/null; then
echo "hacking things up for sco"
AC_DEFINE(NEED_STRINGS_H, 1, [Define as one if we need to include <strings.h> (along with <string.h>)])