[Autoconf] Minor cleanup.

Use the autoconf macros instead of shell constructs.
This commit is contained in:
Suresh Sundriyal 2015-09-14 00:59:42 -07:00
parent 9711e99d11
commit 90b9905bdc
1 changed files with 6 additions and 8 deletions

View File

@ -27,14 +27,12 @@ done
dnl abssrcdir is the absolute path to the source base (regardless of where
dnl you are building it)
case x$srcdir in
x/*)
abssrcdir=$srcdir
;;
*)
abssrcdir=`pwd`/$srcdir
;;
esac
AS_CASE([x$srcdir],
[x/*],
AS_VAR_SET(abssrcdir, $srcdir),
AS_VAR_SET(abssrcdir, `pwd`/$srcdir)
)
AC_SUBST(abssrcdir)
AC_PROG_CXX