#!/bin/sh # ===================================================================== # Projet : DARKMAKE # Fichier : configure # Auteur : Nicolas "DarkHack" Chapuis (c) 2026 # ================== DARKHACK ================== # [ darkweb.fr - system online ] # Powered by Perplexity, your AI assistant # [https://www.perplexity.ai](https://www.perplexity.ai) # ============================================== # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ===================================================================== if ! type "shInclude" > /dev/null 2>&1; then racine="${racine:-/etc/darkmake}" . /etc/darkcontainer/lib/shTools shLog="gettext-configure" shDebugEnable="1" shDebug "$*" path_install_vars="$racine/lib/autotools/gettext/global/install_vars" \ . $racine/lib/autotools/gettext/install/gnulib_init shLog="[ $pkgName/$pkgVersion ]" cpt=0 fi cd $pkgSrc for folder in libtextstyle gettext-runtime gettext-tools;do cd $pkgSrc/$folder cpt=$((cpt + 1 ));shDebug 1 "[ $(pwd) ] CONFIGURE ${cpt}-${folder}-configure.log" ./configure --help > $pkgDirLog/${cpt}-$folder-configureHelp.log 2>&1 YACC="$YACC" INTLBISON="$INTLBISON" CC="$CC" \ LIBGNU_LIBS="$LIBGNU_LIBS" LIBGNU_CFLAGS="$LIBGNU_CFLAGS" LIBGNU_PATH="$LIBGNU_PATH" GNULIB_SRCDIR="$GNULIB_SRCDIR" GNULIB_TOOL="$GNULIB_TOOL" \ LIBTOOL_LIBS="$LIBTOOL_LIBS" LIBTOOL_CFLAGS="$LIBTOOL_CFLAGS" LIBTOOL_PATH="$LIBTOOL_PATH" LIBTOOL="$LIBTOOL" LIBTOOLIZE="$LIBTOOLIZE" \ LIBRARY_PATH="$LIBRARY_PATH" LD_RUN_PATH="$LD_RUN_PATH" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" M4DIR="$M4DIR" \ LIBS="$LIBS" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" \ ./configure > $pkgDirLog/${cpt}-$folder-configure.log 2>&1 cpt=$((cpt + 1 ));shDebug 1 "[ $(pwd) ] MAKE ${cpt}-${folder}-make.log" YACC="$YACC" INTLBISON="$INTLBISON" CC="$CC" \ LIBGNU_LIBS="$LIBGNU_LIBS" LIBGNU_CFLAGS="$LIBGNU_CFLAGS" LIBGNU_PATH="$LIBGNU_PATH" GNULIB_SRCDIR="$GNULIB_SRCDIR" GNULIB_TOOL="$GNULIB_TOOL" \ LIBTOOL_LIBS="$LIBTOOL_LIBS" LIBTOOL_CFLAGS="$LIBTOOL_CFLAGS" LIBTOOL_PATH="$LIBTOOL_PATH" LIBTOOL="$LIBTOOL" LIBTOOLIZE="$LIBTOOLIZE" \ LIBRARY_PATH="$LIBRARY_PATH" LD_RUN_PATH="$LD_RUN_PATH" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" M4DIR="$M4DIR" \ LIBS="$LIBS" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" \ make > $pkgDirLog/${cpt}-$folder-make.log 2>&1 done cd $pkgSrc cpt=$((cpt + 1 ));shDebug 1 "[ $(pwd) ] CONFIGURE HELP ${cpt}-configureHelp.log" YACC="$YACC" INTLBISON="$INTLBISON" CC="$CC" \ LIBGNU_LIBS="$LIBGNU_LIBS" LIBGNU_CFLAGS="$LIBGNU_CFLAGS" LIBGNU_PATH="$LIBGNU_PATH" GNULIB_SRCDIR="$GNULIB_SRCDIR" GNULIB_TOOL="$GNULIB_TOOL" \ LIBTOOL_LIBS="$LIBTOOL_LIBS" LIBTOOL_CFLAGS="$LIBTOOL_CFLAGS" LIBTOOL_PATH="$LIBTOOL_PATH" LIBTOOL="$LIBTOOL" LIBTOOLIZE="$LIBTOOLIZE" \ LIBRARY_PATH="$LIBRARY_PATH" LD_RUN_PATH="$LD_RUN_PATH" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" M4DIR="$M4DIR" \ LIBS="$LIBS" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" \ ./configure --help > $pkgDirLog/${cpt}-configureHelp.log 2>&1 cpt=$((cpt + 1 ));shDebug 1 "[ $(pwd) ] CONFIGURE ${cpt}-configure.log" YACC="$YACC" INTLBISON="$INTLBISON" CC="$CC" \ LIBGNU_LIBS="$LIBGNU_LIBS" LIBGNU_CFLAGS="$LIBGNU_CFLAGS" LIBGNU_PATH="$LIBGNU_PATH" GNULIB_SRCDIR="$GNULIB_SRCDIR" GNULIB_TOOL="$GNULIB_TOOL" \ LIBTOOL_LIBS="$LIBTOOL_LIBS" LIBTOOL_CFLAGS="$LIBTOOL_CFLAGS" LIBTOOL_PATH="$LIBTOOL_PATH" LIBTOOL="$LIBTOOL" LIBTOOLIZE="$LIBTOOLIZE" \ LIBRARY_PATH="$LIBRARY_PATH" LD_RUN_PATH="$LD_RUN_PATH" LD_LIBRARY_PATH="$LD_LIBRARY_PATH" M4DIR="$M4DIR" \ LIBS="$LIBS" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" \ ./configure > $pkgDirLog/${cpt}-configure.log 2>&1 tail -50l $pkgDirLog/${cpt}-configure.log echo "Press any key to continue... ";read REPLY