1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/.../imlib2/e17-conf.in
5 # Copyright (C) 2004 - 2020 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 if [ "$prefix_auto" = 1 ]; then
16 if [ "$1" == "NO_SANITY_CHECK" ]; then
17 if [ "$SDECFG_PKG_E17_CORE_PREFIX" ]; then
18 prefix="$SDECFG_PKG_E17_CORE_PREFIX"
22 elif pkginstalled imlib2; then
24 prefix=`pkgprefix imlib2`
29 if [ -z "$e17_from_release" ]; then
31 # e17 is CVS only so we have to run the included autogen.sh
33 # required automake file sometimes missing
34 [ ! -e Changelog ] || touch ChangeLog
36 # exporting NOCONFIGURE=yes to not run ./configure automatically
37 # if the included autogen fails set autogen=1 to use our own ones
38 if ! env NOCONFIGURE=yes sh autogen.sh; then
43 hook_add preconf 5 "[ ! -e autogen.sh ] || e17_autogen"