]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
configure.ac: fix SYSCONFDEFDIR default value
authorMatt Whitlock <whitslack@users.noreply.github.com>
Wed, 9 Jun 2021 14:25:18 +0000 (10:25 -0400)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 17 Aug 2021 10:55:26 +0000 (12:55 +0200)
commit1ff5f3d2a0fcd48add9462567c30fe0e14585fb4
tree8f69f7c098eefcc339fcff0ed859dc17ee92c5fd
parent738bafafdcb2e8b0ced32fff31b13754d571090b
configure.ac: fix SYSCONFDEFDIR default value

configure.ac was using AC_ARG_WITH incorrectly, yielding a generated configure script like:

    # Check whether --with-sysconfdefdir was given.
    if test "${with_sysconfdefdir+set}" = set; then :
      withval=$with_sysconfdefdir; SYSCONFDEFDIR=$withval
    else
      "/etc/sysconfig"
    fi

This commit fixes the default case so that the SYSCONFDEFDIR variable is assigned the value "/etc/sysconfig" rather than trying to execute "/etc/sysconfig" as a command.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
configure.ac