Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2441 Details for
Bug 5351
links-0.96-r2.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
links-0.96-r2-gentoo.patch (add gpm configure switch)
links-0.96-r2-gentoo.patch (text/plain), 1.37 KB, created by
Christopher Horler
on 2002-07-21 14:55:37 UTC
(
hide
)
Description:
links-0.96-r2-gentoo.patch (add gpm configure switch)
Filename:
MIME Type:
Creator:
Christopher Horler
Created:
2002-07-21 14:55:37 UTC
Size:
1.37 KB
patch
obsolete
>--- acconfig.h.orig Sun Jul 21 19:28:40 2002 >+++ acconfig.h Sun Jul 21 19:27:20 2002 >@@ -53,4 +53,7 @@ > #undef HAVE_SSL > > /* */ >+#undef HAVE_LIBGPM >+ >+/* */ > #undef X2 >--- configure.in.orig Sun Jul 21 19:28:21 2002 >+++ configure.in Sun Jul 21 19:36:46 2002 >@@ -56,8 +56,6 @@ > AC_HAVE_FUNCS(getpid setpgid getpgid setpgrp getpgrp) > > dnl Checks for libraries. >-dnl Replace `main' with a function in -lgpm: >-AC_CHECK_LIB(gpm, Gpm_Open) > dnl Replace `main' with a function in -lsocket: > AC_CHECK_FUNC(socket, cf_result=yes, cf_result=no) > if test "$cf_result" = no; then >@@ -161,6 +159,33 @@ > AC_MSG_RESULT($cf_result) > #endif > >+dnl Configure switch for gpm added >+dnl Replace `main' with a function in -lgpm: >+#ifdef HAVE_LIBGPM >+AC_ARG_WITH(gpm, [ --without-gpm disable GPM support], [if test "$withval" = no; then disable_gpm=yes; fi]) >+AC_MSG_CHECKING([for GPM]) >+LIBS_X="$LIBS" >+cf_result=no >+if test -z "$disable_gpm"; then >+ if test "$cf_result" = no; then >+ LIBS="-lgpm $LIBS_X" >+ AC_TRY_LINK([#include <gpm.h>], [Gpm_Connect gpm; Gpm_Open(&gpm, 0)], cf_result=yes, cf_result=no) >+ fi >+ >+ if test "$cf_result" != yes; then >+ if test "$withval" = yes; then >+ AC_MSG_ERROR("GPM not found") >+ fi >+ LIBS="$LIBS_X" >+ else >+ AC_DEFINE(HAVE_LIBGPM) >+ fi >+fi >+AC_MSG_RESULT($cf_result) >+#endif >+ >+ >+ > test "$have_emx" = yes && LDFLAGS="$LDFLAGS -Zexe" > > AC_OUTPUT(Makefile)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5351
:
2440
| 2441