mirror of
https://github.com/tstack/lnav.git
synced 2024-08-17 00:40:30 +03:00
Merge pull request #256 from sureshsundriyal/autoconf
[Autoconf] Minor cleanup.
This commit is contained in:
commit
7cd7bf4dc4
14
configure.ac
14
configure.ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user