kopia lustrzana https://gitlab.com/sane-project/backends
				
				
				
			2000-11-25 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in acinclude.m4 aclocal.m4 include/sane/config.h.in: Added test for PTAL library and headers (patch from David Paschal <paschal@rcsis.co>). Some reformating of the output of configure --help. * backend/GUIDE: Updated entry about #include.DEVEL_2_0_BRANCH-1
							rodzic
							
								
									1c4be9f321
								
							
						
					
					
						commit
						9c35c327bf
					
				
										
											
												Plik diff jest za duży
												Load Diff
											
										
									
								
							
							
								
								
									
										13
									
								
								configure.in
								
								
								
								
							
							
						
						
									
										13
									
								
								configure.in
								
								
								
								
							|  | @ -43,7 +43,8 @@ WARN_CFLAGS="${CFLAGS} -W -Wall -Wstrict-prototypes -Wreturn-type -Wcast-align \ | |||
| dnl Use this during development | ||||
| # Warnings enabled by default | ||||
| AC_ARG_ENABLE(warnings, | ||||
|   [  --enable-warnings Turn on tons of compiler warnings (if you are using GCC) [default=yes]], | ||||
|   [  --enable-warnings       turn on tons of compiler warnings (GCC only)  | ||||
|                           [default=yes]], | ||||
|   [ | ||||
|     if eval "test x$enable_warnings = xyes"; then  | ||||
|       CFLAGS="${WARN_CFLAGS}" | ||||
|  | @ -56,7 +57,8 @@ AC_ARG_ENABLE(warnings, | |||
| dnl Use this for releases | ||||
| dnl # Warnings disabled by default | ||||
| dnl AC_ARG_ENABLE(warnings, | ||||
| dnl   [  --enable-warnings Turn on tons of compiler warnings (if you are using GCC) [default=no]], | ||||
| dnl   [  --enable-warnings      turn on tons of compiler warnings (GCC only) | ||||
|                              [default=no]], | ||||
| dnl   [ | ||||
| dnl     if eval "test x$enable_warnings = xyes"; then  | ||||
| dnl       CFLAGS="${WARN_CFLAGS}" | ||||
|  | @ -144,6 +146,9 @@ if test "`uname`" != "IRIX" -a "`uname`" != "IRIX64"; then | |||
|     AC_CHECK_LIB(socket,socket) | ||||
| fi | ||||
| 
 | ||||
| dnl check for PTAL library (used in hp backend) | ||||
| SANE_CHECK_PTAL | ||||
| 
 | ||||
| dnl look for /dev/urandom | ||||
| if test -c /dev/urandom ; then | ||||
|     CFLAGS="${CFLAGS} -DHAVE_DEV_URANDOM" | ||||
|  | @ -224,8 +229,8 @@ else | |||
| fi | ||||
| 
 | ||||
| AC_ARG_ENABLE(scsibuffersize,  | ||||
|   [  --enable-scsibuffersize=N  | ||||
|                         specify the default size of the buffer for SCSI commands], | ||||
|   [  --enable-scsibuffersize=N  specify the default size (in bytes) of the buffer | ||||
|                           for SCSI commands [default=131072]], | ||||
|   [set_scsibuffersize="$enableval"], [set_scsibuffersize=131072]) | ||||
| CFLAGS="$CFLAGS -DSCSIBUFFERSIZE=$set_scsibuffersize" | ||||
| echo "scsi buffersize: $set_scsibuffersize" | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Henning Geinitz
						Henning Geinitz