mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 19:01:05 +00:00
pick up gnustep make configured CC, CPP, CXX and check they are consistent with how make was configured
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
daa905a169
commit
be1f1e767f
3 changed files with 64 additions and 701 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2015-05-12 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
* configure.ac
|
||||||
|
pick up gnustep make configured CC, CPP, CXX and check they are consistent with how make was configured
|
||||||
|
* configure
|
||||||
|
regenerated
|
||||||
|
|
||||||
2015-05-10 Ivan Vucica <ivan@vucica.net>
|
2015-05-10 Ivan Vucica <ivan@vucica.net>
|
||||||
|
|
||||||
* Source/NSAlert.m (+alertWithError:): Support use of
|
* Source/NSAlert.m (+alertWithError:): Support use of
|
||||||
|
|
730
configure
vendored
730
configure
vendored
|
@ -646,6 +646,7 @@ PKG_CONFIG
|
||||||
HAVE_LIBPNG_CONFIG
|
HAVE_LIBPNG_CONFIG
|
||||||
EGREP
|
EGREP
|
||||||
GREP
|
GREP
|
||||||
|
XMKMF
|
||||||
CPP
|
CPP
|
||||||
OBJEXT
|
OBJEXT
|
||||||
EXEEXT
|
EXEEXT
|
||||||
|
@ -654,7 +655,6 @@ CPPFLAGS
|
||||||
LDFLAGS
|
LDFLAGS
|
||||||
CFLAGS
|
CFLAGS
|
||||||
CC
|
CC
|
||||||
XMKMF
|
|
||||||
target_os
|
target_os
|
||||||
target_vendor
|
target_vendor
|
||||||
target_cpu
|
target_cpu
|
||||||
|
@ -731,13 +731,13 @@ enable_cups
|
||||||
ac_precious_vars='build_alias
|
ac_precious_vars='build_alias
|
||||||
host_alias
|
host_alias
|
||||||
target_alias
|
target_alias
|
||||||
XMKMF
|
|
||||||
CC
|
CC
|
||||||
CFLAGS
|
CFLAGS
|
||||||
LDFLAGS
|
LDFLAGS
|
||||||
LIBS
|
LIBS
|
||||||
CPPFLAGS
|
CPPFLAGS
|
||||||
CPP'
|
CPP
|
||||||
|
XMKMF'
|
||||||
|
|
||||||
|
|
||||||
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
||||||
|
@ -1381,7 +1381,6 @@ Optional Packages:
|
||||||
if not using icu-config)
|
if not using icu-config)
|
||||||
|
|
||||||
Some influential environment variables:
|
Some influential environment variables:
|
||||||
XMKMF Path to xmkmf, Makefile generator for X Window System
|
|
||||||
CC C compiler command
|
CC C compiler command
|
||||||
CFLAGS C compiler flags
|
CFLAGS C compiler flags
|
||||||
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
||||||
|
@ -1390,6 +1389,7 @@ Some influential environment variables:
|
||||||
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
||||||
you have headers in a nonstandard directory <include dir>
|
you have headers in a nonstandard directory <include dir>
|
||||||
CPP C preprocessor
|
CPP C preprocessor
|
||||||
|
XMKMF Path to xmkmf, Makefile generator for X Window System
|
||||||
|
|
||||||
Use these variables to override the choices made by `configure' or to help
|
Use these variables to override the choices made by `configure' or to help
|
||||||
it to find libraries and programs with nonstandard names/locations.
|
it to find libraries and programs with nonstandard names/locations.
|
||||||
|
@ -2389,18 +2389,17 @@ test -n "$target_alias" &&
|
||||||
program_prefix=${target_alias}-
|
program_prefix=${target_alias}-
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Add target OS directories as necessary
|
# Find the compiler
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
CONFIG_SYSTEM_INCL="$CPPFLAGS"
|
if test "$CC" = ""; then
|
||||||
CONFIG_SYSTEM_LIB_DIR="$LDFLAGS"
|
CC=`gnustep-config --variable=CC`
|
||||||
case "$target_os" in
|
fi
|
||||||
freebsd* | openbsd* )
|
if test "$CPP" = ""; then
|
||||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
CPP=`gnustep-config --variable=CPP`
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib";;
|
fi
|
||||||
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
|
if test "$CXX" = ""; then
|
||||||
LDFLAGS="$LDFLAGS -Wl,-R/usr/pkg/lib -L/usr/pkg/lib";;
|
CXX=`gnustep-config --variable=CXX`
|
||||||
esac
|
fi
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||||
|
@ -3190,7 +3189,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||||
|
@ -3329,6 +3327,27 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
|
|
||||||
|
MAKECC=`gnustep-config --variable=CC`
|
||||||
|
if test "$CC" != "$MAKECC"; then
|
||||||
|
as_fn_error $? "You are running configure with the compiler ($CC) set to a different value from that used by gnustep-make ($MAKECC). Please run configure again with your environment set to match your gnustep-make" "$LINENO" 5
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
# Add target OS directories as necessary
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
CONFIG_SYSTEM_INCL="$CPPFLAGS"
|
||||||
|
CONFIG_SYSTEM_LIB_DIR="$LDFLAGS"
|
||||||
|
case "$target_os" in
|
||||||
|
freebsd* | openbsd* )
|
||||||
|
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib";;
|
||||||
|
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
|
||||||
|
LDFLAGS="$LDFLAGS -Wl,-R/usr/pkg/lib -L/usr/pkg/lib";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
|
||||||
$as_echo_n "checking for X... " >&6; }
|
$as_echo_n "checking for X... " >&6; }
|
||||||
|
|
||||||
|
@ -3562,685 +3581,6 @@ fi
|
||||||
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
|
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
|
||||||
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
|
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Find the compiler
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
|
||||||
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
||||||
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$CC"; then
|
|
||||||
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
CC=$ac_cv_prog_CC
|
|
||||||
if test -n "$CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
||||||
$as_echo "$CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
|
||||||
if test -z "$ac_cv_prog_CC"; then
|
|
||||||
ac_ct_CC=$CC
|
|
||||||
# Extract the first word of "gcc", so it can be a program name with args.
|
|
||||||
set dummy gcc; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$ac_ct_CC"; then
|
|
||||||
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_ac_ct_CC="gcc"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
||||||
if test -n "$ac_ct_CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
||||||
$as_echo "$ac_ct_CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "x$ac_ct_CC" = x; then
|
|
||||||
CC=""
|
|
||||||
else
|
|
||||||
case $cross_compiling:$ac_tool_warned in
|
|
||||||
yes:)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
||||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
||||||
ac_tool_warned=yes ;;
|
|
||||||
esac
|
|
||||||
CC=$ac_ct_CC
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
CC="$ac_cv_prog_CC"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$CC"; then
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
|
||||||
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
||||||
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$CC"; then
|
|
||||||
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
CC=$ac_cv_prog_CC
|
|
||||||
if test -n "$CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
||||||
$as_echo "$CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if test -z "$CC"; then
|
|
||||||
# Extract the first word of "cc", so it can be a program name with args.
|
|
||||||
set dummy cc; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$CC"; then
|
|
||||||
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
ac_prog_rejected=no
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|
||||||
ac_prog_rejected=yes
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
ac_cv_prog_CC="cc"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
if test $ac_prog_rejected = yes; then
|
|
||||||
# We found a bogon in the path, so make sure we never use it.
|
|
||||||
set dummy $ac_cv_prog_CC
|
|
||||||
shift
|
|
||||||
if test $# != 0; then
|
|
||||||
# We chose a different compiler from the bogus one.
|
|
||||||
# However, it has the same basename, so the bogon will be chosen
|
|
||||||
# first if we set CC to just the basename; use the full file name.
|
|
||||||
shift
|
|
||||||
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
CC=$ac_cv_prog_CC
|
|
||||||
if test -n "$CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
||||||
$as_echo "$CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
fi
|
|
||||||
if test -z "$CC"; then
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
|
||||||
for ac_prog in cl.exe
|
|
||||||
do
|
|
||||||
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
||||||
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$CC"; then
|
|
||||||
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
CC=$ac_cv_prog_CC
|
|
||||||
if test -n "$CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
||||||
$as_echo "$CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -n "$CC" && break
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
if test -z "$CC"; then
|
|
||||||
ac_ct_CC=$CC
|
|
||||||
for ac_prog in cl.exe
|
|
||||||
do
|
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
||||||
set dummy $ac_prog; ac_word=$2
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
$as_echo_n "checking for $ac_word... " >&6; }
|
|
||||||
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
if test -n "$ac_ct_CC"; then
|
|
||||||
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
||||||
else
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
test -z "$as_dir" && as_dir=.
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_ac_ct_CC="$ac_prog"
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
|
||||||
if test -n "$ac_ct_CC"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
||||||
$as_echo "$ac_ct_CC" >&6; }
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -n "$ac_ct_CC" && break
|
|
||||||
done
|
|
||||||
|
|
||||||
if test "x$ac_ct_CC" = x; then
|
|
||||||
CC=""
|
|
||||||
else
|
|
||||||
case $cross_compiling:$ac_tool_warned in
|
|
||||||
yes:)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
||||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
||||||
ac_tool_warned=yes ;;
|
|
||||||
esac
|
|
||||||
CC=$ac_ct_CC
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
||||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
|
|
||||||
# Provide some information about the compiler.
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
||||||
set X $ac_compile
|
|
||||||
ac_compiler=$2
|
|
||||||
for ac_option in --version -v -V -qversion; do
|
|
||||||
{ { ac_try="$ac_compiler $ac_option >&5"
|
|
||||||
case "(($ac_try" in
|
|
||||||
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
||||||
*) ac_try_echo=$ac_try;;
|
|
||||||
esac
|
|
||||||
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
||||||
$as_echo "$ac_try_echo"; } >&5
|
|
||||||
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
|
||||||
ac_status=$?
|
|
||||||
if test -s conftest.err; then
|
|
||||||
sed '10a\
|
|
||||||
... rest of stderr output deleted ...
|
|
||||||
10q' conftest.err >conftest.er1
|
|
||||||
cat conftest.er1 >&5
|
|
||||||
fi
|
|
||||||
rm -f conftest.er1 conftest.err
|
|
||||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
||||||
test $ac_status = 0; }
|
|
||||||
done
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
||||||
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
||||||
if ${ac_cv_c_compiler_gnu+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
#ifndef __GNUC__
|
|
||||||
choke me
|
|
||||||
#endif
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_compiler_gnu=yes
|
|
||||||
else
|
|
||||||
ac_compiler_gnu=no
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
||||||
|
|
||||||
fi
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
||||||
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
||||||
if test $ac_compiler_gnu = yes; then
|
|
||||||
GCC=yes
|
|
||||||
else
|
|
||||||
GCC=
|
|
||||||
fi
|
|
||||||
ac_test_CFLAGS=${CFLAGS+set}
|
|
||||||
ac_save_CFLAGS=$CFLAGS
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
||||||
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
||||||
if ${ac_cv_prog_cc_g+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
||||||
ac_c_werror_flag=yes
|
|
||||||
ac_cv_prog_cc_g=no
|
|
||||||
CFLAGS="-g"
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_cv_prog_cc_g=yes
|
|
||||||
else
|
|
||||||
CFLAGS=""
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
|
|
||||||
else
|
|
||||||
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
||||||
CFLAGS="-g"
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_cv_prog_cc_g=yes
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
||||||
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
||||||
fi
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
||||||
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
|
||||||
if test "$ac_test_CFLAGS" = set; then
|
|
||||||
CFLAGS=$ac_save_CFLAGS
|
|
||||||
elif test $ac_cv_prog_cc_g = yes; then
|
|
||||||
if test "$GCC" = yes; then
|
|
||||||
CFLAGS="-g -O2"
|
|
||||||
else
|
|
||||||
CFLAGS="-g"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if test "$GCC" = yes; then
|
|
||||||
CFLAGS="-O2"
|
|
||||||
else
|
|
||||||
CFLAGS=
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
||||||
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
||||||
if ${ac_cv_prog_cc_c89+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
ac_cv_prog_cc_c89=no
|
|
||||||
ac_save_CC=$CC
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
struct stat;
|
|
||||||
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
|
||||||
struct buf { int x; };
|
|
||||||
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
||||||
static char *e (p, i)
|
|
||||||
char **p;
|
|
||||||
int i;
|
|
||||||
{
|
|
||||||
return p[i];
|
|
||||||
}
|
|
||||||
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
||||||
{
|
|
||||||
char *s;
|
|
||||||
va_list v;
|
|
||||||
va_start (v,p);
|
|
||||||
s = g (p, va_arg (v,int));
|
|
||||||
va_end (v);
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
||||||
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
||||||
These don't provoke an error unfortunately, instead are silently treated
|
|
||||||
as 'x'. The following induces an error, until -std is added to get
|
|
||||||
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
||||||
array size at least. It's necessary to write '\x00'==0 to get something
|
|
||||||
that's true only with -std. */
|
|
||||||
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
||||||
|
|
||||||
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
||||||
inside strings and character constants. */
|
|
||||||
#define FOO(x) 'x'
|
|
||||||
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
||||||
|
|
||||||
int test (int i, double x);
|
|
||||||
struct s1 {int (*f) (int a);};
|
|
||||||
struct s2 {int (*f) (double a);};
|
|
||||||
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
||||||
int argc;
|
|
||||||
char **argv;
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
||||||
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
||||||
do
|
|
||||||
CC="$ac_save_CC $ac_arg"
|
|
||||||
if ac_fn_c_try_compile "$LINENO"; then :
|
|
||||||
ac_cv_prog_cc_c89=$ac_arg
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext
|
|
||||||
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
|
||||||
done
|
|
||||||
rm -f conftest.$ac_ext
|
|
||||||
CC=$ac_save_CC
|
|
||||||
|
|
||||||
fi
|
|
||||||
# AC_CACHE_VAL
|
|
||||||
case "x$ac_cv_prog_cc_c89" in
|
|
||||||
x)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
||||||
$as_echo "none needed" >&6; } ;;
|
|
||||||
xno)
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
||||||
$as_echo "unsupported" >&6; } ;;
|
|
||||||
*)
|
|
||||||
CC="$CC $ac_cv_prog_cc_c89"
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
||||||
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
||||||
esac
|
|
||||||
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
||||||
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
||||||
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
|
||||||
# On Suns, sometimes $CPP names a directory.
|
|
||||||
if test -n "$CPP" && test -d "$CPP"; then
|
|
||||||
CPP=
|
|
||||||
fi
|
|
||||||
if test -z "$CPP"; then
|
|
||||||
if ${ac_cv_prog_CPP+:} false; then :
|
|
||||||
$as_echo_n "(cached) " >&6
|
|
||||||
else
|
|
||||||
# Double quotes because CPP needs to be expanded
|
|
||||||
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
||||||
do
|
|
||||||
ac_preproc_ok=false
|
|
||||||
for ac_c_preproc_warn_flag in '' yes
|
|
||||||
do
|
|
||||||
# Use a header file that comes with gcc, so configuring glibc
|
|
||||||
# with a fresh cross-compiler works.
|
|
||||||
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
||||||
# <limits.h> exists even on freestanding compilers.
|
|
||||||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
||||||
# not just through cpp. "Syntax error" is here to catch this case.
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#ifdef __STDC__
|
|
||||||
# include <limits.h>
|
|
||||||
#else
|
|
||||||
# include <assert.h>
|
|
||||||
#endif
|
|
||||||
Syntax error
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
||||||
|
|
||||||
else
|
|
||||||
# Broken: fails on valid input.
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
||||||
|
|
||||||
# OK, works on sane cases. Now check whether nonexistent headers
|
|
||||||
# can be detected and how.
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#include <ac_nonexistent.h>
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
||||||
# Broken: success on invalid input.
|
|
||||||
continue
|
|
||||||
else
|
|
||||||
# Passes both tests.
|
|
||||||
ac_preproc_ok=:
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
||||||
|
|
||||||
done
|
|
||||||
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
||||||
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
||||||
if $ac_preproc_ok; then :
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
|
|
||||||
done
|
|
||||||
ac_cv_prog_CPP=$CPP
|
|
||||||
|
|
||||||
fi
|
|
||||||
CPP=$ac_cv_prog_CPP
|
|
||||||
else
|
|
||||||
ac_cv_prog_CPP=$CPP
|
|
||||||
fi
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
||||||
$as_echo "$CPP" >&6; }
|
|
||||||
ac_preproc_ok=false
|
|
||||||
for ac_c_preproc_warn_flag in '' yes
|
|
||||||
do
|
|
||||||
# Use a header file that comes with gcc, so configuring glibc
|
|
||||||
# with a fresh cross-compiler works.
|
|
||||||
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
||||||
# <limits.h> exists even on freestanding compilers.
|
|
||||||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
||||||
# not just through cpp. "Syntax error" is here to catch this case.
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#ifdef __STDC__
|
|
||||||
# include <limits.h>
|
|
||||||
#else
|
|
||||||
# include <assert.h>
|
|
||||||
#endif
|
|
||||||
Syntax error
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
||||||
|
|
||||||
else
|
|
||||||
# Broken: fails on valid input.
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
||||||
|
|
||||||
# OK, works on sane cases. Now check whether nonexistent headers
|
|
||||||
# can be detected and how.
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
#include <ac_nonexistent.h>
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
||||||
# Broken: success on invalid input.
|
|
||||||
continue
|
|
||||||
else
|
|
||||||
# Passes both tests.
|
|
||||||
ac_preproc_ok=:
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
||||||
|
|
||||||
done
|
|
||||||
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
||||||
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
||||||
if $ac_preproc_ok; then :
|
|
||||||
|
|
||||||
else
|
|
||||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
||||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
||||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
||||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
||||||
$as_echo_n "checking for main in -lm... " >&6; }
|
$as_echo_n "checking for main in -lm... " >&6; }
|
||||||
|
|
28
configure.ac
28
configure.ac
|
@ -1,7 +1,7 @@
|
||||||
# configure.in for GNUstep GUI library
|
# configure.in for GNUstep GUI library
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996-2011 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2015 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# Author: Adam Fedor <fedor@gnu.org>
|
# Author: Adam Fedor <fedor@gnu.org>
|
||||||
#
|
#
|
||||||
|
@ -51,6 +51,27 @@ AC_CONFIG_HEADER(Headers/Additions/GNUstepGUI/config.h)
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
AC_CANONICAL_TARGET([])
|
AC_CANONICAL_TARGET([])
|
||||||
|
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
# Find the compiler
|
||||||
|
#--------------------------------------------------------------------
|
||||||
|
if test "$CC" = ""; then
|
||||||
|
CC=`gnustep-config --variable=CC`
|
||||||
|
fi
|
||||||
|
if test "$CPP" = ""; then
|
||||||
|
CPP=`gnustep-config --variable=CPP`
|
||||||
|
fi
|
||||||
|
if test "$CXX" = ""; then
|
||||||
|
CXX=`gnustep-config --variable=CXX`
|
||||||
|
fi
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_CPP
|
||||||
|
|
||||||
|
MAKECC=`gnustep-config --variable=CC`
|
||||||
|
if test "$CC" != "$MAKECC"; then
|
||||||
|
AC_MSG_ERROR([You are running configure with the compiler ($CC) set to a different value from that used by gnustep-make ($MAKECC). Please run configure again with your environment set to match your gnustep-make])
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Add target OS directories as necessary
|
# Add target OS directories as necessary
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
@ -105,11 +126,6 @@ fi
|
||||||
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
|
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
|
||||||
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
|
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Find the compiler
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
AC_PROG_CC
|
|
||||||
AC_PROG_CPP
|
|
||||||
|
|
||||||
AC_CHECK_LIB(m, main)
|
AC_CHECK_LIB(m, main)
|
||||||
AC_CHECK_FUNCS(rint rintf atan2f)
|
AC_CHECK_FUNCS(rint rintf atan2f)
|
||||||
|
|
Loading…
Reference in a new issue