mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-24 00:48:53 +03:00
LGPL-2.1 is a license meant for shared libraries. Because I didn't know any better I used it for all files in the repository, including programs linking against libgpiod. The standard approach for many similar projects is to use LGPL for library code and GPL for programs (and also Makefiles and other files containing code or configuration). Relicense all programs, tests, makefiles and autotools files under GPL-2.0 or later. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Acked-by: Kent Gibson <warthog618@gmail.com>
18 lines
419 B
Bash
Executable File
18 lines
419 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
|
|
# SPDX-FileCopyrightText: 2017 Thierry Reding <treding@nvidia.com>
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
cd "$srcdir"
|
|
|
|
autoreconf --force --install --verbose || exit 1
|
|
cd $ORIGDIR || exit $?
|
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
exec "$srcdir"/configure "$@"
|
|
fi
|