mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 08:18:11 +08:00 
			
		
		
		
	Make sure to only export if new --enable-termcap is set.
This commit is contained in:
		
							
								
								
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -11269,6 +11269,7 @@ AM_CFLAGS="-std=gnu99 $inline_cflags -W -Wall -Wundef -Wunused -Wstrict-prototyp | ||||
|  | ||||
| ### The following magic for determining the location of termcap library is from GNU Texinfo | ||||
| ### http://www.tex.ac.uk/tex-archive/macros/texinfo/texinfo/configure.ac | ||||
| if test x$enable_termcap = "xyes"; then | ||||
| # Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but | ||||
| # rather ncurses.  So we check for it. | ||||
| TERMLIBS= | ||||
| @@ -11387,6 +11388,7 @@ if test -n "$ac_cv_var_ospeed" \ | ||||
|   TERMLIBS="${TERMLIBS} -l${ac_cv_var_ospeed}" | ||||
| fi | ||||
| # | ||||
| fi | ||||
|  | ||||
| # Do not use <ncurses/termcap.h> unless we're linking with ncurses. | ||||
| # Must come after the termlib tests. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson