#!/usr/bin/env bash # # This is not generated by autoconf or similar, just handcoded, since we don't # need this much complexity # Our configuration for the makefiles !! LIBNAME=libiwear_test DISTNAME=iwear_test DISTDIR=iwear_test VERSION=0.0.1 # include the check function library . ./conf/functions SRCDIRS="tests" EXTRACLEANFILES="test doxygen.log libiw* idl/*.o idl/*.h idl/*.c idl/*.cc" STERILFILES="*.tag lib/*.a lib/*.so* include/config.h makefile.conf" STERILDIRS=doc LIBLIBS="-lpthread -lssl -lcrypto" # Files to be linked together to the library LIBFILES_tests=" testcontextlistener.o exitfunctor.o optionguard.o buttonfunctor.o audiostopfunctor.o audiopausefunctor.o audioplayfunctor.o audioplayer.o showmapfunctor.o testapp.o " # do the prechecks, among others it tells us the os type class . ./conf/common_precheck . ./conf/config_cache # simple command line parameter parsing prev= option=--`echo $prev | sed 's/_/-/g'` optarg=`expr "x$option" : 'x[^=]*=\(.*\)'` for option do . ./conf/common_optionparse . ./conf/common_optiondefaults done set_dirs . ./conf/common_help maybe_display_help write_config_cache $@ check_gcc 4.1.2 check_cxx 4.1.2 check_gmake 3.81 check_dlopen check_strnlen check_strcasestr check_vasprintf check_strerror_r check_echo check_pkg_config gen_makefile makefile.conf gen_config $CONFIG_H output_config PREFIX SYSCONF