From 7017fd7b3c88a0704992ac51ab97c91d56a9407b Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 11 Sep 2017 20:31:29 +0200 Subject: [PATCH] Give hint to alter PKG_CONFIG_PATH, if SoapySDR or UHD was not found --- configure.ac | 4 ++-- src/{anetz => common}/besetztton.c | 0 src/{anetz => common}/besetztton.h | 0 src/{anetz => common}/freiton.c | 0 src/{anetz => common}/freiton.h | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename src/{anetz => common}/besetztton.c (100%) rename src/{anetz => common}/besetztton.h (100%) rename src/{anetz => common}/freiton.c (100%) rename src/{anetz => common}/freiton.h (100%) diff --git a/configure.ac b/configure.ac index 1ffd2ec..93176b3 100644 --- a/configure.ac +++ b/configure.ac @@ -70,8 +70,8 @@ AS_IF([test "x$with_soapy" != xno], [PKG_CHECK_MODULES(SOAPY, SoapySDR >= 0.6.0, AM_CONDITIONAL(HAVE_UHD, test "x$with_uhd" == "xyes" ) AM_CONDITIONAL(HAVE_SOAPY, test "x$with_soapy" == "xyes" ) AM_CONDITIONAL(HAVE_SDR, test "x$with_sdr" == "xyes" ) -AS_IF([test "x$with_uhd" == "xyes"],[AC_MSG_NOTICE( Compiling with UHD SDR support )], [AC_MSG_NOTICE( UHD SDR not supported )]) -AS_IF([test "x$with_soapy" == "xyes"],[AC_MSG_NOTICE( Compiling with SoapySDR support )], [AC_MSG_NOTICE( SoapySDR not supported )]) +AS_IF([test "x$with_uhd" == "xyes"],[AC_MSG_NOTICE( Compiling with UHD SDR support )], [AC_MSG_NOTICE( UHD SDR not supported. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. )]) +AS_IF([test "x$with_soapy" == "xyes"],[AC_MSG_NOTICE( Compiling with SoapySDR support )], [AC_MSG_NOTICE( SoapySDR not supported. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. )]) AS_IF([test "x$somethingmagick" == "xyes"],[AC_MSG_NOTICE( Compiling with ImageMagick )],[AC_MSG_NOTICE( ImageMagick not supported )]) AC_OUTPUT( diff --git a/src/anetz/besetztton.c b/src/common/besetztton.c similarity index 100% rename from src/anetz/besetztton.c rename to src/common/besetztton.c diff --git a/src/anetz/besetztton.h b/src/common/besetztton.h similarity index 100% rename from src/anetz/besetztton.h rename to src/common/besetztton.h diff --git a/src/anetz/freiton.c b/src/common/freiton.c similarity index 100% rename from src/anetz/freiton.c rename to src/common/freiton.c diff --git a/src/anetz/freiton.h b/src/common/freiton.h similarity index 100% rename from src/anetz/freiton.h rename to src/common/freiton.h