autogen.sh revision 2375607039517c88df51ef16ddbb624ec1c10654
# This file is part of systemd.
#
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# systemd is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
set -e
oldpwd=$(pwd)
cd $topdir
# This part is allowed to fail
echo "Activated pre-commit hook." || :
fi
}
args="\
--sysconfdir=/etc \
--localstatedir=/var \
"
if [ -f "$topdir/.config.args" ]; then
fi
if [ ! -L /bin ]; then
--with-rootprefix= \
"
fi
cd $oldpwd
if [ "x$1" = "xc" ]; then
elif [ "x$1" = "xt" ]; then
$topdir/configure CFLAGS='-g -O0 -ftrapv' --enable-compat-libs --enable-kdbus --enable-terminal $args
elif [ "x$1" = "xg" ]; then
elif [ "x$1" = "xa" ]; then
$topdir/configure CFLAGS='-g -O0 -Wsuggest-attribute=pure -Wsuggest-attribute=const -ftrapv' --enable-compat-libs --enable-kdbus $args
elif [ "x$1" = "xl" ]; then
elif [ "x$1" = "xs" ]; then
else
echo
echo "----------------------------------------------------------------"
echo "Initialized build system. For a common configuration please run:"
echo "----------------------------------------------------------------"
echo
echo
fi