From 15639b4c3c63ff9ea6ef009cae810ab32397fb56 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 1 Jul 2008 13:06:37 +0000 Subject: [PATCH] Set default for TMP to /tmp (autotools creates its own subdirectory) * Ideally this would check for a user's TMPDIR env variable and use that instead git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1356 9efc2488-bf62-4759-914b-345cdb29e865 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7d109fc..836fb8d 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ AC_DEFUN([AC_PYTHON_MOD],[ PYTHON="python" fi AC_MSG_CHECKING($PYTHON_NAME module: $1) - $PYTHON -c "import $1" 2>/tmp/null + $PYTHON -c "import $1" 2>/dev/null if test $? -eq 0; then AC_MSG_RESULT(yes) @@ -125,9 +125,9 @@ AC_PROG_MAKE_SET # Set install path variables #------------------------------ AC_ARG_WITH([tmp], -[ --with-tmp=path location for the tmp dir for openSRF (/tmp/osrftmp by default)], +[ --with-tmp=path location for the tmp dir for openSRF (default is /tmp)], [TMP=${withval}], -[TMP=/tmp/osrftmp]) +[TMP=/tmp]) AC_SUBST([TMP]) AC_ARG_WITH([apxs], -- 2.11.0