Ticket #46942: gnuplot-AquaTerm-configure-sources.diff

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

A patch for configure sources for case sensitive file systems (for upstream)

  • configure.in

    old new else 
    14381438  AC_MSG_RESULT([  caca terminal: no (requires libcaca >= 0.99.beta15)])
    14391439fi
    14401440
    1441 if test "$gnuplot_framework_Aquaterm" = yes; then
     1441if test "$gnuplot_framework_AquaTerm" = yes; then
    14421442  AC_MSG_RESULT([  aqua terminal (OSX): yes])
    14431443else
    14441444  AC_MSG_RESULT([  aqua terminal (OSX): no])
  • m4/apple.m4

    old new AC_DEFUN([GP_APPLE],[ 
    1313    AC_MSG_RESULT([yes])
    1414    is_apple=yes
    1515    AC_ARG_WITH(aquaterm,
    16                 [  --with-aquaterm         include support for aquaterm on OSX],
     16                [  --with-aquaterm         include support for AquaTerm on OSX],
    1717                [if test "$withval" == yes; then
    18                     GP_HAVE_FRAMEWORK(Aquaterm,[#import <Aquaterm/AQTAdapter.h>],[],
    19                                       [CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation -framework Aquaterm"],[])
     18                    GP_HAVE_FRAMEWORK(AquaTerm,[#import <AquaTerm/AQTAdapter.h>],[],
     19                                      [CFLAGS="$CFLAGS -ObjC"; LDFLAGS="$LDFLAGS -framework Foundation -framework AquaTerm"],[])
    2020                fi])
    2121  ],[
    2222    AC_MSG_RESULT([no])