Skip to content

Commit

Permalink
more cleaning to really do not use archaic stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 14, 2016
1 parent ec88921 commit 2994402
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions configure.in.in
Expand Up @@ -11,31 +11,5 @@
@YAST2-CHECKS-COMMON@
@YAST2-CHECKS-YCP@

# If we change the default here instead of in Makefile.am
# then it can be overriden at configure time
if test "${sysconfdir}" = '${prefix}/etc'; then
sysconfdir=/etc
fi

AC_MSG_CHECKING([fvwm directory])
coresysconfdir=`pkg-config --print-errors --variable=sysconfdir yast2-core`
if test -z "$coresysconfdir"; then
AC_MSG_ERROR([yast2-core.rpm does not specify sysconfdir, get a newer one])
fi
#argh hack
if test "$coresysconfdir" = /usr/etc; then
coresysconfdir=/etc
fi
XVersion=$coresysconfdir/YaST2/XVersion

Xsharedir=`. $XVersion; echo $Xsharedir`
if test -z "$Xsharedir"; then
AC_MSG_ERROR([$XVersion not found, get a newer yast2.rpm])
fi
# make overridable for prefix builds
: ${fvwmdir=$Xsharedir/fvwm}
AC_MSG_RESULT([$fvwmdir])
AC_SUBST(fvwmdir)

## and generate the output...
@YAST2-OUTPUT@

0 comments on commit 2994402

Please sign in to comment.