Ticket #46942: gnuplot-AquaTerm-configure.diff

File gnuplot-AquaTerm-configure.diff, 2.9 KB (added by mojca (Mojca Miklavec), 10 years ago)

A patch for configure script for gnuplot for case sensitive systems

  • configure

    old new Optional Packages: 
    15311531  --with-x                use the X Window System
    15321532  --with-x-app-defaultdir=DIR       location of X11 application defaults
    15331533                          (default /etc/X11/app-defaults/)
    1534   --with-aquaterm         include support for aquaterm on OSX
     1534  --with-aquaterm         include support for AquaTerm on OSX
    15351535  --with-gihdir=DIR       location of .gih help text file
    15361536                          (default PREFIX/share/PACKAGE/VERSION)
    15371537  --with-linux-vga        use the Linux SVGA console driver
    $as_echo "yes" >&6; } 
    88638863if test "${with_aquaterm+set}" = set; then :
    88648864  withval=$with_aquaterm; if test "$withval" == yes; then
    88658865
    8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Aquaterm framework presence" >&5
    8867 $as_echo_n "checking for Aquaterm framework presence... " >&6; }
     8866  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AquaTerm framework presence" >&5
     8867$as_echo_n "checking for AquaTerm framework presence... " >&6; }
    88688868  ac_gnuplot_save_LDFLAGS="$LDFLAGS"
    8869   LDFLAGS="$LDFLAGS -framework Foundation -framework Aquaterm"
     8869  LDFLAGS="$LDFLAGS -framework Foundation -framework AquaTerm"
    88708870  ac_ext=m
    88718871ac_cpp='$OBJCPP $CPPFLAGS'
    88728872ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    ac_compiler_gnu=$ac_cv_objc_compiler_gnu 
    88758875
    88768876  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88778877/* end confdefs.h.  */
    8878 #import <Aquaterm/AQTAdapter.h>
     8878#import <AquaTerm/AQTAdapter.h>
    88798879int
    88808880main ()
    88818881{
    main () 
    88858885}
    88868886_ACEOF
    88878887if ac_fn_objc_try_link "$LINENO"; then :
    8888   eval "gnuplot_framework_Aquaterm=yes"
     8888  eval "gnuplot_framework_AquaTerm=yes"
    88898889else
    8890   eval "gnuplot_framework_Aquaterm=no"
     8890  eval "gnuplot_framework_AquaTerm=no"
    88918891fi
    88928892rm -f core conftest.err conftest.$ac_objext \
    88938893    conftest$ac_exeext conftest.$ac_ext
    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ 
    88988898ac_compiler_gnu=$ac_cv_c_compiler_gnu
    88998899
    89008900  LDFLAGS="$ac_gnuplot_save_LDFLAGS"
    8901   if test "$gnuplot_framework_Aquaterm" = yes; then
     8901  if test "$gnuplot_framework_AquaTerm" = yes; then
    89028902
    89038903$as_echo "#define HAVE_FRAMEWORK_AQUATERM 1" >>confdefs.h
    89048904
    89058905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    89068906$as_echo "yes" >&6; }
    8907     CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation -framework Aquaterm"
     8907    CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation -framework AquaTerm"
    89088908  else
    89098909    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    89108910$as_echo "no" >&6; }
    else 
    1636616366$as_echo "  caca terminal: no (requires libcaca >= 0.99.beta15)" >&6; }
    1636716367fi
    1636816368
    16369 if test "$gnuplot_framework_Aquaterm" = yes; then
     16369if test "$gnuplot_framework_AquaTerm" = yes; then
    1637016370  { $as_echo "$as_me:${as_lineno-$LINENO}: result:   aqua terminal (OSX): yes" >&5
    1637116371$as_echo "  aqua terminal (OSX): yes" >&6; }
    1637216372else