angepasst
Some checks are pending
Build CPU miner / build (push) Waiting to run

This commit is contained in:
w12
2025-01-07 16:49:38 +01:00
parent 33cb4b1bb8
commit 06c2327c99
12 changed files with 1078 additions and 317 deletions

View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for nolambocoin 1.0.
# Generated by GNU Autoconf 2.71 for nolambocoin-miner 1.0.
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
@@ -606,10 +606,10 @@ MFLAGS=
MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='nolambocoin'
PACKAGE_TARNAME='nolambocoin'
PACKAGE_NAME='nolambocoin-miner'
PACKAGE_TARNAME='nolambocoin-miner'
PACKAGE_VERSION='1.0'
PACKAGE_STRING='nolambocoin 1.0'
PACKAGE_STRING='nolambocoin-miner 1.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -650,6 +650,13 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
WS2_LIBS
JANSSON_LIBS
JANSSON_CFLAGS
CURL_LIBS
CURL_CFLAGS
WANT_JANSSON_FALSE
WANT_JANSSON_TRUE
TARGET_WINDOWS_FALSE
TARGET_WINDOWS_TRUE
TARGET_MACOS_FALSE
@@ -660,7 +667,8 @@ TARGET_ARM_SERVER_FALSE
TARGET_ARM_SERVER_TRUE
TARGET_RASPBERRY_PI_FALSE
TARGET_RASPBERRY_PI_TRUE
WS2_LIBS
PTHREAD_CFLAGS
PTHREAD_LIBS
ALLOCA
RANLIB
am__fastdepCCAS_FALSE
@@ -687,18 +695,12 @@ CPPFLAGS
LDFLAGS
CFLAGS
CC
CURL_LIBS
CURL_CFLAGS
WANT_JANSSON_FALSE
WANT_JANSSON_TRUE
JANSSON_LIBS
JANSSON_CFLAGS
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
@@ -782,10 +784,6 @@ target_alias
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
JANSSON_CFLAGS
JANSSON_LIBS
CURL_CFLAGS
CURL_LIBS
CC
CFLAGS
LDFLAGS
@@ -793,7 +791,11 @@ LIBS
CPPFLAGS
CPP
CCAS
CCASFLAGS'
CCASFLAGS
CURL_CFLAGS
CURL_LIBS
JANSSON_CFLAGS
JANSSON_LIBS'
# Initialize some variables set by options.
@@ -1342,7 +1344,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures nolambocoin 1.0 to adapt to many kinds of systems.
\`configure' configures nolambocoin-miner 1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1391,7 +1393,8 @@ Fine tuning of the installation directories:
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/nolambocoin]
--docdir=DIR documentation root
[DATAROOTDIR/doc/nolambocoin-miner]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1409,7 +1412,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of nolambocoin 1.0:";;
short | recursive ) echo "Configuration of nolambocoin-miner 1.0:";;
esac
cat <<\_ACEOF
@@ -1433,12 +1436,6 @@ Some influential environment variables:
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
JANSSON_CFLAGS
C compiler flags for JANSSON, overriding pkg-config
JANSSON_LIBS
linker flags for JANSSON, overriding pkg-config
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
CURL_LIBS linker flags for CURL, overriding pkg-config
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
@@ -1449,6 +1446,12 @@ Some influential environment variables:
CPP C preprocessor
CCAS assembler compiler command (defaults to CC)
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
CURL_LIBS linker flags for CURL, overriding pkg-config
JANSSON_CFLAGS
C compiler flags for JANSSON, overriding pkg-config
JANSSON_LIBS
linker flags for JANSSON, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -1517,7 +1520,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
nolambocoin configure 1.0
nolambocoin-miner configure 1.0
generated by GNU Autoconf 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1925,7 +1928,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by nolambocoin $as_me 1.0, which was
It was created by nolambocoin-miner $as_me 1.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ $0$ac_configure_args_raw
@@ -2680,9 +2683,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
am__api_version='1.16'
@@ -3196,7 +3196,7 @@ fi
# Define the identity of the package.
PACKAGE='nolambocoin'
PACKAGE='nolambocoin-miner'
VERSION='1.0'
@@ -3300,37 +3300,16 @@ END
fi
fi
ac_config_headers="$ac_config_headers cpuminer-config.h"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Check whether --enable-maintainer-mode was given.
if test ${enable_maintainer_mode+y}
then :
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
else $as_nop
USE_MAINTAINER_MODE=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
if test $USE_MAINTAINER_MODE = yes; then
MAINTAINER_MODE_TRUE=
MAINTAINER_MODE_FALSE='#'
else
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
MAINT=$MAINTAINER_MODE_TRUE
# Füge die Makefile-Konfiguration hinzu
ac_config_files="$ac_config_files Makefile compat/Makefile compat/jansson/Makefile"
EXTERNAL_CFLAGS="$CFLAGS"
# Check for jansson
# Lade pkg-config Makros
@@ -3462,162 +3441,32 @@ printf "%s\n" "no" >&6; }
fi
fi
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
printf %s "checking for jansson... " >&6; }
if test -n "$JANSSON_CFLAGS"; then
pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
($PKG_CONFIG --exists --print-errors "jansson") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_JANSSON_CFLAGS=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
# Check whether --enable-maintainer-mode was given.
if test ${enable_maintainer_mode+y}
then :
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
else $as_nop
USE_MAINTAINER_MODE=no
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
if test $USE_MAINTAINER_MODE = yes; then
MAINTAINER_MODE_TRUE=
MAINTAINER_MODE_FALSE='#'
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$JANSSON_LIBS"; then
pkg_cv_JANSSON_LIBS="$JANSSON_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
($PKG_CONFIG --exists --print-errors "jansson") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_JANSSON_LIBS=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
MAINTAINER_MODE_TRUE='#'
MAINTAINER_MODE_FALSE=
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
JANSSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
else
JANSSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$JANSSON_PKG_ERRORS" >&5
as_fn_error $? "jansson is required but not installed." "$LINENO" 5
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "jansson is required but not installed." "$LINENO" 5
else
JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS
JANSSON_LIBS=$pkg_cv_JANSSON_LIBS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
if true; then
WANT_JANSSON_TRUE=
WANT_JANSSON_FALSE='#'
else
WANT_JANSSON_TRUE='#'
WANT_JANSSON_FALSE=
fi
MAINT=$MAINTAINER_MODE_TRUE
# Check for libcurl
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl" >&5
printf %s "checking for libcurl... " >&6; }
if test -n "$CURL_CFLAGS"; then
pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$CURL_LIBS"; then
pkg_cv_CURL_LIBS="$CURL_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1`
else
CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$CURL_PKG_ERRORS" >&5
as_fn_error $? "libcurl is required but not installed." "$LINENO" 5
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "libcurl is required but not installed." "$LINENO" 5
else
CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
CURL_LIBS=$pkg_cv_CURL_LIBS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
EXTERNAL_CFLAGS="$CFLAGS"
# Checks for programs
@@ -5795,16 +5644,81 @@ then :
fi
# Define WS2_LIBS for Windows (set to empty for non-Windows platforms)
# Pthread Flags
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
printf %s "checking for pthread_create in -lpthread... " >&6; }
if test ${ac_cv_lib_pthread_pthread_create+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
char pthread_create ();
int
main (void)
{
return pthread_create ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
ac_cv_lib_pthread_pthread_create=yes
else $as_nop
ac_cv_lib_pthread_pthread_create=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
if test "x$ac_cv_lib_pthread_pthread_create" = xyes
then :
PTHREAD_LIBS="-lpthread"
else $as_nop
as_fn_error $? "pthread library not found." "$LINENO" 5
fi
# Ersetze AC_CHECK_FLAGS durch AC_COMPILE_IFELSE
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -pthread flag is supported" >&5
printf %s "checking whether -pthread flag is supported... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main (void)
{
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
PTHREAD_CFLAGS="-pthread"
else $as_nop
PTHREAD_CFLAGS=""
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CFLAGS" >&5
printf "%s\n" "$PTHREAD_CFLAGS" >&6; }
# WS2 Libraries (Windows)
WS2_LIBS=""
case "$target_os" in
mingw*|cygwin*)
WS2_LIBS="-lws2_32"
;;
esac
have_win32=false
# Platform detection
# Plattform-Erkennung
UNAME_S=`uname -s`
UNAME_M=`uname -m`
@@ -5829,6 +5743,40 @@ else
TARGET_RASPBERRY_PI_FALSE=
fi
if false; then
TARGET_ARM_SERVER_TRUE=
TARGET_ARM_SERVER_FALSE='#'
else
TARGET_ARM_SERVER_TRUE='#'
TARGET_ARM_SERVER_FALSE=
fi
if false; then
TARGET_X86_64_TRUE=
TARGET_X86_64_FALSE='#'
else
TARGET_X86_64_TRUE='#'
TARGET_X86_64_FALSE=
fi
if false; then
TARGET_MACOS_TRUE=
TARGET_MACOS_FALSE='#'
else
TARGET_MACOS_TRUE='#'
TARGET_MACOS_FALSE=
fi
if false; then
TARGET_WINDOWS_TRUE=
TARGET_WINDOWS_FALSE='#'
else
TARGET_WINDOWS_TRUE='#'
TARGET_WINDOWS_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Target platform: Raspberry Pi" >&5
printf "%s\n" "$as_me: Target platform: Raspberry Pi" >&6;}
else
printf "%s\n" "#define TARGET_ARM_SERVER 1" >>confdefs.h
@@ -5841,6 +5789,40 @@ else
TARGET_ARM_SERVER_FALSE=
fi
if false; then
TARGET_RASPBERRY_PI_TRUE=
TARGET_RASPBERRY_PI_FALSE='#'
else
TARGET_RASPBERRY_PI_TRUE='#'
TARGET_RASPBERRY_PI_FALSE=
fi
if false; then
TARGET_X86_64_TRUE=
TARGET_X86_64_FALSE='#'
else
TARGET_X86_64_TRUE='#'
TARGET_X86_64_FALSE=
fi
if false; then
TARGET_MACOS_TRUE=
TARGET_MACOS_FALSE='#'
else
TARGET_MACOS_TRUE='#'
TARGET_MACOS_FALSE=
fi
if false; then
TARGET_WINDOWS_TRUE=
TARGET_WINDOWS_FALSE='#'
else
TARGET_WINDOWS_TRUE='#'
TARGET_WINDOWS_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Target platform: ARM Server" >&5
printf "%s\n" "$as_me: Target platform: ARM Server" >&6;}
fi
;;
x86_64*)
@@ -5855,6 +5837,40 @@ else
TARGET_X86_64_FALSE=
fi
if false; then
TARGET_RASPBERRY_PI_TRUE=
TARGET_RASPBERRY_PI_FALSE='#'
else
TARGET_RASPBERRY_PI_TRUE='#'
TARGET_RASPBERRY_PI_FALSE=
fi
if false; then
TARGET_ARM_SERVER_TRUE=
TARGET_ARM_SERVER_FALSE='#'
else
TARGET_ARM_SERVER_TRUE='#'
TARGET_ARM_SERVER_FALSE=
fi
if false; then
TARGET_MACOS_TRUE=
TARGET_MACOS_FALSE='#'
else
TARGET_MACOS_TRUE='#'
TARGET_MACOS_FALSE=
fi
if false; then
TARGET_WINDOWS_TRUE=
TARGET_WINDOWS_FALSE='#'
else
TARGET_WINDOWS_TRUE='#'
TARGET_WINDOWS_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Target platform: x86_64" >&5
printf "%s\n" "$as_me: Target platform: x86_64" >&6;}
;;
*)
as_fn_error $? "Unsupported architecture: $UNAME_M" "$LINENO" 5
@@ -5873,6 +5889,40 @@ else
TARGET_MACOS_FALSE=
fi
if false; then
TARGET_RASPBERRY_PI_TRUE=
TARGET_RASPBERRY_PI_FALSE='#'
else
TARGET_RASPBERRY_PI_TRUE='#'
TARGET_RASPBERRY_PI_FALSE=
fi
if false; then
TARGET_ARM_SERVER_TRUE=
TARGET_ARM_SERVER_FALSE='#'
else
TARGET_ARM_SERVER_TRUE='#'
TARGET_ARM_SERVER_FALSE=
fi
if false; then
TARGET_X86_64_TRUE=
TARGET_X86_64_FALSE='#'
else
TARGET_X86_64_TRUE='#'
TARGET_X86_64_FALSE=
fi
if false; then
TARGET_WINDOWS_TRUE=
TARGET_WINDOWS_FALSE='#'
else
TARGET_WINDOWS_TRUE='#'
TARGET_WINDOWS_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Target platform: macOS" >&5
printf "%s\n" "$as_me: Target platform: macOS" >&6;}
;;
CYGWIN*|MINGW32*|MSYS*|MINGW*)
@@ -5886,13 +5936,208 @@ else
TARGET_WINDOWS_FALSE=
fi
if false; then
TARGET_RASPBERRY_PI_TRUE=
TARGET_RASPBERRY_PI_FALSE='#'
else
TARGET_RASPBERRY_PI_TRUE='#'
TARGET_RASPBERRY_PI_FALSE=
fi
if false; then
TARGET_ARM_SERVER_TRUE=
TARGET_ARM_SERVER_FALSE='#'
else
TARGET_ARM_SERVER_TRUE='#'
TARGET_ARM_SERVER_FALSE=
fi
if false; then
TARGET_X86_64_TRUE=
TARGET_X86_64_FALSE='#'
else
TARGET_X86_64_TRUE='#'
TARGET_X86_64_FALSE=
fi
if false; then
TARGET_MACOS_TRUE=
TARGET_MACOS_FALSE='#'
else
TARGET_MACOS_TRUE='#'
TARGET_MACOS_FALSE=
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Target platform: Windows" >&5
printf "%s\n" "$as_me: Target platform: Windows" >&6;}
;;
*)
as_fn_error $? "Unsupported operating system: $UNAME_S" "$LINENO" 5
;;
esac
ac_config_files="$ac_config_files Makefile compat/Makefile compat/jansson/Makefile"
if true; then
WANT_JANSSON_TRUE=
WANT_JANSSON_FALSE='#'
else
WANT_JANSSON_TRUE='#'
WANT_JANSSON_FALSE=
fi
# Checks für libcurl
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcurl >= 7.0" >&5
printf %s "checking for libcurl >= 7.0... " >&6; }
if test -n "$CURL_CFLAGS"; then
pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.0\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl >= 7.0") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$CURL_LIBS"; then
pkg_cv_CURL_LIBS="$CURL_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.0\""; } >&5
($PKG_CONFIG --exists --print-errors "libcurl >= 7.0") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl >= 7.0" 2>&1`
else
CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl >= 7.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$CURL_PKG_ERRORS" >&5
as_fn_error $? "libcurl is required but not installed." "$LINENO" 5
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "libcurl is required but not installed." "$LINENO" 5
else
CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
CURL_LIBS=$pkg_cv_CURL_LIBS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
# Checks für jansson
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jansson >= 2.0" >&5
printf %s "checking for jansson >= 2.0... " >&6; }
if test -n "$JANSSON_CFLAGS"; then
pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson >= 2.0\""; } >&5
($PKG_CONFIG --exists --print-errors "jansson >= 2.0") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_JANSSON_CFLAGS=`$PKG_CONFIG --cflags "jansson >= 2.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$JANSSON_LIBS"; then
pkg_cv_JANSSON_LIBS="$JANSSON_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson >= 2.0\""; } >&5
($PKG_CONFIG --exists --print-errors "jansson >= 2.0") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_JANSSON_LIBS=`$PKG_CONFIG --libs "jansson >= 2.0" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
JANSSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson >= 2.0" 2>&1`
else
JANSSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jansson >= 2.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$JANSSON_PKG_ERRORS" >&5
as_fn_error $? "jansson is required but not installed." "$LINENO" 5
elif test $pkg_failed = untried; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "jansson is required but not installed." "$LINENO" 5
else
JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS
JANSSON_LIBS=$pkg_cv_JANSSON_LIBS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
fi
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -6023,10 +6268,6 @@ if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${WANT_JANSSON_TRUE}" && test -z "${WANT_JANSSON_FALSE}"; then
as_fn_error $? "conditional \"WANT_JANSSON\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -6059,6 +6300,90 @@ if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_ARM_SERVER_TRUE}" && test -z "${TARGET_ARM_SERVER_FALSE}"; then
as_fn_error $? "conditional \"TARGET_ARM_SERVER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_RASPBERRY_PI_TRUE}" && test -z "${TARGET_RASPBERRY_PI_FALSE}"; then
as_fn_error $? "conditional \"TARGET_RASPBERRY_PI\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_X86_64_TRUE}" && test -z "${TARGET_X86_64_FALSE}"; then
as_fn_error $? "conditional \"TARGET_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_MACOS_TRUE}" && test -z "${TARGET_MACOS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_MACOS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_X86_64_TRUE}" && test -z "${TARGET_X86_64_FALSE}"; then
as_fn_error $? "conditional \"TARGET_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_RASPBERRY_PI_TRUE}" && test -z "${TARGET_RASPBERRY_PI_FALSE}"; then
as_fn_error $? "conditional \"TARGET_RASPBERRY_PI\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_ARM_SERVER_TRUE}" && test -z "${TARGET_ARM_SERVER_FALSE}"; then
as_fn_error $? "conditional \"TARGET_ARM_SERVER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_MACOS_TRUE}" && test -z "${TARGET_MACOS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_MACOS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_MACOS_TRUE}" && test -z "${TARGET_MACOS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_MACOS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_RASPBERRY_PI_TRUE}" && test -z "${TARGET_RASPBERRY_PI_FALSE}"; then
as_fn_error $? "conditional \"TARGET_RASPBERRY_PI\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_ARM_SERVER_TRUE}" && test -z "${TARGET_ARM_SERVER_FALSE}"; then
as_fn_error $? "conditional \"TARGET_ARM_SERVER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_X86_64_TRUE}" && test -z "${TARGET_X86_64_FALSE}"; then
as_fn_error $? "conditional \"TARGET_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_WINDOWS_TRUE}" && test -z "${TARGET_WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_RASPBERRY_PI_TRUE}" && test -z "${TARGET_RASPBERRY_PI_FALSE}"; then
as_fn_error $? "conditional \"TARGET_RASPBERRY_PI\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_ARM_SERVER_TRUE}" && test -z "${TARGET_ARM_SERVER_FALSE}"; then
as_fn_error $? "conditional \"TARGET_ARM_SERVER\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_X86_64_TRUE}" && test -z "${TARGET_X86_64_FALSE}"; then
as_fn_error $? "conditional \"TARGET_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${TARGET_MACOS_TRUE}" && test -z "${TARGET_MACOS_FALSE}"; then
as_fn_error $? "conditional \"TARGET_MACOS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${WANT_JANSSON_TRUE}" && test -z "${WANT_JANSSON_FALSE}"; then
as_fn_error $? "conditional \"WANT_JANSSON\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
@@ -6449,7 +6774,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by nolambocoin $as_me 1.0, which was
This file was extended by nolambocoin-miner $as_me 1.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6517,7 +6842,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
nolambocoin config.status 1.0
nolambocoin-miner config.status 1.0
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"
@@ -6647,10 +6972,10 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"cpuminer-config.h") CONFIG_HEADERS="$CONFIG_HEADERS cpuminer-config.h" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
"compat/jansson/Makefile") CONFIG_FILES="$CONFIG_FILES compat/jansson/Makefile" ;;
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac