VirtualBox

Changeset 3262 in kBuild


Ignore:
Timestamp:
Jan 3, 2019 6:16:57 PM (6 years ago)
Author:
bird
Message:

kmk: rhel4 bootstrap hacking.

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/configure.ac

    r3147 r3262  
    162162AC_FUNC_CLOSEDIR_VOID
    163163
    164 # See if the user wants to add (or not) GNU Guile support
    165 PKG_PROG_PKG_CONFIG
    166 AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile],
    167             [Support GNU Guile for embedded scripting])])
    168 
    169 # For some strange reason, at least on Ubuntu, each version of Guile
    170 # comes with it's own PC file so we have to specify them as individual
    171 # packages.  Ugh.
    172 AS_IF([test "x$with_guile" != xno],
    173 [ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes],
    174   [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes],
    175     [have_guile=no])])
    176 ])
    177 
    178 AS_IF([test "$have_guile" = yes],
    179       [AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])])
    180 
    181 AM_CONDITIONAL([HAVE_GUILE], [test "$have_guile" = yes])
     164# bird: This guile detection does not work on rhel4.  Disabled it all since we doesn't care about guile.
     165## See if the user wants to add (or not) GNU Guile support
     166#PKG_PROG_PKG_CONFIG
     167#AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile],
     168#            [Support GNU Guile for embedded scripting])])
     169#
     170## For some strange reason, at least on Ubuntu, each version of Guile
     171## comes with it's own PC file so we have to specify them as individual
     172## packages.  Ugh.
     173#AS_IF([test "x$with_guile" != xno],
     174#[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes],
     175#  [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes],
     176#    [have_guile=no])])
     177#])
     178#
     179#AS_IF([test "$have_guile" = yes],
     180#      [AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])])
     181#
     182#AM_CONDITIONAL([HAVE_GUILE], [test "$have_guile" = yes])
    182183
    183184AC_FUNC_GETLOADAVG
     
    507508
    508509# Specify what files are to be created.
    509 AC_CONFIG_FILES([Makefile glob/Makefile po/Makefile.in config/Makefile \
     510# bird: Removed po/Makefile.in.
     511#AC_CONFIG_FILES([Makefile glob/Makefile po/Makefile.in config/Makefile \
     512#                 doc/Makefile w32/Makefile tests/config-flags.pm])
     513AC_CONFIG_FILES([Makefile glob/Makefile config/Makefile \
    510514                 doc/Makefile w32/Makefile tests/config-flags.pm])
    511515
  • trunk/src/kmk/getopt.h

    r3140 r3262  
    1717this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1818
     19#ifndef FAKES_NO_GETOPT_H /* bird: hack for rhel4 unistd.h dragging in getopt.h */
    1920#ifndef _GETOPT_H
    2021#define _GETOPT_H 1
     
    129130
    130131#endif /* getopt.h */
     132#endif /* bird hack */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette