kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

configure will exit 1 when libx86.h detected. #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is compile time bug, to version 1.6.

1. Change to the top source directory
2. run `./configure ; echo $?`

The result will return 1 when 'libx86.h' existed.

I guess the problem comes from the last line of configure.ac

129 [[ "$VESA_WARN" = "yes" ]] && AC_MSG_WARN([libx86.h doesn't exist! VESA
support will be disabled!    ])

Original issue reported on code.google.com by MatLinuxer2 on 14 Nov 2009 at 5:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks!

moving the last two clauses of configure.ac

[[ "$GPM_WARN" = "yes" ]] && AC_MSG_WARN([gpm.h doesn't exist! gpm mouse 
support will be disabled!])
[[ "$VESA_WARN" = "yes" ]] && AC_MSG_WARN([libx86.h doesn't exist! VESA support 
will be disabled!])

above 

AC_CONFIG_FILES([Makefile src/Makefile src/lib/Makefile im/Makefile 
terminfo/Makefile doc/Makefile doc/fbterm.1])
AC_CONFIG_LINKS([im/input_key.h:src/input_key.h im/immessage.h:src/immessage.h])
AC_OUTPUT

will fix this problem.

you can just use the attached patch for the file configure.

Original comment by zgchan...@gmail.com on 15 Nov 2009 at 2:20

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 28 has been merged into this issue.

Original comment by zgchan...@gmail.com on 25 Feb 2010 at 10:29