simplify --with-tmpdir option (fixes #32)
This commit is contained in:
parent
7efc34b5ba
commit
7452ff8cc2
|
@ -40,10 +40,6 @@ AC_ARG_WITH(
|
||||||
[tmpdir],
|
[tmpdir],
|
||||||
[AS_HELP_STRING([--with-tmpdir@<:=DIR@:>@],
|
[AS_HELP_STRING([--with-tmpdir@<:=DIR@:>@],
|
||||||
[Directory for temporary files, defaults to /tmp])],
|
[Directory for temporary files, defaults to /tmp])],
|
||||||
[], []
|
|
||||||
)
|
|
||||||
AS_IF(
|
|
||||||
[test "x$withval" != "x"],
|
|
||||||
[tmpdir="$withval"],
|
[tmpdir="$withval"],
|
||||||
[tmpdir="/tmp"]
|
[tmpdir="/tmp"]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue