diff -Nru munipack-0.5.9/artificial/artest.sh munipack-0.5.10/artificial/artest.sh
--- munipack-0.5.9/artificial/artest.sh 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/artificial/artest.sh 2018-01-16 17:58:03.000000000 +0000
@@ -2,35 +2,77 @@
# A variable star
RA=150
DEC=50
-LCID="--lc-model Cepheid"
+JD0=2457948.5
LCID="--lc-fourier fourier.fits"
LCID="--lc-table Kepler-21b.fits"
-munipack artificial --verbose --mask 'art_??.fits' --fov 0.3 --rcen $RA --dcen $DEC \
- --date 2017-07-14 --time 00:00:00 --count 48 --timestep 180 --exptime 60 \
- $LCID --lc-mag 12 --lc-amp 1 --lc-jd0 2457948.5 --lc-per 0.1 \
- --lc-ra $RA --lc-dec $DEC
+LCID="--lc-model Cepheid"
+munipack artificial --verbose --mask 'art_??.fits' --fov 0.3 --count 48 \
+ --rcen $RA --dcen $DEC \
+ --lc-ra $RA --lc-dec $DEC \
+ $LCID --lc-mag 12 --lc-amp 1 --lc-jd0 $JD0 --lc-per 0.1 \
+ --date 2017-07-14 --time 00:00:00 --timestep 180 --exptime 90
LS="art_??.fits"
munipack find $LS
munipack aphot $LS
-munipack phcal -C 1 --photsys-ref Johnson -f V -O --mask '\!\1_man.\2' art_01.fits
+cp art_01.fits art_01_grow.fits
+munipack gphot art_01_grow.fits
+
+# aperture correction
+R90=$(munipack fits --shell -K RADFLX90 art_01_grow.fits\[GROWPHOT\] | \
+ awk -F '=' '{print $2;}')
+BEGIN='BEGIN { q = -1; }'
+BODY='{if($0~/^APER/ && $2 >= r && q < 0) {q=$2;gsub("APER","",$1);print $1;}}'
+SAPER=$(munipack fits -lh art_01_grow.fits\[APERPHOT\] | \
+ awk -F '[=/]' -v r=$R90 "$BEGIN $BODY")
+APCORR=$(munipack fits -lt art_01_grow.fits\[GROWCURVE\] | \
+ awk -v saper=$SAPER '{if( NR == saper ) print 1/$2;}')
+
+munipack phcal -C 1 --saper $SAPER --photsys-ref Johnson -f V \
+ art_01_grow.fits,man_01.fits
for A in $LS; do
- munipack phcal --photsys-ref Johnson -f V -r art_01_man.fits $A;
+ munipack phcal --photsys-ref Johnson -f V -r man_01.fits \
+ --apcorr $APCORR --saper $SAPER $A;
done
-munipack timeseries -c MAG,MAGERR --stdout ${RA},${DEC} art_*_cal.fits > Kepler-21b.lc
+echo "# JD MAG " > lc
+munipack timeseries -c MAG,MAGERR --stdout ${RA},${DEC} art_*_cal.fits >> lc
-munipack fits -lt Kepler-21b.fits | awk '{print 0.5+0.1*$1, 12-1.086*log($2)}' > lcmodel
+echo "# JD MAG " > lcmodel
+BEGIN='BEGIN { JD=0; MAG=99.999; }'
+BODY='{ if($0~/^JD/) JD=$2; if($0~/current magnitude/) MAG=$2; }'
+END='END {print JD MAG;}'
+for A in $LS; do
+ munipack fits -lh $A | awk -F '[=/]' "$BEGIN $BODY $END" >> lcmodel
+done
+
+paste lc lcmodel > lcd
gnuplot <> ext_G
munipack fits -lt ${A%_catcal.fits}.fits\[GROWCURVE\] > $D
diff -Nru munipack-0.5.9/artificial/artificial.f95 munipack-0.5.10/artificial/artificial.f95
--- munipack-0.5.9/artificial/artificial.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/artificial/artificial.f95 2018-01-16 17:58:03.000000000 +0000
@@ -20,6 +20,10 @@
!
!
! * The variable star part, implemented as a class, would by more classy.
+! * Checking proper combination of parameters during computations (to prevent
+! frames below horizon with athmosphere, negative values of radiuses, etc.)?
+! * Add galaxies (pofiles as NFW, Hubble, King, spirals) or globular clusters
+! with Plummer? Fractals for nebuale?
!
program artificial
@@ -37,26 +41,27 @@
real(dbl), parameter :: j2000 = 2451544.5_dbl
character(len=4*FLEN_FILENAME) :: record,key,val,fmt
- character(len=FLEN_FILENAME) :: cat = '', phsystable = '', phsystem = 'Johnson', &
- file = 'artificial.fits', filemask = 'artificial_???.fits'
+ character(len=FLEN_FILENAME) :: cat = '', phsystable = '', &
+ phsystem = 'Johnson', file = 'artificial.fits', &
+ filemask = 'artificial_???.fits'
logical :: verbose = .false., plog = .false.
integer, dimension(2) :: naxes = (/ 666, 666 /)
real(dbl), dimension(2) :: crpix = (/333, 333/)
integer :: bitpix = -32
integer :: nfiles = 0
integer :: eq,n,i,l1,l2
- real(dbl) :: blevel = 1000, bnoise = -1
- real(dbl), dimension(2) :: bgrad = (/0, 0/)
+ real(dbl) :: skymag = 21 ! mag per 1 sq. arcsec
+ real(dbl), dimension(2) :: skygrad = (/0,0/) ! mag per 1 sq. arcsec per pix
integer :: maglim = 13
- real(dbl) :: exptime = 1, area = 1 ! 1 sec per 1 sq.meter, equivalent r=0.56m
+ real(dbl) :: exptime = 1, area = 1 ! 1 sec per 1 sq.meter, equiv. r=0.56m
real(dbl) :: hwhm = 1 ! in pixels
- real(dbl) :: airy = 0.1 ! Airy disk radius in pixels for r=0.56m
+ real(dbl) :: airy = 0.1 ! Airy disk radius in pix for r=0.56m
real(dbl) :: beta = 2 ! Moffat exponent
real(dbl) :: scale = 1.0 / 3600.0 ! 1 arcsex = 1 pix
- real(dbl) :: fov = 666. / 3600.0 ! field of view, used for scale setup only
+ real(dbl) :: fov = 666. / 3600.0 ! field of view, used for scale setup
real(dbl) :: angle = 0
real(dbl) :: qefficiency = 1
- real(dbl) :: extink = 0 ! extinction coefficient
+ real(dbl) :: extink = 0.1 ! extinction coefficient
real(dbl) :: longitude = 0 ! geographic longitude
real(dbl) :: latitude = 0 ! geographic latitude
real(dbl) :: timestep = 60 ! time step in seconds
@@ -64,8 +69,8 @@
real(dbl) :: year = 2000, month = 1, day = 1, hour = 0, min = 0, sec = 0, r, d
real(dbl), dimension(2) :: crval = 0
real(dbl) :: lcmag = 15 ! lc magnitude
- real(dbl) :: lcamp = 0.4 ! lc amplitude
- real(dbl) :: mamp = 1 ! lc amplitude in magnitudes
+ real(dbl) :: ccmag = 15 ! current magnitude
+ real(dbl) :: lcamp = 1 ! lc amplitude
real(dbl) :: lcjd0 = j2000 ! lc reference time
real(dbl) :: lcper = 1 ! lc period
real(dbl), dimension(2) :: lcoo = 0 ! lc coordinates
@@ -76,8 +81,8 @@
character(len=FLEN_VALUE) :: lcmodel = '', lctable = '', lcfourier = ''
complex(dbl), dimension(:), allocatable :: fcoeff ! lc Fourier coefficients
real(dbl), dimension(:), allocatable :: xcoo,ycoo,flux
- ! 'FFT' for FFT convolution, 'RANDOM' for random offset, 'AUTO' for 'RANDOM' of short
- ! exposures and 'TEST' for direct convolution
+ ! 'FFT' for FFT convolution, 'RANDOM' for random offset, 'AUTO' for 'RANDOM'
+ ! of short exposures and 'TEST' for direct convolution
logical :: atmosphere = .false.
logical :: lcmode = .false.
logical :: datetime_init = .false.
@@ -115,21 +120,17 @@
read(val,*) bitpix
- else if( key == 'BLEVEL' ) then
+ else if( key == 'SKYMAG' ) then
- read(val,*) blevel
+ read(val,*) skymag
- else if( key == 'BNOISE' ) then
+ else if( key == 'SKYGRADX' ) then
- read(val,*) bnoise
+ read(val,*) skygrad(1)
- else if( key == 'BGRADX' ) then
+ else if( key == 'SKYGRADY' ) then
- read(val,*) bgrad(1)
-
- else if( key == 'BGRADY' ) then
-
- read(val,*) bgrad(2)
+ read(val,*) skygrad(2)
else if( key == 'MAGLIM' ) then
@@ -263,7 +264,7 @@
else if( key == 'LCAMP' ) then
- read(val,*) mamp
+ read(val,*) lcamp
else if( key == 'LCJD0' ) then
@@ -302,9 +303,6 @@
end if
end if
- ! setup noise by Poisson
- if( bnoise < 0 .and. blevel > 0 ) bnoise = sqrt(blevel)
-
! whatever LC is generated
if( lcmodel /= '' .or. lctable /= '' .or. lcfourier /= '' ) lcmode = .true.
@@ -318,7 +316,6 @@
call lcfourio(lcfourier,fcoeff)
end if
- lcamp = 10**(0.4*mamp)
end if
! stars
@@ -348,9 +345,9 @@
end if
write(error_unit,*) "Photometry system: ",trim(phsystem)
write(error_unit,*) "Filter: ",trim(filter)
- write(error_unit,'(a,f0.1)') " Background level = ",blevel
- write(error_unit,'(a,f0.1)') " Background noise = ",bnoise
- write(error_unit,'(a,2(f0.1,2x))') " Background gradient = ",bgrad
+ write(error_unit,'(a,f0.1,a)') " Sky magnitude = ",skymag," mag/arcsec2"
+ write(error_unit,'(a,2(g0.2,2x),a)') &
+ " Sky gradient = ",skygrad," mag/arcsec2/pix"
write(error_unit,'(a,f0.2,a)') " Area = ",area," [m2]"
write(error_unit,'(a,f0.1,a)') " Exposure time = ",exptime," [s]"
write(error_unit,'(a,f0.1,a)') " Time span = ",timestep," [s]"
@@ -382,17 +379,20 @@
write(error_unit,*) "Light curve by Fourier coefficients in: `", &
trim(lcfourier),"':"
do i = 0,size(fcoeff)-1
- write(error_unit,'(a,i0,a,2(3x,f0.5),a)') " c(",i,") = ",fcoeff(i),"i"
+ write(error_unit,'(a,i0,a,2(3x,f0.5),a)') " c(",i,") = ",&
+ fcoeff(i),"i"
end do
end if
write(error_unit,'(a,f0.1)') " Light curve mean magnitude = ",lcmag
write(error_unit,'(a,f0.1)') " Light curve amplitude = ",lcamp
write(error_unit,'(a,f0.6)') " Light curve JD0 = ",lcjd0
- write(error_unit,'(a,f0.6,a)') " Light curve period = ",lcper," [day(s)]"
- write(error_unit,'(a,2f7.2,a)') " Coordinates of the object: ",lcoo," [deg]"
+ write(error_unit,'(a,f0.6,a)') " Light curve period = ",lcper, &
+ " [day(s)]"
+ write(error_unit,'(a,2f7.2,a)') " Coordinates of the object: ",lcoo, &
+ " [deg]"
end if
write(error_unit,*)
- write(error_unit,*) "Filename, JD, airmass, seeing radius:"
+ write(error_unit,*) "Filename, JD(begin), airmass, seeing radius:"
end if
@@ -405,8 +405,9 @@
if( nfiles == 0 .and. n == 0 ) file = filemask
write(fmt,'(a,i0,a)') '(a,i0.',n,',a)'
- if( datetime_init ) jd = datjd(year,month,day + (hour + (min + sec/60)/60)/24)
- timestep = timestep / 86400
+ if( datetime_init ) &
+ jd = datjd(year,month,day + (hour+(min+sec/60.0_dbl)/60.0_dbl)/24.0_dbl)
+ timestep = timestep / 86400.0_dbl
if( nfiles == 0 ) then
@@ -458,12 +459,18 @@
character(len=FLEN_COMMENT) :: com
character(len=FLEN_VALUE) :: datetime
real(dbl), dimension(:,:), allocatable :: sky
- real(dbl) :: c,s,x,qe,see,extin,hwhms,jd2, ms, lcflux, phi
+ real(dbl) :: c,s,x,qe,see,extin,hwhms,jd2, ms, lcflux, phi, mag, back
+ real(dbl), dimension(2) :: bgrad
integer :: year, month, day, hour, min, sec, m
integer, dimension(2) :: maxes
real(dbl), dimension(:), allocatable :: xstar,ystar,fluxes,xvar, yvar, fvar
type(SprayType) :: spsf
+ ! background at zenit
+ back = magiconv(phsystable,phsystem,filter,(/skymag/))
+ back = back * exptime * area * qefficiency * (scale*3600)**2
+ bgrad = 1.086 * skygrad * back
+
if( atmosphere ) then
! compute airmass
@@ -482,12 +489,16 @@
qe = extin * qefficiency
! http://www.astro.auth.gr/~seeing-gr/seeing_gr_files/theory/node17.html
- ! Fries parameter
+ ! Fries parameter for spread
see = x**0.6
hwhms = hwhm*see
- if( verbose ) &
- write(error_unit,'(a,f15.5,f8.3,2f6.2)') trim(filename),jd,x,extin,see
+ ! sky increases by airmass
+ back = back * extin
+ bgrad = 1.086 * skygrad * back
+
+ if( verbose ) write(error_unit,'(a,f15.5,f8.3,2f6.2)') &
+ trim(filename),jd,x,extin,see
else
hwhms = hwhm
qe = qefficiency
@@ -501,38 +512,43 @@
phi = phase(jd,lcjd0,lcper)
+ lcflux = -1
+
if( lcmodel == 'WAVE' ) then
- lcflux = lcamp*wave(phi)
+ lcflux = wave(phi)
else if( lcmodel == 'CEPHEID' ) then
- lcflux = lcamp*delta_cep(phi)
+ lcflux = delta_cep(phi)
else if( lcmodel == 'ALGOL' ) then
- lcflux = lcamp*beta_per(phi)
+ lcflux = beta_per(phi)
else if( lcmodel /= '' ) then
- stop "Unrecognised light curve model. Try `Cepheid', `Algol' or `wave'."
+ stop "Unrecognised light curve model. Try `Cepheid', `Algol', `wave'."
end if
if( lcfourier /= '' ) then
- lcflux = lcamp*fourfun(fcoeff,phi)
+ lcflux = fourfun(fcoeff,phi)
end if
if( lctable /= '' ) then
lcflux = lcspline(phi)
end if
+ if( lcflux < 0 ) stop 'Unspecified light curve model.'
+
allocate(xvar(1),yvar(1),fvar(1))
- call rain((/lcoo(1)/),(/lcoo(2)/),(/lcmag/),scale,angle,crval,crpix, &
+ mag = lcmag - (2.5_dbl*log10(lcamp*lcflux))
+ call rain((/lcoo(1)/),(/lcoo(2)/),(/mag/),scale,angle,crval,crpix, &
phsystable,phsystem,filter,xvar,yvar,fvar)
- fvar = fvar * lcflux
+ ccmag = magconv(phsystable,phsystem,filter,fvar)
else
allocate(xvar(0),yvar(0),fvar(0))
end if
+ ! Frame generator
allocate(sky(naxes(1),naxes(2)))
sky = 0
- ! background
- call background(blevel,bnoise,bgrad,sky)
+ call background(back,bgrad,sky)
! merge both lists: variables and ordinary stars
m = size(xvar)
@@ -552,7 +568,7 @@
call spreadstars(spsf,xstar,ystar,fluxes,sky)
! watermark
- call watermark(sky,5*bnoise)
+ call watermark(sky,5*sqrt(back))
! cleanup
if( allocated(xvar) ) deallocate(xvar,yvar,fvar)
@@ -573,14 +589,17 @@
! extension with artifical frame
call ftphps(15,bitpix,size(naxes),naxes,status)
- write(datetime,"(i4.4,'-',i2.2,'-',i2.2,'T',i2.2,':',i2.2,':',i2.2,'.',i3.3)") &
+ write(datetime, &
+ "(i4.4,'-',i2.2,'-',i2.2,'T',i2.2,':',i2.2,':',i2.2,'.',i3.3)") &
year, month, day, hour, min, sec, nint(ms)
call ftpkys(15,FITS_KEY_DATEOBS,datetime,'date and time in UT',status)
call ftpkys(15,FITS_KEY_FILTER,filter,'filter',status)
- call ftpkyd(15,FITS_KEY_JD,jd2,-16,'[day] Julian date at half of exposure',status)
+ call ftpkyd(15,FITS_KEY_JD,jd2,-16,'[day] Julian date at half of exposure',&
+ status)
call ftpkyd(15,FITS_KEY_EXPTIME,exptime,-3,'[s] exposure time',status)
call ftpkyd(15,FITS_KEY_AREA,area,-2,'[m2] detection area',status)
- call ftpkyd(15,FITS_KEY_HWHM,hwhms,-3,'[pix] half with at half maximum',status)
+ call ftpkyd(15,FITS_KEY_HWHM,hwhms,-3,'[pix] half with at half maximum',&
+ status)
if( atmosphere ) &
call ftpkyd(15,FITS_KEY_AIRMASS,x,-4,'airmass',status)
call ftpkys(15,'PSF',psf,'PSF',status)
@@ -590,8 +609,10 @@
call ftpkyd(15,'AIRYDISK',airy,-3,'[pix] Airy disk radius',status)
call ftpkys(15,'SPREAD',spread,'seeing spread method ',status)
end if
- call ftpkys(15,'CTYPE1','RA---TAN','the coordinate type for the first axis',status)
- call ftpkys(15,'CTYPE2','DEC--TAN','the coordinate type for the first axis',status)
+ call ftpkys(15,'CTYPE1','RA---TAN', &
+ 'the coordinate type for the first axis',status)
+ call ftpkys(15,'CTYPE2','DEC--TAN', &
+ 'the coordinate type for the second axis',status)
call ftpkye(15,'CRPIX1',real(naxes(1)/2),-6,'[pix]',status)
call ftpkye(15,'CRPIX2',real(naxes(2)/2),-6,'[pix]',status)
call ftpkyd(15,'CRVAL1',crval(1),-17,'[deg]',status)
@@ -602,12 +623,14 @@
call ftpkyd(15,'CD1_2',s*scale,13,'',status)
call ftpkyd(15,'CD2_1',s*scale,13,'',status)
call ftpkyd(15,'CD2_2',c*scale,13,'',status)
- call ftpkyd(15,FITS_KEY_LONGITUDE,longitude,-5,'[deg] geographic longitude (-east)',status)
- call ftpkyd(15,FITS_KEY_LATITUDE,latitude,-5,'[deg] geographic latitude (+north)',status)
+ call ftpkyd(15,FITS_KEY_LONGITUDE,longitude,-5, &
+ '[deg] geographic longitude (-east)',status)
+ call ftpkyd(15,FITS_KEY_LATITUDE,latitude,-5, &
+ '[deg] geographic latitude (+north)',status)
call ftpcom(15,'Artificial sky by Munipack.',status)
call ftpcom(15,'Parameters:',status)
- write(com,'(a,4(g0.6,1x))') 'Background: level, noise, gradient = ',&
- blevel,bnoise,bgrad
+ write(com,'(a,es10.3,1x,2(g0.2,1x))') &
+ 'Background: level, noise, gradient = ',back,bgrad
call ftpcom(15,com,status)
write(com,'(2a)') 'PSF = ',trim(psf)
call ftpcom(15,com,status)
@@ -623,6 +646,29 @@
write(com,'(a,g0.3)') 'Seeing factor = ', see
call ftpcom(15,com,status)
end if
+ if( lcmode ) then
+ write(com,'(2a)') 'Light curve model = ',trim(lcmodel)
+ call ftpcom(15,com,status)
+ if( lcfourier /= '' ) then
+ write(com,'(2a)') 'Fourier coefficients table = ', trim(lcfourier)
+ call ftpcom(15,com,status)
+ end if
+ if( lctable /= '' ) then
+ write(com,'(2a)') 'Spline interpolation table = ', trim(lctable)
+ call ftpcom(15,com,status)
+ end if
+ write(com,'(a,f0.3)') "Light curve current magnitude = ",ccmag
+ call ftpcom(15,com,status)
+ write(com,'(a,2(f0.3,1x))') &
+ "Light curve mean magnitude, amplitude = ",lcmag,lcamp
+ call ftpcom(15,com,status)
+ write(com,'(a,2(f0.6,1x),a)') &
+ "Light curve elements (JD0, period) = ",lcjd0,lcper," [day(s)]"
+ call ftpcom(15,com,status)
+ write(com,'(a,2(f0.5,1x),a)') &
+ "Light curve object coordinates = ",lcoo," [deg]"
+ call ftpcom(15,com,status)
+ end if
call ftpcom(15,MUNIPACK_VERSION,status)
call ftp2dd(15,1,naxes(1),naxes(1),naxes(2),sky,status)
@@ -659,5 +705,40 @@
end subroutine lctable_init
+ function magconv(phsystable,phsystem,filter,ph)
+
+ use phsysfits
+ use photoconv
+
+ real(dbl) :: magconv
+ character(len=*), intent(in) :: filter, phsystable, phsystem
+ real(dbl), dimension(:), intent(in) :: ph
+ type(type_phsys) :: phsys
+ real(dbl), dimension(size(ph)) :: mag,dmag,dph
+
+ call phselect(phsystable,phsystem,phsys)
+ dph = -1
+ call phsysphmag1(phsys,filter,ph,dph,mag,dmag)
+ magconv = mag(1)
+
+ end function magconv
+
+ function magiconv(phsystable,phsystem,filter,mag)
+
+ use phsysfits
+ use photoconv
+
+ real(dbl) :: magiconv
+ character(len=*), intent(in) :: filter, phsystable, phsystem
+ real(dbl), dimension(:), intent(in) :: mag
+ type(type_phsys) :: phsys
+ real(dbl), dimension(size(mag)) :: ph,dph,dmag
+
+ call phselect(phsystable,phsystem,phsys)
+ dmag = 9.999
+ call phsysmagph1(phsys,filter,mag,dmag,ph,dph)
+ magiconv = ph(1)
+
+ end function magiconv
end program artificial
diff -Nru munipack-0.5.9/artificial/generator.f95 munipack-0.5.10/artificial/generator.f95
--- munipack-0.5.9/artificial/generator.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/artificial/generator.f95 2018-01-16 17:58:03.000000000 +0000
@@ -62,7 +62,8 @@
k = i - x
do j = y - nw, y + nw
l = j - y
- if( 1 <= i .and. i <= naxes(1) .and. 1 <= j .and. j <= naxes(2) ) then
+ if( 1 <= i .and. i <= naxes(1) .and. &
+ 1 <= j .and. j <= naxes(2) ) then
f = psf(k,l)
if( f > 0 ) sky(i,j) = sky(i,j) + pnoise(f)
end if
@@ -75,8 +76,8 @@
end subroutine spreadstars
- subroutine rain(alpha,delta,mag,scale,angle,crval,crpix,phsystable,phsystem,filter, &
- xcoo,ycoo,flux)
+ subroutine rain(alpha,delta,mag,scale,angle,crval,crpix,phsystable, &
+ phsystem,filter,xcoo,ycoo,flux)
use astrotrafo
use phsysfits
@@ -92,7 +93,8 @@
real(dbl), dimension(:), allocatable :: dmag, dflux
integer :: n
- call trafo_init(t,'GNOMONIC',crval(1),crval(2),crpix(1),crpix(2),scale=scale,rot=angle)
+ call trafo_init(t,'GNOMONIC',crval(1),crval(2),crpix(1),crpix(2),&
+ scale=scale,rot=angle)
n = size(alpha)
allocate(xcoo(n),ycoo(n),flux(n),dmag(n),dflux(n))
@@ -106,8 +108,8 @@
end subroutine rain
- subroutine catstars(cat,labels,scale,angle,crval,crpix,phsystable,phsystem,filter, &
- xcoo,ycoo,flux)
+ subroutine catstars(cat,labels,scale,angle,crval,crpix,phsystable, &
+ phsystem,filter,xcoo,ycoo,flux)
use catio
@@ -121,8 +123,8 @@
call catalogue(cat,labels,alpha,delta,mag,catid)
- call rain(alpha,delta,mag,scale,angle,crval,crpix,phsystable,phsystem,filter, &
- xcoo,ycoo,flux)
+ call rain(alpha,delta,mag,scale,angle,crval,crpix,phsystable, &
+ phsystem,filter,xcoo,ycoo,flux)
deallocate(alpha,delta,mag)
@@ -185,23 +187,24 @@
end subroutine stardist
- subroutine background(blevel,bnoise,bgrad,sky)
+ subroutine background(b,bgrad,sky)
use noise
- real(dbl), intent(in) :: blevel,bnoise
+ real(dbl), intent(in) :: b
real(dbl), dimension(:), intent(in) :: bgrad
real(dbl), dimension(:,:), intent(out) :: sky
integer :: i,j,ic,jc
- real(dbl) :: dx,dy
+ real(dbl) :: db,dx,dy
+ db = sqrt(b)
ic = size(sky,1) / 2
jc = size(sky,2) / 2
do i = 1,size(sky,1)
dx = (i - ic)*bgrad(1)
do j = 1,size(sky,2)
dy = (j - jc)*bgrad(2)
- sky(i,j) = gnoise(blevel + dx + dy,bnoise)
+ sky(i,j) = gnoise(b + dx + dy,db)
end do
end do
diff -Nru munipack-0.5.9/artificial/lcapprox.f08 munipack-0.5.10/artificial/lcapprox.f08
--- munipack-0.5.9/artificial/lcapprox.f08 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/artificial/lcapprox.f08 2018-01-16 17:58:03.000000000 +0000
@@ -1,8 +1,8 @@
!
! Light Curve Approximations by Fourier series
!
-! gfortran -I../lib -Wall -g -p -fcheck=all -fimplicit-none -fbacktrace lcapprox.f08 \
-! -L../lib -lminpacks -lminpack
+! gfortran -I../lib -Wall -g -p -fcheck=all -fimplicit-none -fbacktrace \
+! lcapprox.f08 -L../lib -lminpacks -lminpack
!
! Copyright © 2017 F.Hroch (hroch@physics.muni.cz)
!
@@ -38,6 +38,7 @@
write(*,*) '! Copyright © 2017 F.Hroch (hroch@physics.muni.cz)'
write(*,*) '!'
write(*,*) '! This file is part of Munipack.'
+ write(*,*) '! All source code is generated by lcapprox.f08.'
write(*,*) '!'
write(*,*) '! Munipack is free software: you can redistribute it and/or modify'
write(*,*) '! it under the terms of the GNU General Public License as published by'
@@ -107,8 +108,8 @@
else
tail = ' /)'
end if
- write(*,'(2(a,es22.15),2a)') ' cmplx(',real(dcep(i)),',',aimag(dcep(i)),&
- ')',tail
+ write(*,'(2(a,es22.15),2a)') ' cmplx(',real(dcep(i)),',',&
+ aimag(dcep(i)),')',tail
end do
open(9,file='/tmp/dcep')
@@ -197,7 +198,8 @@
else
tail = ' /)'
end if
- write(*,'(2(a,es22.15),2a)') ' cmplx(',real(c(i)),',',aimag(c(i)),')',tail
+ write(*,'(2(a,es22.15),2a)') ' cmplx(',real(c(i)),',', &
+ aimag(c(i)),')',tail
end do
open(9,file='/tmp/algol')
@@ -318,8 +320,8 @@
if( random ) then
allocate(x(8),y(8))
- x = [ 0.0, 0.0, 1.0471975512, 1.0471975512, 1.570796326775, 3.14159265355, &
- 3.14159265355, 4.712388980325]
+ x = [ 0.0, 0.0, 1.0471975512, 1.0471975512, 1.570796326775, &
+ 3.14159265355, 3.14159265355, 4.712388980325]
y = [ 1.1, 0.8, 1.4, 1.6, 2.1, 2.8, 3.1, 2.1 ]
cab = [ 2, -1,0,0]
! check: f(x) = 2 - cos(x)
diff -Nru munipack-0.5.9/artificial/Makefile.in munipack-0.5.10/artificial/Makefile.in
--- munipack-0.5.9/artificial/Makefile.in 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/artificial/Makefile.in 2018-01-16 17:58:14.000000000 +0000
@@ -270,7 +270,6 @@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-develop = @develop@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
diff -Nru munipack-0.5.9/astrometry/absfit.f95 munipack-0.5.10/astrometry/absfit.f95
--- munipack-0.5.9/astrometry/absfit.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/absfit.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! absfit - fitting absolute deviations
!
!
-! Copyright © 2011-2, 2015-6 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2011-2, 2015-7 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -23,6 +23,7 @@
module absfit
use astrotrafo
+ use iso_fortran_env
implicit none
@@ -74,25 +75,24 @@
real(dbl),intent(in) :: xrefl,xoff,dxoff,yoff,dyoff
logical, intent(in) :: verbose
- real(dbl), parameter :: eps = 1e3*epsilon(mad)
real(dbl), parameter :: sqreps = sqrt(epsilon(mad))
real(dbl), parameter :: reqmin = epsilon(mad)
integer, parameter :: npar = 4
real(dbl),dimension(npar) :: p,p0,dp ! = (x0, y0, sc, rot)
- real(dbl) :: uu,vv
+ real(dbl) :: uu,vv,dd
integer :: iter,icount, numres, ifault, i, nra, ndec
type(AstroTrafoProj) :: t,ti
- if( size(a) < 1 ) stop 'Absfit: no available stars.'
+ if( size(a) < 1 ) stop 'Absfit: no star available.'
- if(verbose) write(*,*) "=== Absolute deviations fitting ==="
+ if(verbose) write(error_unit,*) "=== Absolute deviations fitting ==="
debug = verbose
xcen = xc
ycen = yc
- ! Important: x,y,u,v arrays are a common working places for both absmin and medfun !!
+ ! x,y,u,v arrays are a common working arrays for both absmin and medfun !!
ndat = size(a)
allocate(x(ndat),y(ndat),u(ndat),v(ndat))
@@ -105,25 +105,26 @@
call proj(t,a,d,u,v)
p = (/xoff, yoff, sc, rot/)
- dp = (/ dxoff, dyoff, dsc, drot/)
+ dd = 0.1*sc ! star centroids are usually located with the precision 0.1 pix
+ dp = (/ max(dxoff,dd), max(dyoff,dd), dsc, drot/)
refl = xrefl
- if( debug ) write(*,'(a)') &
+ if( debug ) write(error_unit,'(a)') &
'# ifault mad acen dcen offset[pix] s[pix/deg] rot[deg]'
- do iter = 1,13
+ do iter = 1, precision(p)
! estimate transformation by minimizing of absolute deviations
p0 = p
dp = max(dp,sqreps)
call nelmin(medfun,npar,p0,p,mad,reqmin,dp,1,9999,icount,numres,ifault)
- ! the typical run needs about one thousand of medfun calls
+ ! a typical run needs about one thousand of medfun calls
! ifault=0 means convergence, 2 means slow convergence
mad = mad / (2*ndat)
- if( debug ) write(*,'(2i2,es10.2,2f11.5,2g11.2,f10.1,f7.1)') &
+ if( debug ) write(error_unit,'(2i2,es10.2,2f11.5,2g11.2,f10.1,f7.1)') &
iter,ifault,mad,acen,dcen,p(1:2)/p(3),1/p(3),p(4)
! iterations couldn't make further progress, with precision 1/1000 [pix]
@@ -133,7 +134,6 @@
call trafo_init(ti,type,acen=acen,dcen=dcen, &
xcen=xcen,ycen=ycen,scale=p(3),rot=p(4),refl=refl)
call invproj(ti,p(1),p(2),acen,dcen)
-! write(*,'(6f12.5,2i5)') acen,dcen,t%acen,t%dcen,t%uv0,icount,numres
call trafo_init(t,type,acen,dcen)
call proj(t,a,d,u,v)
p(1:2) = 0.0_dbl
@@ -152,8 +152,10 @@
if( uu - u(i) > 0 ) nra = nra + 1
if( vv - v(i) > 0 ) ndec = ndec + 1
end do
- write(*,'(a,3i7)') '# absfit sign test (total, positive ra,dec): ',ndat,nra,ndec
- write(*,'(a,en12.2,en13.3,f8.1,2f11.5,f5.1)') &
+ write(error_unit,'(a,i7,"/",f0.1,2(i5,"+-",f0.1))') &
+ '# absfit sign test (total/expected, RA+, Dec+): ',&
+ ndat,ndat/2.0,nra,sqrt(nra*0.25),ndec,sqrt(ndec*0.25)
+ write(error_unit,'(a,en12.2,en13.3,f8.1,2f11.5,f5.1)') &
"# absfit final:",mad,sc,rot,acen,dcen,refl
end if
diff -Nru munipack-0.5.9/astrometry/astrofit.f95 munipack-0.5.10/astrometry/astrofit.f95
--- munipack-0.5.9/astrometry/astrofit.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/astrofit.f95 2018-01-16 17:58:03.000000000 +0000
@@ -33,8 +33,8 @@
contains
subroutine astrofit(fit,type,a,d,pma,pmd,x,y,sig,xsig,epoch,jd,xc,yc, &
- acen,dacen,dcen,ddcen,sc,dsc,refl,rms,rot,drot,ares,dres,id1_init,id2_init, &
- id1_final,id2_final,rmscheck,verb,pl)
+ acen,dacen,dcen,ddcen,sc,dsc,refl,rms,rot,drot,ares,dres, &
+ id1_init,id2_init,id1_final,id2_final,rmscheck,verb,pl)
use absfit
use robfit
@@ -53,7 +53,7 @@
real(dbl), dimension(:), allocatable, intent(out) :: ares, dres
integer, dimension(:), intent(in) :: id1_init,id2_init
integer, dimension(:), allocatable, intent(out) :: id1_final,id2_final
- real(dbl), dimension(:), allocatable :: alpha,delta, xstar, ystar, u, v,xx,yy
+ real(dbl), dimension(:), allocatable :: alpha,delta,xstar,ystar,u,v,xx,yy
integer, dimension(:), allocatable :: id1, id2
type(AstroTrafoProj) :: t
@@ -66,11 +66,12 @@
plog = pl
! check dimensions
- if( size(a) /= size(d) ) stop 'Astrofit: alpha and delta sizes does not corresponds.'
- if( size(x) /= size(y) ) stop 'Astrofit: xstar and ystar sizes does not corresponds.'
+ if( size(a) /= size(d) ) &
+ stop 'Astrofit: alpha and delta sizes does not corresponds.'
+ if( size(x) /= size(y) ) &
+ stop 'Astrofit: xstar and ystar sizes does not corresponds.'
! check stars > 1 ???
-
if( .not. (size(id1_init) > 1) ) then
rms = huge(rms)
return
@@ -99,22 +100,28 @@
end do
! an intial estimate of scale, rotation and reflection
- call inestim(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc,rot,drot,refl,&
- xoff,dxoff,yoff,dyoff,verbose)
+ call inestim(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc, &
+ rot,drot,refl,xoff,dxoff,yoff,dyoff,verbose)
! initial robust estimation
- call absmin(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc,rot,drot,refl, &
- xoff,dxoff,yoff,dyoff,mad,verbose)
- if( plog ) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') "=AFIT> ",mad,sc,rot,acen,dcen
+ call absmin(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc, &
+ rot,drot,refl,xoff,dxoff,yoff,dyoff,mad,verbose)
+ if( plog ) &
+ write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') "=AFIT> ",mad,sc,rot,acen,dcen
! estimator of MAD
mad = max(mad,epsilon(1.0))
! Important note: a numerical precision of MAD should not be higher than
! precision of coordinates stored in FITS files - single real precision!
- if( debug ) &
- write(*,'(2(a,g0.3),a)') '# astrofit mad=',mad,' deg ',3600.0*mad,' arcsec'
-!stop
+ if( debug ) write(error_unit,'(2(a,g0.3),a)') &
+ '# astrofit mad=',mad,' deg ',3600.0*mad,' arcsec'
+
+! do i = 1,n
+! write(*,*) real(xstar(i)),real(ystar(i))
+! end do
+! stop
+
! select such much stars as possible for final fit
! goto 222
deallocate(alpha,delta,xstar,ystar)
@@ -123,8 +130,8 @@
! In fact, the limit xsig is limit of clipping of data.
dlim = xsig*max(sig/sc,mad)
! write(*,*) dlim,1.0/sc,mad
- call listmatch(type,a,d,pma,pmd,x,y,epoch,jd,acen,dcen,xc,yc,sc,rot,refl,dlim, &
- id1,id2,status)
+ call listmatch(type,a,d,pma,pmd,x,y,epoch,jd,acen,dcen,xc,yc,sc,&
+ rot,refl,dlim,id1,id2,status)
n = size(id1)
if( n < 1 .or. size(id1) /= size(id2) ) stop 'n < 1'
allocate(alpha(n),delta(n),xstar(n),ystar(n))
@@ -133,10 +140,12 @@
call propercoo(jd,epoch,a(j),d(j),pma(j),pmd(j),alpha(i),delta(i))
xstar(i) = x(id2(i))
ystar(i) = y(id2(i))
+! write(*,*) real(xstar(i)),real(ystar(i))
end do
!222 continue
- if( debug ) write(*,'(a,i0)') '# astrofit stars to fit: ',n
+ if( debug ) &
+ write(error_unit,'(a,i0)') '# astrofit stars to fit: ',n
if( n > 5 ) then
@@ -144,7 +153,8 @@
call lsmin(type,alpha,delta,xc,yc,refl,xstar,ystar, &
acen,dacen,dcen,ddcen,sc,dsc,rot,drot,rms,verbose)
- if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') "=LSFIT> ",rms,sc,rot,acen,dcen
+ if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') &
+ "=LSFIT> ",rms,sc,rot,acen,dcen
else ! if( fit == 'ROBUST' ) then
@@ -153,7 +163,11 @@
call robmin(type,alpha,delta,xc,yc,refl,xstar,ystar,mad,&
acen,dacen,dcen,ddcen,sc,dsc,rot,drot,rms,verbose,reliable)
- if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') "=RFIT> ",rms,sc,rot,acen,dcen
+ if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') &
+ "=RFIT> ",rms,sc,rot,acen,dcen
+
+ if( .not. reliable ) &
+ write(error_unit,*) 'Warning: Reliability test failed.'
end if
@@ -161,11 +175,12 @@
! call lfit(type,alpha,delta,xstar,ystar, &
! xc,yc,acen,dacen,dcen,ddcen,sc,dsc,rms,pa,dpa)
- call absmin(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc,rot,drot,refl,&
- 0.0_dbl,0.0_dbl,0.0_dbl,0.0_dbl,rms,verbose)
+ call absmin(type,alpha,delta,xc,yc,xstar,ystar,acen,dcen,sc,dsc, &
+ rot,drot,refl,0.0_dbl,0.0_dbl,0.0_dbl,0.0_dbl,rms,verbose)
rms = mad
- if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') "=AFIT> ",rms,sc,rot,acen,dcen
+ if(plog) write(*,'(a,en12.3,en13.3,f8.1,2f14.5)') &
+ "=AFIT> ",rms,sc,rot,acen,dcen
else
@@ -175,7 +190,6 @@
end if
-
if( (rmscheck .and. rms*sc < xsig*sig ) .or. .not. rmscheck ) then
! residuals
@@ -195,11 +209,13 @@
else
allocate(id1_final(0),id2_final(0))
if(debug) then
- write(*,*) 'rms*scale < xsig*sig: ',rms*sc,xsig*sig
- write(*,*)
- write(*,*) 'Most common occurrences:'
- write(*,*) ' * crowded field misidentifying: increase --minmatch 6 (or more)'
- write(*,*) ' * wide-field deformation: increase --sig or --sigcat'
+ write(error_unit,*) 'rms*scale < xsig*sig: ',rms*sc,xsig*sig
+ write(error_unit,*)
+ write(error_unit,*) 'Most common occurrences:'
+ write(error_unit,*) &
+ ' * crowded field mesh: increase --minmatch 6 (or more)'
+ write(error_unit,*) &
+ ' * wide-field deformation: increase --sig or --sigcat'
end if
end if
diff -Nru munipack-0.5.9/astrometry/astrofits.f95 munipack-0.5.10/astrometry/astrofits.f95
--- munipack-0.5.9/astrometry/astrofits.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/astrofits.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! astrofits - write WCS to FITS image & read star table
!
!
-! Copyright © 2011-3, 2015-6 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2011-3, 2015-7 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -33,21 +33,25 @@
contains
- subroutine readtable(filename, label_alpha, label_delta, label_pmalpha, label_pmdelta,&
- label_mag, key_epoch, alpha, delta, pmalpha, pmdelta, refflux, rframe, catid, &
- epoch,status)
-
- character(len=*), intent(in) :: filename, label_alpha, label_delta, label_pmalpha, &
- label_pmdelta, label_mag, key_epoch
- real(dbl), allocatable, dimension(:), intent(out) :: alpha, delta, pmalpha, pmdelta, refflux
+ subroutine readtable(filename, label_alpha, label_delta, label_pmalpha, &
+ label_pmdelta, label_mag, key_epoch, alpha, delta, pmalpha, pmdelta, &
+ refflux, rframe, catid, epoch,status)
+
+ character(len=*), intent(in) :: filename, label_alpha, label_delta, &
+ label_pmalpha, label_pmdelta, label_mag, key_epoch
+ real(dbl), allocatable, dimension(:), intent(out) :: alpha, delta, &
+ pmalpha, pmdelta, refflux
character(len=*), intent(out) :: rframe, catid
real(dbl), intent(out) :: epoch
integer, intent(out) :: status
- real(dbl), parameter :: nullval = 1e33
+ real(dbl), parameter :: nullcoo = 1e33, clim = 0.1*nullcoo
+ real(dbl), parameter :: nullmag = 99.999
+ real(dbl), parameter :: mag25 = 25
integer, parameter :: ncols = 5, frow = 1, felem = 1
integer, dimension(ncols) :: col, statuses
- integer :: nrows,i
+ real(dbl), allocatable, dimension(:) :: ra,dec,pmra,pmdec,mag
+ integer :: nrows,i,nr,n
logical :: anyf
character(len=FLEN_CARD) :: buf
character(len=FLEN_VALUE), dimension(ncols) :: label,colname
@@ -80,56 +84,77 @@
end if
! find columns by labels
+ statuses = 0
do i = 1, ncols
colname(i) = ''
- call ftgcnn(15,.false.,label(i),colname(i),col(i),status)
- statuses(i) = status
- if( (i == 1 .or. i == 2) .and. status /= 0 ) goto 666
+ if( label(i) /= '' ) then
+ call ftgcnn(15,.false.,label(i),colname(i),col(i),statuses(i))
+ else
+ statuses(i) = -1
+ end if
end do
- status = 0
+ if( any(statuses(1:2) /= 0) ) then
+ write(error_unit,*) &
+ 'Right Ascension and Declination columns are mandatory.'
+ status = maxval(statuses(1:2))
+ goto 666
+ end if
if( nrows > 0 ) then
- if( statuses(1) == 0 .and. statuses(2) == 0) then
- allocate(alpha(nrows),delta(nrows))
- call ftgcvd(15,col(1),frow,felem,nrows,nullval,alpha,anyf,status)
- call ftgcvd(15,col(2),frow,felem,nrows,nullval,delta,anyf,status)
- else
- goto 666
- end if
+ allocate(ra(nrows),dec(nrows),pmra(nrows),pmdec(nrows),mag(nrows))
- allocate(pmalpha(nrows),pmdelta(nrows))
- pmalpha = 0.0_dbl
- pmdelta = 0.0_dbl
- if( statuses(3) == 0 .and. statuses(4) == 0) then
- call ftgcvd(15,col(3),frow,felem,nrows,nullval,pmalpha,anyf,status)
- call ftgcvd(15,col(4),frow,felem,nrows,nullval,pmdelta,anyf,status)
- if( status == 0 ) then
- where( abs(pmalpha) < 0.1*nullval )
- pmalpha = pmalpha / 3.6e6_dbl ! supposing mas/year
- elsewhere
- pmalpha = 0.0_dbl
- end where
- where( abs(pmdelta) < 0.1*nullval )
- pmdelta = pmdelta / 3.6e6_dbl
- elsewhere
- pmdelta = 0.0_dbl
- end where
- end if
- end if
+ ! coordinates
+ call ftgcvd(15,col(1),frow,felem,nrows,nullcoo,ra,anyf,status)
+ call ftgcvd(15,col(2),frow,felem,nrows,nullcoo,dec,anyf,status)
+ if( status /= 0 ) goto 666
- allocate(refflux(nrows))
- if( statuses(5) == 0 ) &
- call ftgcvd(15,col(5),frow,felem,nrows,nullval,refflux,anyf,status)
+ ! proper motion
+ if( all(statuses(3:4) == 0) ) then
+ call ftgcvd(15,col(3),frow,felem,nrows,nullcoo,pmra,anyf,status)
+ call ftgcvd(15,col(4),frow,felem,nrows,nullcoo,pmdec,anyf,status)
+ if( status /= 0 ) goto 666
+ where( abs(pmra) < clim )
+ pmra = pmra / 3.6e6_dbl ! supposing mas/year
+ elsewhere
+ pmra = 0.0_dbl
+ end where
+ where( abs(pmdec) < clim )
+ pmdec = pmdec / 3.6e6_dbl
+ elsewhere
+ pmdec = 0.0_dbl
+ end where
+ else
+ pmra = 0.0_dbl
+ pmdec = 0.0_dbl
+ end if
- if( status == 0 ) then
- refflux = 10.0**((25.0 - refflux)/2.5)
+ ! magnitudes
+ if( statuses(5) == 0 ) then
+ call ftgcvd(15,col(5),frow,felem,nrows,nullmag,mag,anyf,status)
+ if( status /= 0 ) goto 666
else
- refflux = 1.0
+ mag = mag25
end if
end if
+ nr = min(count(abs(ra) < clim), count(abs(dec) < clim), count(mag < 99))
+ allocate(alpha(nr),delta(nr),pmalpha(nr),pmdelta(nr),refflux(nr))
+
+ n = 0
+ do i = 1, nrows
+ if( abs(ra(i)) < clim .and. abs(dec(i)) < clim .and. mag(i) < 99 ) then
+ n = n + 1
+ alpha(n) = ra(i)
+ delta(n) = dec(i)
+ pmalpha(n) = pmra(i)
+ pmdelta(n) = pmdec(i)
+ refflux(n) = 10.0**((mag25 - mag(i))/2.5)
+ end if
+ end do
+ deallocate(ra,dec,pmra,pmdec,mag)
+
if( status /= 0 ) goto 666
call ftclos(15,status)
@@ -137,18 +162,15 @@
666 continue
- if( allocated(alpha) ) deallocate(alpha,delta)
- if( allocated(pmalpha) ) deallocate(pmalpha,pmdelta)
- if( allocated(refflux) ) deallocate(refflux)
-
- call ftclos(15,status)
+ if( allocated(ra) ) deallocate(ra,dec,pmra,pmdec,mag)
call ftrprt('STDERR',status)
+ call ftclos(15,status)
end subroutine readtable
- subroutine readfile(filename, key_dateobs, width, height, xcoo, ycoo, flux, crpix, jd, &
- crval, sc, pa, refl, status)
+ subroutine readfile(filename, key_dateobs, width, height, xcoo, ycoo, flux, &
+ crpix, jd, crval, sc, pa, refl, status)
use phio
@@ -197,7 +219,8 @@
else if( status == KEYWORD_NOT_FOUND ) then
status = 0
jd = 2451544.5_dbl
- write(error_unit,*) trim(filename),": Keyword `",trim(key_dateobs),"' not found. Set to J2000.0."
+ write(error_unit,*) trim(filename),": Keyword `",trim(key_dateobs), &
+ "' not found. Set to J2000.0."
else
goto 666
end if
@@ -218,7 +241,8 @@
! FIND extension
call ftmnhd(15,BINARY_TBL,FINDEXTNAME,extver,status)
if( status == BAD_HDU_NUM ) then
- write(error_unit,*) trim(FINDEXTNAME)//': extension not found. Coordinates of objects are not available yet.'
+ write(error_unit,*) trim(FINDEXTNAME)// &
+ ': extension not found. Coordinates of objects are not available.'
goto 666
end if
call ftgnrw(15,nrows,status)
@@ -238,7 +262,8 @@
call ftmnhd(15,BINARY_TBL,APEREXTNAME,extver,status)
if( status == BAD_HDU_NUM ) then
status = 0
- ! aperture photometry is not available, no problem, we are continuing moreover
+ ! aperture photometry is not available, no problem,
+ ! we are continuing still and all
ns = size(x)
allocate(xcoo(ns),ycoo(ns),flux(ns))
xcoo = x
@@ -246,12 +271,12 @@
flux = 1.0
else if( status == 0 ) then
! aperture photometry is available, we can use photometry informations
- ! to improve robustness
+ ! to improve reliability
call ftgcnn(15,.false.,trim(FITS_COL_APCOUNT)//"1",colname1,col1,status)
allocate(cts(nrows))
call ftgcvd(15,col1,frow,felem,size(cts),nullval,cts,anyf,status)
- ! we selecting stars with valid photometry only
+ ! we're selecting stars with valid photometry only
ns = count(cts > 0.0)
allocate(xcoo(ns),ycoo(ns),flux(ns))
ns = 0
@@ -270,7 +295,6 @@
call ftclos(15,status)
deallocate(x,y)
-
return
666 continue
@@ -291,19 +315,21 @@
real(dbl), intent(out) :: jd
integer, intent(out) :: status
- real(dbl) :: w, h, sc, pa, refl
+ real(dbl) :: w, h, sc, rot, refl
real(dbl), allocatable, dimension(:) :: x,y
real(dbl), dimension(2) :: crpix,crval
type(AstroTrafoProj) :: t
- call readfile(filename,key_dateobs,w,h,x,y,rflux,crpix,jd,crval,sc,pa,refl,status)
+ call readfile(filename,key_dateobs,w,h,x,y,rflux,crpix,jd,crval,&
+ sc,rot,refl,status)
if( status == 0 .and. crval(1) > -666.0 .and. allocated(x) ) then
allocate(alpha(size(x)),delta(size(x)))
- call trafo_init(t,"GNOMONIC",crval(1),crval(2),crpix(1),crpix(2),sc,pa,refl)
+ call trafo_init(t,"GNOMONIC",crval(1),crval(2),crpix(1),crpix(2),&
+ scale=sc,rot=rot,refl=refl)
call invtrafo(t,x,y,alpha,delta)
deallocate(x,y)
@@ -315,7 +341,8 @@
!-----------------------------------------------------------------------------
- subroutine wcsupdate(file,type,crval,sc,pa,dpa,fcrpix,crpixels,refl,rms,com,status)
+ subroutine wcsupdate(file,type,crval,sc,pa,dpa,fcrpix,crpixels,refl,rms,&
+ com,status)
use astrotrafo
@@ -373,8 +400,10 @@
call ftukys(15,FITS_KEY_CREATOR,FITS_VALUE_CREATOR,FITS_COM_CREATOR,status)
if( type == "GNOMONIC" )then
- call FTUKYS(15,'CTYPE1','RA---TAN','the coordinate type for the first axis',status)
- call FTUKYS(15,'CTYPE2','DEC--TAN','the coordinate type for the second axis',status)
+ call FTUKYS(15,'CTYPE1', &
+ 'RA---TAN','the coordinate type for the first axis',status)
+ call FTUKYS(15,'CTYPE2', &
+ 'DEC--TAN','the coordinate type for the second axis',status)
else if( type == " " ) then
call ftpmrk
do i = 1,size(keys)
@@ -427,7 +456,8 @@
end do
! no fitting
- if( size(com) < 1 ) call ftpcom(15,"Astrometry calibration provided by user.",status)
+ if( size(com) < 1 ) &
+ call ftpcom(15,"Astrometry calibration provided by user.",status)
call ftpcom(15,MUNIPACK_VERSION,status)
call ftpcom(15,END_ASTROMETRY,status)
diff -Nru munipack-0.5.9/astrometry/astromatch.f95 munipack-0.5.10/astrometry/astromatch.f95
--- munipack-0.5.9/astrometry/astromatch.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/astromatch.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! astromatch - matching engine
!
!
-! Copyright © 2011-5 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2011-5, 2017 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -10,21 +10,27 @@
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
-!
+!
! Munipack is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
-!
+!
! You should have received a copy of the GNU General Public License
! along with Munipack. If not, see .
!
module astromatcher
-
+
+ use iso_fortran_env
+
implicit none
-
+
integer, parameter, private :: dbl = selected_real_kind(15)
+
+ ! maximal number of loop over frame stars
+ integer, parameter, private :: maxloop = 3
+
character(len=80), private :: ptype
real(dbl), dimension(:), pointer, private :: astar,dstar,xstar,ystar
logical, private :: verbose, plog
@@ -32,24 +38,26 @@
contains
- subroutine astromatch(minmatch,maxmatch,type,a,d,pma,pmd,rflux,xx,yy,flux,ac,dc,xc,yc,&
- id1,id2,sig1,sig2,fsig,fluxtest,epoch,jd,fullmatch,verb,pl,status)
+ subroutine astromatch(minmatch,maxmatch,type,a,d,pma,pmd,rflux, &
+ xx,yy,flux,ac,dc,xc,yc,id1,id2,sig1,sig2,fsig,fluxtest, &
+ epoch,jd,fullmatch,luckymatch,verb,pl,status)
use astrotrafo
use matcher
-
- integer, intent(in) :: minmatch, maxmatch
+
+ integer, intent(in) :: minmatch, maxmatch, luckymatch
logical, intent(in) :: fullmatch,verb, pl, fluxtest
character(len=*), intent(in) :: type
real(dbl), intent(in) :: ac,dc,xc,yc,sig1,sig2,fsig,epoch,jd
- real(dbl), dimension(:), intent(in), target :: a, d, pma, pmd, xx, yy, flux, rflux
+ real(dbl), dimension(:), intent(in), target :: a, d, pma, pmd, xx, yy, &
+ flux, rflux
integer, dimension(:), allocatable, intent(out) :: id1,id2
logical, intent(out) :: status
real(dbl), dimension(:), allocatable :: u,v,x,y
type(AstroTrafoProj) :: t
real(dbl) :: dt
- integer :: n1,n2,l,n
+ integer :: n1,n2,l,n,k,m
status = .false.
@@ -65,6 +73,8 @@
xcen = xc
ycen = yc
+ if(verbose) write(error_unit,*) "=== Matching ==="
+
n1 = size(a)
n2 = size(xx)
allocate(x(n2),y(n2),u(n1),v(n1))
@@ -77,43 +87,54 @@
call trafo_init(t,type,ac,dc)
call proj(t,a+dt*pma,d+dt*pmd,u,v)
- n2 = min(maxmatch,size(x))
- l = 1
-
- do n = 1, size(u)/maxmatch + 1
- n1 = min(maxmatch,size(u)-l) - 1
- if(verbose) then
- write(*,*) "Selecting catalogue stars in rank:",l,l+n1
- write(*,*) "Matching... #: {seq1} -> {seq2} | scale,r: sq.(angle, scale, flux) < Xi2(0.95)"
- end if
- call match(u(l:l+n1),v(l:l+n1),rflux(l:l+n1),x(1:n2),y(1:n2),flux(1:n2), &
- minmatch,maxmatch,sig1,sig2,fsig,fluxtest,id1,id2,&
- fullmatch,matchprint,progress2,status)
- if( status ) then
- id1 = l + id1 - 1
- exit
- end if
- l = l + maxmatch
+ if( verbose ) then
+ write(error_unit,'(2(a,i0),a)') " Matching of ",size(u), &
+ " reference stars against to ",size(x)," frame stars:"
+ write(error_unit,*) &
+ "#: {seq1} -> {seq2} | scale,r: sq.(angle, scale, flux) < Xi2(0.95)"
+ end if
+
+ k = 1
+ do m = 1, min(size(x)/maxmatch + 1, maxloop)
+ n2 = min(maxmatch,size(x)-k) - 1
+ l = 1
+ do n = 1, size(u)/maxmatch + 1
+ n1 = min(maxmatch,size(u)-l) - 1
+ if(verbose) write(error_unit,'(2(2(a,i0),a))') &
+ " Reference stars in range ",l," -- ",l+n1,".", &
+ " Frame stars in range ",k," -- ",k+n2,"."
+ call match(u(l:l+n1),v(l:l+n1),rflux(l:l+n1), &
+ x(k:k+n2),y(k:k+n2),flux(k:k+n2), &
+ minmatch,maxmatch,sig1,sig2,fsig,fluxtest,id1,id2,&
+ fullmatch,luckymatch,matchprint,progress2,status)
+ if( status ) then
+ id1 = l + id1 - 1
+ id2 = k + id2 - 1
+ goto 99
+ end if
+ l = l + maxmatch
+ end do
+ k = k + maxmatch
end do
-
+99 continue
+
deallocate(u,v,x,y)
end subroutine astromatch
- subroutine matchprint(id1,id2,c,t,a,d,r,q)
+ subroutine matchprint(id1,id2,c,t,a,d,f,q)
use matcher
-
+
integer, dimension(:), intent(in) :: id1,id2
- real(dbl), intent(in) :: c,t,a,d,r,q
+ real(dbl), intent(in) :: c,t,a,d,f,q
real(dbl), dimension(size(id1)) :: u,v
integer :: i,n
real(dbl) :: d3
character(len=80) :: fmt
-
if( size(id1) /= size(id2) ) stop 'Astromatch size(id1) /= size(id2)'
n = size(id2)
@@ -121,8 +142,8 @@
if( verbose ) then
write(fmt,"(a,i0,a,i0,a)") "(i0,a,",n,"(1x,i0),a,",n, &
- "(1x,i0),a,f0.1,2x,f0.2,a,3(2x,g0.3),a,f0.1)"
- write(*,fmt) n,":",id1,' -> ',id2,' | ',c,t,': ',a,d,r,' < ',q
+ "(1x,i0),a,f0.1,2x,g0.2,a,3(2x,g0.3),a,f0.1)"
+ write(error_unit,fmt) n,":",id1,' -> ',id2,' | ',c,t,': ',a,d,f,' < ',q
end if
@@ -134,9 +155,10 @@
write(*,fmt) "=M> ",n,(xstar(id2(i)),ystar(id2(i)),i=1,n),a,d
do i = 3,n
- call triangle(xstar(i-2),ystar(i-2),xstar(i-1),ystar(i-1),xstar(i),ystar(i),d3,u(i),v(i))
+ call triangle(xstar(i-2),ystar(i-2),xstar(i-1), &
+ ystar(i-1),xstar(i),ystar(i),d3,u(i),v(i))
end do
-
+
write(fmt,"(a,i0,a)") "(a,i0,",2*(n-2),"(1x,f0.3))"
write(*,fmt) "=MUV> ",n-2,(u(i),v(i),i=3,n)
end if
@@ -156,11 +178,12 @@
character(len=80) :: fmt,fm
real(dbl), dimension(:), allocatable :: u,v
integer :: n,m,i,i1,i2,i3
- real(dbl) :: ac,dc,sc,dsc,rot,drot,rms,amin,dmin,fmin,d3,refl,xoff,yoff,dxoff,dyoff
+ real(dbl) :: ac,dc,sc,dsc,rot,drot,rms,amin,dmin,fmin,d3,refl, &
+ xoff,yoff,dxoff,dyoff
real(dbl), dimension(:), allocatable :: alpha,delta,x,y
if( .not. plog ) return
-
+
if( present(id2) ) then
n = size(id2)
@@ -177,16 +200,17 @@
x(i) = xstar(i2)
y(i) = ystar(i2)
end do
-
+
ac = acen
dc = dcen
- call inestim(ptype,alpha,delta,xcen,ycen,x,y,ac,dc,sc,dsc,rot,drot,refl, &
- xoff,yoff,dxoff,dyoff,verbose)
- call absmin(ptype,alpha,delta,xcen,ycen,x,y,ac,dc,sc,dsc,rot,drot,refl, &
+ call inestim(ptype,alpha,delta,xcen,ycen,x,y,ac,dc,sc,dsc,rot,drot, &
+ refl,xoff,yoff,dxoff,dyoff,verbose)
+ call absmin(ptype,alpha,delta,xcen,ycen,x,y,ac,dc,sc,dsc,rot,drot,refl,&
0.0_dbl,0.0_dbl,0.0_dbl,0.0_dbl,rms,.false.)
deallocate(alpha,delta,x,y)
- write(*,'(a,en15.3,en25.15,en25.15,4en25.15)') "=MFIT> ",rms,sc,rot,ac,dc,xcen,ycen
+ write(*,'(a,en15.3,en25.15,en25.15,4en25.15)') &
+ "=MFIT> ",rms,sc,rot,ac,dc,xcen,ycen
if( xdmin < 0.1*huge(xdmin) ) then
amin = xamin
@@ -197,12 +221,13 @@
amin = -1.0
fmin = -1.0
end if
-
+
do i = 3,n
i1 = id2(i)
i2 = id2(i - 1)
i3 = id2(i - 2)
- call triangle(xstar(i3),ystar(i3),xstar(i2),ystar(i2),xstar(i1),ystar(i1),d3,u(i),v(i))
+ call triangle(xstar(i3),ystar(i3),xstar(i2),ystar(i2), &
+ xstar(i1),ystar(i1),d3,u(i),v(i))
end do
write(fmt,"(a,i0,a,i0,a)") "(a,3(1x,g0.7),1x,i0,",2*n,"(1x,f0.3),1x,i0,"
@@ -210,8 +235,8 @@
write(fm,'(i0,a)') 2*(n-2),"(1x,f0.3))"
fmt = trim(fmt)//fm
- write(*,fmt) "=MPROGRES2> ",amin,dmin,fmin,n,(xstar(id2(i)),ystar(id2(i)),i=1,n), &
- m,(u(i),v(i),i=3,n)
+ write(*,fmt) "=MPROGRES2> ",amin,dmin,fmin,n, &
+ (xstar(id2(i)),ystar(id2(i)),i=1,n),m,(u(i),v(i),i=3,n)
deallocate(u,v)
else
@@ -236,7 +261,7 @@
allocate(hist(nhist,nhist))
hist = 0
- ! the number of triangles is limited due faster user response
+ ! the number of triangles is limited to enable an acceptable user response
c = max(size(x)/137,1)
do i = 1, size(x) - 2,c
@@ -259,4 +284,3 @@
end subroutine uvhist
end module astromatcher
-
diff -Nru munipack-0.5.9/astrometry/astrometry.f95 munipack-0.5.10/astrometry/astrometry.f95
--- munipack-0.5.9/astrometry/astrometry.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/astrometry.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! astrometry
!
!
-! Copyright © 2011-6 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2011-7 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -24,6 +24,7 @@
!
! * add all WCS related projections
! * add catalogue/reference matching identifier
+! * add correlation matching by FFT with help of artificial
!
! testing:
! * improve high-precision algorithm to fit all parameters simulatenously
@@ -63,8 +64,8 @@
mode = 'MATCH'
character(len=FLEN_VALUE) :: rframe = '', idcat = '', key_epoch = 'EPOCH', &
key_dateobs = 'DATE-OBS'
- real(dbl), allocatable, dimension(:) :: alpha,delta,pmalpha,pmdelta,x,y,ares,dres, &
- flux, rflux
+ real(dbl), allocatable, dimension(:) :: alpha,delta,pmalpha,pmdelta,x,y, &
+ ares,dres,flux, rflux
integer, allocatable, dimension(:) :: id1,id2
integer, allocatable, dimension(:) :: i1,i2
character(len=FLEN_COMMENT), allocatable, dimension(:) :: com
@@ -72,13 +73,15 @@
dcrval, xcrpix, xcrval
real(dbl) :: tepoch,jd,scale = 1.0_dbl,dscale = epsilon(1.0_dbl), &
angle = 0.0_dbl, dangle=epsilon(1.0_dbl), rms=0.0_dbl,a,da,b,db,s,ds,&
- w,h,sm,refl=1.0_dbl
+ w,h,density,sm,refl=1.0_dbl
real(dbl) :: sig2 = 1.0, sig1= 1.0/3600.0, xsig = 3.0, fsig = -1
integer :: eq,n,status,nseq,ncom
integer :: minmatch = 5, maxmatch = 33
+ integer :: luckymatch = 3
logical :: fcrpix = .false., fcrval = .false., reflex = .false. ,&
- initpar = .true., matched = .false., rmscheck = .true., fluxtest = .true., &
- verbose = .false., wcssave = .true., plog = .false., fullmatch = .true.
+ initpar = .true., matched = .false., rmscheck = .true., &
+ fluxtest = .true., verbose = .false., wcssave = .true., &
+ plog = .false., fullmatch = .false., init_match = .false.
n = 0
ncom = 0
@@ -172,15 +175,23 @@
else if( key == 'MINMATCH' ) then
read(val,*) minmatch
+ init_match = .true.
else if( key == 'MAXMATCH' ) then
read(val,*) maxmatch
+ init_match = .true.
else if( key == 'FULLMATCH' ) then
read(val,*) fullmatch
+ else if( key == 'LUCKYMATCH' ) then
+
+ read(val,*) luckymatch
+
+ if( luckymatch < 0 ) stop 'Lucky match requires one or more stars.'
+
else if( key == 'RMSCHECK' ) then
read(val,*) rmscheck
@@ -305,9 +316,10 @@
if( plog ) write(*,'(a)') "=ASTROMETRY> Start `"//trim(filename)//"'."
status = 0
- call readfile(filename,key_dateobs,w,h,x,y,flux,crpix,jd,zcrval,scale,angle,refl,status)
+ call readfile(filename,key_dateobs,w,h,x,y,flux,crpix,jd,zcrval,scale, &
+ angle,refl,status)
if( status /= 0 ) then
- write(error_unit,*) "Failed to open the file: `"//trim(filename)//"'"
+ write(error_unit,*) "Error: Failed to open `" //trim(filename)//"'"
goto 77
end if
@@ -320,10 +332,27 @@
call uvhist(x,y)
end if
- call astromatch(minmatch,maxmatch,type,alpha,delta,pmalpha,pmdelta,rflux, &
- x,y,flux,crval(1),crval(2),crpix(1),crpix(2),id1,id2,sig1,sig2,fsig,&
- fluxtest,tepoch,jd,fullmatch,verbose,plog,matched)
- !write(*,'(a,f10.7)') "=MATCH> End ",like
+ ! crowded field check, update parameters
+ if( .not. init_match ) then
+ density = size(x) / (w*h) ! stars per sq. pixel
+ if( density > 5e-4 ) then
+ minmatch = 6
+ maxmatch = 36
+ else
+ minmatch = 5
+ maxmatch = 33
+ end if
+ if(verbose) &
+ write(error_unit,'(2(a,i0),a)') &
+ ' Match parameters updated: minmatch=', &
+ minmatch,', maxmatch=',maxmatch,'.'
+ end if
+
+ call astromatch(minmatch,maxmatch,type,alpha,delta,pmalpha,pmdelta, &
+ rflux,x,y,flux,crval(1),crval(2),crpix(1),crpix(2),id1,id2, &
+ sig1,sig2,fsig,fluxtest,tepoch,jd,fullmatch,luckymatch,&
+ verbose,plog,matched)
+! write(*,'(a,f10.7)') "=MATCH> End "
else if( mode == 'SEQUENCE' ) then
@@ -341,18 +370,18 @@
if( .not. matched ) then
if(plog) write(*,'(a)') "=ASTROMATCH> Finish Fail"
- write(*,'(a)') "=C> Mutual match for files `"//trim(filename)//"' and `"// &
- trim(cat)//trim(ref)//trim(rel)//"' failed."
-! write(*,'(a,f6.3,a,f6.3,a)') "=C> (probability under limit: probability =", &
-! like,' < validity=',0.5,")"
+ write(error_unit,'(7a)') "Warning: Mutual match for files `", &
+ trim(filename),"' and `",trim(cat),trim(ref),trim(rel), &
+ "' failed. No common stars found."
else
if( plog ) write(*,'(a)') "=ASTROMATCH> Finish Success"
if( plog ) write(*,'(a)') "=ASTROFIT> Start"
-! if( verbose ) write(*,'(a)') "=> Fitting ..."
+ ! if( verbose ) write(*,'(a)') "=> Fitting ..."
call astrofit(fit,type,alpha,delta,pmalpha,pmdelta,x,y,sig2,xsig,&
- tepoch,jd,crpix(1),crpix(2),crval(1),dcrval(1),crval(2),dcrval(2), &
- scale,dscale,refl,rms,angle,dangle,ares,dres,id1,id2,i1,i2,rmscheck,verbose,plog)
+ tepoch,jd,crpix(1),crpix(2),crval(1),dcrval(1),crval(2),dcrval(2),&
+ scale,dscale,refl,rms,angle,dangle,ares,dres,id1,id2,i1,i2, &
+ rmscheck,verbose,plog)
! use a return flag instead ?
if( size(i1) > 0 ) then
@@ -426,17 +455,17 @@
end if
write(com(7),'(a,f12.7,a,es7.1)') "cos(angle) = ",a," +- ",da
write(com(8),'(a,f12.7,a,es7.1)') "sin(angle) = ",b," +- ",db
- write(com(9),'(a,l5)') "Reflexion = ", reflex
+ write(com(9),'(a,l5)') "Reflexion = ", refl < 0
write(com(10),'(a,f11.5,a,es7.1,a)') "Angle of rotation(angle) = ", &
angle," +- ",dangle," [deg]"
if( aunits == 'pix' ) then
- write(com(11), '(a,f12.7,a,es7.1)') "Alpha center projection (CRVAL1) = ", &
- crval(1)," +- ",dcrval(1)
- write(com(12),'(a,f12.7,a,es7.1)') "Delta center projection (CRVAL2) = ", &
- crval(2)," +- ",dcrval(2)
+ write(com(11), '(a,f12.7,a,es7.1)') &
+ "Alpha center projection (CRVAL1) = ",crval(1)," +- ",dcrval(1)
+ write(com(12),'(a,f12.7,a,es7.1)') &
+ "Delta center projection (CRVAL2) = ",crval(2)," +- ",dcrval(2)
else
- write(com(11),'(a,f12.7,a,es7.1,a)') "Alpha center projection (CRVAL1) = ",&
- crval(1)," +- ",dcrval(1)," [deg]"
+ write(com(11),'(a,f12.7,a,es7.1,a)') &
+ "Alpha center projection (CRVAL1) = ",crval(1)," +- ",dcrval(1)," [deg]"
write(com(12),'(a,f12.7,a,es7.1,a)') "Delta center projection (CRVAL2) = ",&
crval(2)," +- ",dcrval(2)," [deg]"
end if
@@ -463,8 +492,7 @@
end if
! if( plog ) write(*,'("=C> ",a)') (trim(com(n)),n=1,size(com))
- if( verbose ) write(*,'(a)') (trim(com(n)),n=1,size(com))
-
+ if( verbose ) write(error_unit,'(a)') (trim(com(n)),n=1,size(com))
if( wcssave ) then
if( plog ) write(*,'(a)') "=WCSSAVE> Start"
@@ -477,7 +505,8 @@
if( plog ) write(*,'(a)') "=WCSSAVE> Finish Success"
else
if( plog ) write(*,'(a)') "=WCSSAVE> Finish Fail"
- write(*,*) "Save of WCS failed: `"//trim(filename)//"' to `"//trim(outname)//"'."
+ write(error_unit,*) "Warning: Save of WCS failed: `" &
+ //trim(filename)//"' to `"//trim(outname)//"'."
end if
end if
@@ -486,7 +515,8 @@
else
- write(error_unit,'(a)') "=> Astrometry of `"//trim(filename)//"' failed."
+ write(error_unit,'(a)') "Warning: Astrometry of `" // &
+ trim(filename)//"' failed."
if( plog ) write(*,'(a)') "=ASTROFIT> Finish Fail"
end if
@@ -511,12 +541,13 @@
character(len=FLEN_FILENAME) :: outname
integer :: status
- if( verbose ) &
- write(error_unit,*) "Manual astrometry calibration of `"//trim(filename)//"'."
+ if( verbose ) write(error_unit,*) &
+ "Manual astrometry calibration of `"//trim(filename)//"'."
status = 0
call fitsback(filename,backup,output,.false.,outname,status)
- call wcsupdate(outname,type,crval,scale,angle,dangle,fcrpix,crpix,refl,rms,com,status)
+ call wcsupdate(outname,type,crval,scale,angle,dangle,fcrpix,crpix,refl,rms,&
+ com,status)
end subroutine mancal
@@ -529,8 +560,8 @@
character(len=FLEN_FILENAME) :: outname
integer :: status
- if( verbose ) &
- write(error_unit,*) "Removing astrometry calibration of `"//trim(filename)//"'."
+ if( verbose ) write(error_unit,*) &
+ "Removing astrometry calibration of `"//trim(filename)//"'."
status = 0
call fitsback(filename,backup,output,.false.,outname,status)
@@ -543,11 +574,9 @@
character(len=*), intent(in) :: rel
- call readfile(rel,key_dateobs,w,h,x,y,rflux,xcrpix,tepoch,xcrval,scale,angle,refl,status)
- if( status /= 0 ) then
- write(error_unit,*) "Failed to open reference frame:`"//trim(rel)//"'"
- stop 1
- end if
+ call readfile(rel,key_dateobs,w,h,x,y,rflux,xcrpix,tepoch,xcrval, &
+ scale,angle,refl,status)
+ if( status /= 0 ) stop 'Error: Opening of reference frame failed.'
type = ' '
xcrval = 0.0_dbl
@@ -568,10 +597,7 @@
character(len=*), intent(in) :: ref
call reffile(ref,key_dateobs,alpha,delta,rflux,tepoch,status)
- if( status /= 0 ) then
- write(error_unit,*) "Failed to open reference frame:`"//trim(ref)//"'"
- stop 1
- end if
+ if( status /= 0 ) stop 'Error: Opening of reference frame failed.'
if( initpar ) call init(alpha,delta,xcrval(1),xcrval(2))
allocate(pmalpha(size(alpha)),pmdelta(size(delta)))
@@ -586,10 +612,7 @@
call readtable(cat,col_ra,col_dec,col_pmra,col_pmdec,col_mag,&
key_epoch,alpha,delta,pmalpha,pmdelta,rflux,rframe,idcat,tepoch,status)
- if( status /= 0 ) then
- write(error_unit,*) "Catalogue: `"//trim(cat)//"'"
- stop "Failed to open the catalogue file."
- end if
+ if( status /= 0 ) stop "Failed to open the catalogue file."
if( initpar ) call init(alpha,delta,xcrval(1),xcrval(2))
end subroutine read_cat
@@ -618,14 +641,16 @@
write(*,*) ' Method for fitting: ',trim(fit)
write(*,*) ' Minimum stars for matching: ',minmatch
write(*,*) ' Maximum stars for matching: ',maxmatch
+ write(*,*) ' Number stars for lucky matching: ',luckymatch
write(*,*) ' Full match: ',fullmatch
write(*,*) ' Check fluxes: ',fluxtest
write(*,*) ' Check RMS: ',rmscheck
write(*,*) ' Save results: ',wcssave
- write(*,'(a,f0.1,a)') ' Mean uncertainty of centers stars on frame: ',sig2,' pix'
- write(*,'(a,f0.1,a)') ' Mean uncertainty of stars in catalogue: ',sig1*3600.0, &
- ' arcsec'
+ write(*,'(a,f0.1,a)') &
+ ' Mean uncertainty of centers stars on frame: ',sig2,' pix'
+ write(*,'(a,f0.1,a)') &
+ ' Mean uncertainty of stars in catalogue: ',sig1*3600.0,' arcsec'
write(*,'(a,g0.1,a)') ' Mean uncertainty of fluxes: ',1.0
end subroutine show_defaults
diff -Nru munipack-0.5.9/astrometry/estimator.f95 munipack-0.5.10/astrometry/estimator.f95
--- munipack-0.5.9/astrometry/estimator.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/estimator.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! absfit - fitting absolute deviations
!
!
-! Copyright © 2015 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2015, 2017 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -10,18 +10,20 @@
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
-!
+!
! Munipack is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
-!
+!
! You should have received a copy of the GNU General Public License
! along with Munipack. If not, see .
!
module estimator
-
+
+ use iso_fortran_env
+
implicit none
logical, private :: debug = .true.
@@ -32,8 +34,8 @@
contains
- subroutine inestim(type,a,d,xc,yc,xx,yy,acen,dcen,sc,dsc,rot,drot,refl,xoff,dxoff,&
- yoff,dyoff,verbose)
+ subroutine inestim(type,a,d,xc,yc,xx,yy,acen,dcen,sc,dsc,rot,drot,refl, &
+ xoff,dxoff,yoff,dyoff,verbose)
use astrotrafo
@@ -49,7 +51,7 @@
if( size(a) < 1 ) stop 'InEstim: no points available.'
- if(verbose) write(*,*) "=== Parameters estimation ==="
+ if(verbose) write(error_unit,*) "=== Parameters estimation ==="
debug = verbose
@@ -69,7 +71,7 @@
call erot(u,v,x,y,rot,drot)
! offset
- ! origin of rectangular coordinates is moved to center of frame
+ ! origin of rectangular coordinates is moved to center of frame
! because that's point the frame is rotated around
call trafo_init(t,xcen=xc,ycen=xc,scale=sc,rot=rot,refl=refl)
call invaffine(t,xx,yy,x,y)
@@ -90,7 +92,7 @@
integer :: i,j,n
real(dbl),dimension(:),allocatable :: cc
- real(dbl) :: d1,d2
+ real(dbl) :: d1,d2,e
allocate(cc(size(x)**2))
@@ -106,15 +108,16 @@
enddo
if( n > 1 ) then
- call rmean(cc(1:n),c,dc)
- else
+ call rmean(cc(1:n),c,e,dc)
+ else
c = 0.0_dbl
dc = 0.0_dbl
end if
deallocate(cc)
- if( debug ) write(*,'(a,2f10.1)') '# estim init scale [pix/deg]: ',1/c,dc/c**2
+ if( debug ) write(error_unit,'(a,f10.1,g10.2)') &
+ '# estim init scale [pix/deg]: ',1/c,dc/c**2
end subroutine escale
@@ -128,7 +131,7 @@
integer :: i,j,n
real(dbl),dimension(:),allocatable :: cc,cs
- real(dbl) :: d1,d2,x1,y1,x2,y2,c,s,dc,ds
+ real(dbl) :: d1,d2,x1,y1,x2,y2,c,s,dc,ds,e
n = size(x) - 1
allocate(cc(n),cs(n))
@@ -145,12 +148,12 @@
cc(i) = (x1*x2 + y1*y2)/(d1*d2)
! sin
cs(i) = (x1*y2 - x2*y1)/(d1*d2)
-! if(debug) write(*,'(a,6f12.5)') '# erot ',x(i),y(i),u(i),v(i),cc(i),cs(i)
+! if(debug)write(*,'(a,6f12.5)') '# erot ',x(i),y(i),u(i),v(i),cc(i),cs(i)
enddo
if( n > 1 ) then
- call rmean(cc,c,dc)
- call rmean(cs,s,ds)
+ call rmean(cc,c,e,dc)
+ call rmean(cs,s,e,ds)
f = rad * sign(atan2(abs(s),c),s)
if( abs(s) > 0 ) then
df = rad*sqrt(ds**2 + (c/s)**2*dc**2)
@@ -164,7 +167,8 @@
deallocate(cc,cs)
- if( debug ) write(*,'(a,2f8.3)') '# estim init angle [deg]: ',f,df
+ if( debug ) write(error_unit,'(a,f8.3,g10.2)') &
+ '# estim init angle [deg]: ',f,df
end subroutine erot
@@ -207,7 +211,7 @@
k = i + 2
f1 = angle(x(i),y(i),x(j),y(j),x(k),y(k))
f2 = angle(u(i),v(i),u(j),v(j),u(k),v(k))
-
+
if( f1*f2 >= 0 ) then
r(i) = 1
else
@@ -224,8 +228,8 @@
deallocate(r)
- if( debug ) write(*,'(a,f5.0)') '# estim init reflexion: ',refl
-
+ if( debug ) write(error_unit,'(a,f5.0)') '# estim init reflexion: ',refl
+
end subroutine ereflex
subroutine eoff(u,v,x,y,xoff,dxoff,yoff,dyoff)
@@ -238,6 +242,7 @@
integer :: i,n
real(dbl),dimension(:),allocatable :: du,dv
+ real(dbl) :: e
n = size(x)
allocate(du(n),dv(n))
@@ -249,8 +254,8 @@
end do
if( n > 1 ) then
- call rmean(du,xoff,dxoff)
- call rmean(dv,yoff,dyoff)
+ call rmean(du,xoff,e,dxoff)
+ call rmean(dv,yoff,e,dyoff)
else
xoff = 0.0_dbl
yoff = 0.0_dbl
@@ -260,8 +265,8 @@
deallocate(du,dv)
- if( debug ) write(*,'(a,4f12.5)') '# estim init offset [deg]: ', &
- xoff,yoff,dxoff,dyoff
+ if( debug ) write(error_unit,'(a,2f12.5,2g10.2)') &
+ '# estim init offset [deg]: ',xoff,yoff,dxoff,dyoff
end subroutine eoff
diff -Nru munipack-0.5.9/astrometry/Makefile.in munipack-0.5.10/astrometry/Makefile.in
--- munipack-0.5.9/astrometry/Makefile.in 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/astrometry/Makefile.in 2018-01-16 17:58:14.000000000 +0000
@@ -275,7 +275,6 @@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-develop = @develop@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
diff -Nru munipack-0.5.9/astrometry/match.f95 munipack-0.5.10/astrometry/match.f95
--- munipack-0.5.9/astrometry/match.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/match.f95 2018-01-16 17:58:03.000000000 +0000
@@ -2,7 +2,7 @@
! match finding of cross identification between two lists
! the core of the matching algorithm
!
-! Copyright © 2010 - 2015 F.Hroch (hroch@physics.muni.cz)
+! Copyright © 2010 - 2015, 2017 F.Hroch (hroch@physics.muni.cz)
!
! This file is part of Munipack.
!
@@ -10,12 +10,12 @@
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation, either version 3 of the License, or
! (at your option) any later version.
-!
+!
! Munipack is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! GNU General Public License for more details.
-!
+!
! You should have received a copy of the GNU General Public License
! along with Munipack. If not, see .
!
@@ -35,15 +35,17 @@
logical, private, dimension(:), allocatable :: idx1, idx2
real(rp), private, dimension(:), pointer :: x1,y1,x2,y2,f1,f2
real, private, dimension(:,:,:,:), allocatable :: tris1,tris2
- real(rp), private :: amin, dmin, fmin, tflux, scale
- real(rp), private :: sig1 = 1.0/3600.0, sig2 = 1.0, fsig = 1
- real(rp), private :: xsig = 2.0 ! Normal limit at 95%
- real(rp), private :: rsig = 3.8 ! Rayleigh limit at 95%
- real(rp), private :: fweight = 1 ! 1 .. use flux, 0.. don't use flux
+ real(rp), private :: amin, dmin, fmin, tflux, sflux, scale
+ real(rp), private :: sig1 = 1.0/3600.0 ! spherical coordinate limit [deg]
+ real(rp), private :: sig2 = 1.0 ! on chip coordinate limit [pix]
+ real(rp), private :: xsig = 2.0 ! Normal distribution limit at 95%
+ real(rp), private :: rsig = 3.8 ! Rayleigh distribution limit at 95%
+ real(rp), private :: fuse = 1 ! =1 .. use flux, =0.. don't use flux
+ real(rp), private :: fsig = 1 ! flux limit in sigmas
real(rp), private :: dtol1, dtol2, rtol1, rtol2
integer, private :: nseq, nid
integer, private :: minmatch = 5
- integer, private :: maxmatch = 50
+ integer, private :: maxmatch = 30
logical, private :: stopping = .false.
logical, private :: progres2 = .false.
@@ -55,7 +57,7 @@
contains
subroutine match(x_1,y_1,f_1,x_2,y_2,f_2,nm,mm,sigma1,sigma2,fsigma, &
- fluxtest,id_1,id_2,fullmatch,matchprint,progress2,status)
+ fluxtest,id_1,id_2,fullmatch,luckymatch,matchprint,progress2,status)
implicit none
@@ -78,11 +80,11 @@
real(rp), dimension(:), intent(in), target :: x_1,y_1,x_2,y_2,f_1,f_2
integer, dimension(:), allocatable, intent(out) :: id_1, id_2
logical, intent(in) :: fullmatch, fluxtest
- integer, intent(in) :: nm, mm
+ integer, intent(in) :: nm, mm, luckymatch
real(rp), intent(in) :: sigma1, sigma2, fsigma
logical, intent(out) :: status
integer :: i1,i2,j1,j2,ns,ntot
- real(rp) :: d1,d2,s,f,xlim
+ real(rp) :: d1,d2,f,xlim
status = .false.
@@ -96,16 +98,21 @@
if( size(x1) /= size(y1) .or. size(x2) /= size(y2) ) &
stop 'Match: Array dimensions does not matches.'
+ if( (.not. all(f1 > 0)) .or. (.not. all(f2 > 0)) ) &
+ stop 'Match: All fluxes must be > 0.'
+
if( nm > 0 ) minmatch = nm
if( mm > 0 ) maxmatch = mm
if( sigma1 > 0.0 ) sig1 = sigma1
if( sigma2 > 0.0 ) sig2 = sigma2
if( fsigma > 0 ) fsig = fsigma
- if( .not. fluxtest ) fweight = 0
+ if( .not. fluxtest ) fuse = 0
+
+ allocate(id1(maxmatch),id2(maxmatch),seq1(0),seq2(0), &
+ idx1(maxmatch),idx2(maxmatch), &
+ tris1(maxmatch,maxmatch,maxmatch,3),tris2(maxmatch,maxmatch,maxmatch,3))
- allocate(id1(maxmatch),id2(maxmatch),seq1(0),seq2(0),idx1(maxmatch),idx2(maxmatch))
- allocate(tris1(maxmatch,maxmatch,maxmatch,3),tris2(maxmatch,maxmatch,maxmatch,3))
tris1 = -1
tris2 = -1
@@ -156,10 +163,14 @@
if( .not. in_idx(seq2,id2(1:2)) .and. d2 > dtol2 ) then
! check fluxes, optionaly
- call mflux(f1(id1(1:nid)),f2(id2(1:nid)),tflux,s)
- f = fsq(tflux,fsig,f1(id1(1:nid)),f2(id2(1:nid)))
+ if( fuse > 0 ) then
+ call mflux(f1(id1(1:nid)),f2(id2(1:nid)),tflux,sflux)
+ f = fsq(tflux,fsig*sflux,f1(id1(1:nid)),f2(id2(1:nid)))
+ else
+ f = 0
+ end if
- if( f*fweight < xlim ) then
+ if( f*fuse < xlim ) then
! setup of coordinate scale and the mean flux ratio
scale = escale(x1,y1,id1(1:nid),x2,y2,id2(1:nid))
@@ -170,10 +181,14 @@
call seq(matchprint)
! show the longest sequence
- if( progres2 ) call progress2(ns,ntot,amin,dmin,fmin,seq1,seq2)
+ if( progres2 ) &
+ call progress2(ns,ntot,amin,dmin,fmin,seq1,seq2)
+
+ ! finish on first success attempt (luckymatch == 0),
+ ! or finish when results looks reliable (>0)
+ if( .not. fullmatch &
+ .and. nseq >= minmatch + luckymatch ) goto 666
- ! finish on first success attempt
- if( .not. fullmatch .and. nseq >= minmatch ) goto 666
end if
end if
end do
@@ -215,7 +230,7 @@
integer :: i,j,i1,i2,j1,j2,i0,j0,n1
real(rp) :: u1, v1, u2, v2, d1, d2, tol, &
- tol1, tol2, au, av, fres, sres, s, a, d, f, xlim
+ tol1, tol2, au, av, fres, sres, a, d, f, s, xlim, xlin
logical :: launch
if( stopping ) return
@@ -226,7 +241,8 @@
j1 = id2(n1)
j2 = id2(nid)
- xlim = qchi2(nid)
+ xlin = qchi2(nid)
+ xlim = qchi2(2)
launch = .false.
do i = 1, size(x1)
@@ -238,7 +254,7 @@
call triangle(x1(i1),y1(i1),x1(i2),y1(i2),x1(i),y1(i),d1,u1,v1)
tris1(i1,i2,i,:) = real((/u1,v1,d1/))
! counter = counter + 1
-
+
else
u1 = tris1(i1,i2,i,1)
v1 = tris1(i1,i2,i,2)
@@ -254,13 +270,18 @@
do j = 1, size(x2)
- fres = fsq(tflux,fsig,(/f1(i)/),(/f2(j)/))
+ if( fuse > 0 ) then
+ fres = fsq(tflux,fsig*sflux,(/f1(i)/),(/f2(j)/))
+ else
+ fres = 0
+ end if
+
+ if( idx2(j) .and. fres*fuse < xlim ) then
- if( idx2(j) .and. fres*fweight < xlim ) then
-
if( tris2(j1,j2,j,1) < 0.0 ) then
- call triangle(x2(j1),y2(j1),x2(j2),y2(j2),x2(j),y2(j),d2,u2,v2)
+ call triangle(x2(j1),y2(j1),x2(j2),y2(j2),x2(j),y2(j), &
+ d2,u2,v2)
tris2(j1,j2,j,:) = real((/u2,v2,d2/))
else
@@ -272,7 +293,7 @@
tol2 = sq2 * rtol2 / d2
if( d2 > dtol2 .and. v2 > (1 + tol2 - u2) ) then
-
+
tol = tol1 + tol2
au = abs(u1 - u2)
@@ -302,23 +323,32 @@
a = angels(x1,y1,id1(1:nid),x2,y2,id2(1:nid))
! dispersion of fluxes (optional)
- call mflux(f1(id1(1:nid)),f2(id2(1:nid)),tflux,s)
- f = fsq(tflux,s,f1(id1(1:nid)),f2(id2(1:nid)))
+ if( fuse > 0 ) then
+ call mflux(f1(id1(1:nid)),f2(id2(1:nid)),tflux,s)
+ f = fsq(tflux,fsig*s,f1(id1(1:nid)),f2(id2(1:nid)))
+ else
+ f = 0
+ end if
! head and tail of sequence on similarity of triangles
i0 = id1(1)
j0 = id2(1)
- call triangle(x1(i0),y1(i0),x1(i2),y1(i2),x1(i),y1(i),d1,u1,v1)
- call triangle(x2(j0),y2(j0),x2(j2),y2(j2),x2(j),y2(j),d2,u2,v2)
+ call triangle(x1(i0),y1(i0),x1(i2),y1(i2), &
+ x1(i),y1(i),d1,u1,v1)
+ call triangle(x2(j0),y2(j0),x2(j2),y2(j2), &
+ x2(j),y2(j),d2,u2,v2)
tol = sq2*(rtol1/d1 + rtol2/d2)
- if( a < xlim .and. d < xlim .and. f*fweight < xlim .and. &
- abs(u1 - u2) < tol .and. abs(v1 - v2) < tol ) then
+ if( a < xlin &
+ .and. d < xlin &
+ .and. f*fuse < xlin &
+ .and. abs(u1 - u2) < tol &
+ .and. abs(v1 - v2) < tol ) then
progres2 = .true.
- call matchprint(id1(1:nid),id2(1:nid),scale,tflux,a,d,f,xlim)
- if( nid >= nseq .and. &
- (amin > a .or. dmin > d .or. fmin > f) ) then
+ call matchprint(id1(1:nid),id2(1:nid),scale,tflux,&
+ a,d,f,xlin)
+ if( nid >= nseq ) then
nseq = nid
amin = a
dmin = d
@@ -334,14 +364,14 @@
nid = nid - 1
idx1(i) = .true.
idx2(j) = .true.
-
+
end if
end if
end if
end do ! j
end if
end if
- end do ! i
+ end do ! i
! none matching stars has been found,
! => next subroutine invocation will be stopped
@@ -447,13 +477,18 @@
function dsq(s,d1,d2,sig1,sig2)
real(rp) :: dsq
- real(rp), parameter :: sq2 = sqrt(2.0)
+ real(rp), parameter :: sq2 = sqrt(2.0_rp)
real(rp), intent(in) :: s
real(rp), dimension(:), intent(in) :: d1,d2
real(rp), intent(in) :: sig1,sig2
- real(rp), dimension(size(d1)) :: r
+ real(rp), dimension(size(d1)) :: r,dr
- r = (d2 - s*d1)/(sq2*sqrt((s*sig1)**2 + sig2**2))
+ dr = (s*sig1)**2 + sig2**2
+ where( dr > 0 )
+ r = (d2 - s*d1)/(sq2*sqrt(dr))
+ elsewhere
+ r = 1
+ end where
dsq = sum(r**2)
end function dsq
@@ -520,7 +555,7 @@
!
! |a1 - a2|
! ---------
- ! sig
+ ! sig
!
! where sig=sqrt(da1**2 + da2**2)
@@ -541,16 +576,16 @@
subroutine mflux(f1,f2,t,s)
! determines estimation of ratio and its error
- ! by arithmetical mean (non-robust)
+ ! by arithmetical mean (intentionally non-robust)
real(rp), dimension(:), intent(in) :: f1,f2
real(rp), intent(out) :: t,s
real(rp), dimension(size(f1)) :: r
- integer :: n
+ integer :: n
- n = size(f1)
- r = f1 / f2
+ n = size(r)
+ r = f1 / f2
t = sum(r)/n
s = sqrt(sum((r-t)**2)/(n-1))
@@ -559,21 +594,22 @@
function fsq(t,s,f1,f2)
- ! returns squares of residuals of
+ ! returns squares of residuals of
! (f1 - t* f2)**2 / sqrt(f1 + t**2*f2 + f2**2*s**2)**2
! suitable for test by chi2 statistics
!
- ! the last term of errors is due to t-error and
- ! generaly is induced by mechanims not connected
- ! on photon statistics (clouds, ..)
+ ! the last term of errors describes t noise and
+ ! generaly is due effects not directly connected
+ ! on photon statistics (clouds, background, ..)
real(rp) :: fsq
real(rp),intent(in) :: t,s
real(rp), dimension(:), intent(in) :: f1,f2
- real(rp), dimension(size(f1)) :: r
+ real(rp), dimension(size(f1)) :: dr,r2
- r = (f1 - t*f2)/sqrt(f1 + t**2*f2 + f2**2*s**2)
- fsq = sum(r**2)
+ dr = f1 + t**2*f2 + (f2*s)**2
+ r2 = (f1 - t*f2)**2
+ fsq = sum(r2 / dr)
end function fsq
@@ -609,7 +645,7 @@
! 0.95 1.645
! 0.99 2.326
! 0.999 3.090
- !
+ !
real :: qchi2
real, parameter :: u = 1.645
@@ -620,4 +656,3 @@
end function qchi2
end module matcher
-
diff -Nru munipack-0.5.9/astrometry/nearmatch.f95 munipack-0.5.10/astrometry/nearmatch.f95
--- munipack-0.5.9/astrometry/nearmatch.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/nearmatch.f95 2018-01-16 17:58:03.000000000 +0000
@@ -45,6 +45,7 @@
type(AstroTrafoProj) :: t
real(dbl) :: smin,smin0,s,dt
integer :: nsize,msize,n,i,j,idx
+ logical :: found
status = .false.
@@ -87,9 +88,24 @@
end do
if( idx > 0 ) then
- n = n + 1
- id1(n) = i
- id2(n) = idx
+ ! check whatever the star is already presented,
+ ! it will be ignored, because brighter ones are prefered
+ ! (and we are supposing flux-sorted lists).
+ found = .false.
+ do j = 1, n
+ if( idx == id2(j) ) then
+ found = .true.
+ goto 99
+ end if
+ end do
+99 continue
+
+ if( .not. found ) then
+ n = n + 1
+ id1(n) = i
+ id2(n) = idx
+ end if
+
! if( debug ) write(*,'(f10.3,2i5,2f15.2)') smin,i,idx,u(i)-x(idx),v(i)-y(idx)
diff -Nru munipack-0.5.9/astrometry/robfit.f95 munipack-0.5.10/astrometry/robfit.f95
--- munipack-0.5.9/astrometry/robfit.f95 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/astrometry/robfit.f95 2018-01-16 17:58:03.000000000 +0000
@@ -21,10 +21,13 @@
module robfit
+ use iso_fortran_env
+
implicit none
logical, private :: debug = .false.
logical, private :: analytic = .true.
+ logical, private :: rnewton = .false.
integer, parameter, private :: dbl = selected_real_kind(15)
real(dbl), parameter, private :: rad = 57.295779513082322865_dbl
real(dbl), dimension(:), allocatable, private :: uref,vref
@@ -32,11 +35,12 @@
real(dbl), private :: refl, xcen, ycen, sig
integer, private :: ndat
- private :: dres, minfun, fundif, funder, difjac, hessian_min
+ private :: dres, minfun, fundif, funder, difjac, difvec, hessian_min
contains
- subroutine robmin(type,a,d,xc,yc,rf,xx,yy,mad,acen,dacen,dcen,ddcen,sc,dsc,pa,dpa,rms,verbose,reliable)
+ subroutine robmin(type,a,d,xc,yc,rf,xx,yy,mad,acen,dacen,dcen,ddcen, &
+ sc,dsc,pa,dpa,rms,verbose,reliable)
! find proper transformation by robust mean squares
@@ -63,16 +67,17 @@
real(dbl),dimension(npar,npar) :: fjac,cov
real(dbl),dimension(:), allocatable :: du,dv,res
integer :: iter,i,j,info,nprint,ifault,nra,ndec
- real(dbl) :: s0,sum1,sum2,wx,wy,s,smin
+ real(dbl) :: s,smin
type(AstroTrafoProj) :: t,ti
- character(len=80), parameter :: fmt = '(2i2,es10.2,2f11.5,2g12.3,f10.1,f7.1)'
+ character(len=80), parameter :: fmt = &
+ '(2i2,es10.2,2f11.5,2g12.3,f10.1,f7.1)'
character(len=20) :: fmt1
logical :: reli
debug = verbose
reliable = .false.
- if(debug) write(*,*) '=== Robust fitting ==='
+ if(debug) write(error_unit,*) '=== Robust fitting ==='
rms = huge(rms)
refl = rf
@@ -85,7 +90,6 @@
if( .not. (ndat > npar) ) stop 'Robust fitting requires five stars > 5.'
if( mad < epsilon(mad) ) stop 'Robust fit needs mad > 0.'
- ! normalization
allocate(uref(ndat),vref(ndat),du(ndat),dv(ndat),res(2*ndat))
call trafo_init(t,type,acen,dcen)
@@ -101,67 +105,67 @@
dp(4) = 0.1 / rad
do iter = 1, precision(p)
- nprint = 0 ! or 1
! Update estimate of parameters by method without derivation
! Because there are no methods reliable for finding of roots
! in multidimensional case, we replaced root finding by minimizing.
pmin = p
call nelmin1(minfun,pmin,dp,smin,ifault)
- if( debug ) write(*,fmt) iter,ifault,sig,acen,dcen,p(1:2)/p(3),1/p(3),rad*p(4)
if( ifault == 0 ) then
p = pmin
- ! update estimate of dispersion by entropy
- call dres(p,res(1:ndat),res(ndat+1:2*ndat))
- s = sig
- call escale(res,s,reli)
- if( reli ) sig = s
+ ! update estimate of dispersion by entropy,
+ ! apllied only on the already iterated center of projection
+ if( iter > 1 ) then
+ call dres(p,res(1:ndat),res(ndat+1:2*ndat))
+ s = sig
+ call escale(res,s,reli)
+
+ ! accept only realiable estimates
+ if( reli .and. iter > 1 ) sig = s
+ end if
else
! what to do when nelmin fails?
- continue
+ if( iter > 1 ) then
+ reliable = .false.
+ exit
+ end if
end if
- if( analytic ) then
- call lmder2(funder,p,eps,nprint,info)
- else
- call lmdif2(fundif,p,eps,nprint,info)
- end if
- if( info == 0 ) stop 'Warning: robfit: Improper input parameters.'
- ! testing errors:
- ! if( info == 4 ? ) write(error_unit,*) 'No konvergence.'
+ if( debug ) write(error_unit,fmt) &
+ iter,ifault,sig,acen,dcen,p(1:2)/p(3),1/p(3),rad*p(4)
- ! residual sum
- call dres(p,du,dv)
- sum1 = 0.0_dbl
- sum2 = 0.0_dbl
- do i = 1, ndat
- wx = du(i)/sig
- wy = dv(i)/sig
- sum1 = sum1 + tukey(wx)**2 + tukey(wy)**2
- sum2 = sum2 + dtukey(wx) + dtukey(wy)
- enddo
-
- ! robust estimate of sum of squares in minimum
- if( sum1 > 0 .and. sum2 > 0 ) then
- s0 = sig**2*sum1/sum2**2*ndat**2
- rms = sqrt(s0 / (ndat - npar))
- else
- s0 = -1
- rms = -1
+ if( rnewton ) then
+ ! This code has origin in the gold good times, when
+ ! no divengence could have occured and the robust function
+ ! has been on base Huber's minimax(). There is no place
+ ! for the approach when some descending functions performs
+ ! estimates.
+
+ nprint = 0 ! or 1
+ if( analytic ) then
+ call lmder2(funder,p,eps,nprint,info)
+ else
+ call lmdif2(fundif,p,eps,nprint,info)
+ end if
+ if( info == 0 ) stop 'Warning: robfit: Improper input parameters.'
+ ! possible errors:
+ ! if( info == 4 ? ) write(error_unit,*) 'No convergence.'
+ if( debug ) write(error_unit,fmt) &
+ iter,info,sig,acen,dcen,p(1:2)/p(3),1/p(3),rad*p(4)
end if
- if( debug ) write(*,fmt) iter,info,sig,acen,dcen,p(1:2)/p(3),1/p(3),rad*p(4)
-
! finish when location parameters are appropriate small
! and iterations couldn't made further progress
- ! if( iter > 1 .and. all(abs(p(1:2)) < eps) ) exit
- ! the precision is better than 1/1000 of a pixel
- if( iter > 1 .and. all(abs(p(1:2)/p(3)) < 0.001) ) exit
+ ! the precision is set to be better than 1/1000 of a pixel
+ if( iter > 1 .and. all(abs(p(1:2)/p(3)) < 0.001) .and. ifault == 0 ) then
+ reliable = .true.
+ exit
+ end if
! update center of projection and projected coordinates
call trafo_init(ti,type,acen=acen,dcen=dcen, &
@@ -173,58 +177,63 @@
end do
- call hessian_min(p,fjac)
- call qrinv(fjac,cov)
-
! statistical errors of parameters
! Hessian is recomputed analyticaly in view of the fact that
! we needs errors of acen, dcen (but p(1:2) are X0,Y0) and
! Jacobian by lmdif2 is scaled by errors (multiplication of s**2
! is satisfactory only for p(3:4).
+ call hessian_min(p,fjac)
+ call qrinv(fjac,cov)
if( debug ) then
write(fmt1,'(a,i0,a)') '(a,',npar,'g15.5)'
- write(*,'(a)') '# Hessian at minimum:'
- write(*,fmt1) ('#',fjac(i,:),i=1,npar)
- write(*,'(a)') '# Covariance matrix (no regularisation):'
- write(*,fmt1) ('#',cov(i,:),i=1,npar)
- write(*,'(a)') '# Correlation matrix:'
+ write(error_unit,'(a)') '# Hessian at minimum:'
+ write(error_unit,fmt1) ('#',fjac(i,:),i=1,npar)
+ write(error_unit,'(a)') '# Covariance matrix (no regularisation):'
+ write(error_unit,fmt1) ('#',cov(i,:),i=1,npar)
+ write(error_unit,'(a)') '# Correlation matrix:'
do i = 1,npar
- write(*,'(a)',advance="no") '#'
+ write(error_unit,'(a)',advance="no") '#'
do j = 1,npar
- write(*,'(f9.3)',advance="no") cov(i,j)/sqrt(cov(i,i)*cov(j,j))
+ if( cov(i,i) > 0 .and. cov(j,j) > 0 ) then
+ write(error_unit,'(f9.3)',advance="no") &
+ cov(i,j)/sqrt(cov(i,i)*cov(j,j))
+ else
+ ! Hessian is not regularised and Tukey's function has been used.
+ write(error_unit,'(a9)',advance="no") ' *** '
+ end if
end do
- write(*,*)
+ write(error_unit,*)
end do
end if
dp = -1
do i = 1,npar
- if( s0 > 0 .and. cov(i,i) > 0 ) &
- dp(i) = sqrt(s0*cov(i,i)/(ndat - npar))
+ if( sig > 0 .and. cov(i,i) > 0 ) &
+ dp(i) = sqrt(sig**2*cov(i,i)/(ndat - npar))
end do
sc = 1.0_dbl/p(3)
pa = rad*p(4)
! deviations of output parameters
- dacen = dp(1) / cos(dcen / rad) !*sc??? ! cos() sqeezes metric (distance) on sphere
- ddcen = dp(2) !*sc???
+ dacen = dp(1) / cos(dcen / rad) ! cos() sqeezes metric (distance) on sphere
+ ddcen = dp(2)
dsc = sc*(dp(3)/p(3))
dpa = rad*dp(4)
+ rms = sig
if( debug ) then
+ call dres(p,du,dv)
nra = count(du > 0)
ndec = count(dv > 0)
- write(*,'(a,4es13.3)') '# solution: ',p(1:npar)
- write(*,'(a,4es13.2)') '# deviations:',dp(1:npar)
- write(*,'(a,2es10.2,a,g0.3,a)') '# s0,rms: ',s0,rms,' [deg] ', &
- 3600*rms,' [arcsec]'
- write(*,'(a,es10.2,a,g0.3,a)') '# s: ',sig,' [deg] ', &
+ write(error_unit,'(a,4es13.3)') '# solution: ',p(1:npar)
+ write(error_unit,'(a,4es13.2)') '# deviations:',dp(1:npar)
+ write(error_unit,'(a,es10.2,a,g0.3,a)') '# rms: ',sig,' [deg] ', &
3600*sig,' [arcsec]'
- write(*,'(a,i7,"/",f0.1,2(i5,"+-",f0.1))') &
+ write(error_unit,'(a,i7,"/",f0.1,2(i5,"+-",f0.1))') &
'# sign test (total/expected, RA+, Dec+): ',&
ndat,ndat/2.0,nra,sqrt(nra*0.25),ndec,sqrt(ndec*0.25)
! simple version of sign test, var = n*p*(1-p), where p = 0.5
@@ -265,7 +274,6 @@
u(i) = x
v(i) = y
end if
-! write(*,'(9f12.5)') u(i),v(i),x(i),y(i),3600*du,3600*dv
end do
end subroutine dres
@@ -280,10 +288,12 @@
real(dbl), dimension(np), intent(in) :: p
real(dbl), dimension(m), intent(out) :: fvec
real(dbl), dimension(:), allocatable :: dx,dy,xx,yy
+ real(dbl), dimension(4) :: dfvec
real(dbl) :: sf,sc,sx,sy,fx,fy
integer :: i
- if( iflag == 0 .and. debug ) write(*,*) '#robfit t:',real(p)
+ if( iflag == 0 .and. debug ) &
+ write(error_unit,*) '#robfit t:',real(p)
sf = 0.0_dbl
sc = 0.0_dbl
@@ -295,15 +305,22 @@
do i = 1, ndat
fx = tukey(dx(i)/sig)
fy = tukey(dy(i)/sig)
+! fx = dx(i)/sig
+! fy = dy(i)/sig
sx = sx + fx
sy = sy + fy
sc = sc + (fx*xx(i) + fy*yy(i))
sf = sf + (fx*yy(i) - fy*xx(i))
end do
fvec = (/-sx,-sy,-sc,sf*p(3)/)/sig
-! write(*,'(4g15.5)') fvec
deallocate(dx,dy,xx,yy)
+ if( debug .and. .false. ) then
+ write(error_unit,'(a,4g15.5)') ' ',fvec * sig
+ call difvec(p,dfvec)
+ write(error_unit,'(a,4g15.5)') 'dif:',dfvec * sig
+ end if
+
end subroutine fundif
@@ -319,15 +336,17 @@
real(dbl), dimension(:), allocatable :: fu,fv,dfu,dfv,du,dv,u,v,ru,rv
real(dbl), dimension(m) :: fc
real(dbl), dimension(4,4) :: dfjac
+ real(dbl), dimension(4) :: dfvec
real(dbl) :: r
integer :: i,j
if( iflag == 0 ) then
- write(*,'(4f15.5)') p
+ write(error_unit,'(4f15.5)') p
return
end if
- allocate(fu(ndat),fv(ndat),du(ndat),dv(ndat),u(ndat),v(ndat),ru(ndat),rv(ndat))
+ allocate(fu(ndat),fv(ndat),du(ndat),dv(ndat),u(ndat),v(ndat), &
+ ru(ndat),rv(ndat))
call dres(p,du,dv,u,v)
r = p(3)
@@ -335,17 +354,23 @@
rv = dv / sig
call tukeys(ru,fu)
call tukeys(rv,fv)
+! fu = ru
+! fv = rv
- fc(1) = sum(fu)
- fc(2) = sum(fv)
- fc(3) = sum(fu*u + fv*v)
+ fc(1) =-sum(fu)
+ fc(2) =-sum(fv)
+ fc(3) =-sum(fu*u + fv*v)
fc(4) = sum(fu*v - fv*u) * r
if( iflag == 1 ) then
- fvec(1:3) = - fc(1:3)
- fvec(4) = fc(4)
- fvec = fvec / sig
+ fvec = fc / sig
+
+ if( debug .and. .false. ) then
+ write(error_unit,'(a,4g15.5)') ' ',fvec * sig
+ call difvec(p,dfvec)
+ write(error_unit,'(a,4g15.5)') 'dif:',dfvec * sig
+ end if
else if( iflag == 2 ) then
@@ -353,6 +378,8 @@
call dtukeys(ru,dfu)
call dtukeys(rv,dfv)
+! dfu = 1
+! dfv = 1
fjac = 0.0_dbl
fjac(1,1) = sum(dfu)
@@ -362,13 +389,13 @@
fjac(2,3) = sum(dfv*v)
fjac(2,4) = sum(dfv*u)*r
fjac(3,3) = sum(dfu*u**2 + dfv*v**2)
- fjac(3,4) =-sum((dfu - dfv)*u*v)*r
+ fjac(3,4) = sum((dfv - dfu)*u*v)*r
fjac(4,4) = sum(dfu*v**2 + dfv*u**2)*r**2
-
- fjac(3,4) = fjac(3,4) + fc(4) * sig / r
- fjac(4,4) = fjac(4,4) - fc(3) * sig * r
fjac = fjac / sig**2
+ fjac(3,4) = fjac(3,4) + fc(4) / r / sig
+ fjac(4,4) = fjac(4,4) - fc(3) * r / sig
+
do i = 1,np
do j = 1,i-1
fjac(i,j) = fjac(j,i)
@@ -377,11 +404,11 @@
if( debug .and. .false. ) then
do i = 1,np
- write(*,'(4g15.5)') fjac(i,:)*sig**2
+ write(error_unit,'(4g15.5)') fjac(i,:) * sig**2
end do
call difjac(p,dfjac)
do i = 1,np
- write(*,'(a,4g15.5)') 'dif: ',dfjac(i,:) * sig**2
+ write(error_unit,'(a,4g15.5)') 'dif: ',dfjac(i,:) * sig**2
end do
end if
@@ -412,31 +439,61 @@
subroutine difjac(p,jac)
! numerical approximation of jacobian
+ ! https://en.wikipedia.org/wiki/Finite_difference
real(dbl), dimension(:), intent(in) :: p
real(dbl), dimension(:,:), intent(out) :: jac
- real(dbl), dimension(size(p)) :: fv1, fv2, p1
+ real(dbl), dimension(size(p)) :: d,fv1,fv2
integer :: i,n,iflag
- real(dbl) :: d
+ real(dbl) :: h
- iflag = 1
n = size(p)
+ h = sqrt(epsilon(h))
+ d = 0.0_dbl
+ jac = 0
do i = 1, n
- p1 = p
if( abs(p(i)) > epsilon(p) ) then
- d = sqrt(epsilon(d))*abs(p(i))
+ h = sqrt(epsilon(h))*abs(p(i))
else
- d = sqrt(epsilon(d))
+ h = sqrt(epsilon(h))
end if
- p1(i) = p(i) + d
- call fundif(n,n,p1,fv1,iflag)
- call fundif(n,n,p ,fv2,iflag)
- jac(i,:) = (fv1 - fv2)/d
+ d(i) = h
+ call fundif(n,n,p+d,fv1,iflag)
+ call fundif(n,n,p-d,fv2,iflag)
+ jac(i,i:n) = (fv1(i:n) - fv2(i:n))/(2*h)
+ d(i) = 0.0_dbl
end do
+
end subroutine difjac
+ subroutine difvec(p,vec)
+
+ ! numerical approximation of jacobian
+ ! https://en.wikipedia.org/wiki/Finite_difference
+
+ real(dbl), dimension(:), intent(in) :: p
+ real(dbl), dimension(:), intent(out) :: vec
+ real(dbl), dimension(size(p)) :: d
+ integer :: i,n
+ real(dbl) :: h,f1,f2
+
+ n = size(p)
+ h = sqrt(epsilon(h))
+ d = 0.0_dbl
+
+ do i = 1,n
+ d(i) = h
+ f1 = minfun(p+d)
+ f2 = minfun(p-d)
+ vec(i) = (f1 - f2)/(2*h)
+ d(i) = 0.0_dbl
+ end do
+
+ end subroutine difvec
+
+
function minfun(p)
use rfun
@@ -449,6 +506,8 @@
call dres(p,du,dv)
call itukeys(du/sig,fu)
call itukeys(dv/sig,fv)
+! fu = (du/sig)**2 / 2
+! fv = (dv/sig)**2 / 2
minfun = sum(fu) + sum(fv)
diff -Nru munipack-0.5.9/autom4te.cache/output.0 munipack-0.5.10/autom4te.cache/output.0
--- munipack-0.5.9/autom4te.cache/output.0 2017-07-17 23:04:24.000000000 +0000
+++ munipack-0.5.10/autom4te.cache/output.0 1970-01-01 00:00:00.000000000 +0000
@@ -1,7838 +0,0 @@
-@%:@! /bin/sh
-@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for Munipack 0.5.9.
-@%:@
-@%:@ Report bugs to >.
-@%:@
-@%:@
-@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-@%:@
-@%:@
-@%:@ This configure script is free software; the Free Software Foundation
-@%:@ gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in @%:@(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in @%:@(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org and Filip Hroch
-$0: about your system, including
-$0: any error possibly output before this message. Then
-$0: install a modern shell, or manually run the script
-$0: under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} @%:@ as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 &1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIB@&t@OBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='Munipack'
-PACKAGE_TARNAME='munipack'
-PACKAGE_VERSION='0.5.9'
-PACKAGE_STRING='Munipack 0.5.9'
-PACKAGE_BUGREPORT='Filip Hroch '
-PACKAGE_URL='http://munipack.physics.muni.cz'
-
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include
-#ifdef HAVE_SYS_TYPES_H
-# include
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include
-#endif
-#ifdef STDC_HEADERS
-# include
-# include
-#else
-# ifdef HAVE_STDLIB_H
-# include
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-# include
-# endif
-# include
-#endif
-#ifdef HAVE_STRINGS_H
-# include
-#endif
-#ifdef HAVE_INTTYPES_H
-# include
-#endif
-#ifdef HAVE_STDINT_H
-# include
-#endif
-#ifdef HAVE_UNISTD_H
-# include
-#endif"
-
-ac_subst_vars='am__EXEEXT_FALSE
-am__EXEEXT_TRUE
-LTLIBOBJS
-CLEANFILES
-LIBSTDCPP
-LIBGCC
-LIBGFORTRAN
-BUNDLEDIR
-BUNDLE_FALSE
-BUNDLE_TRUE
-VODIR
-WX_CXXFLAGS_VO
-WX_LIBS_VO
-WX_LIBS_CLI
-WX_CXXFLAGS_CLI
-MUNIPACKDIR
-MATPLOTDIR
-XMUNIPACKDIR
-WX_VERSION_MICRO
-WX_VERSION_MINOR
-WX_VERSION_MAJOR
-WX_RESCOMP
-WX_VERSION
-WX_LIBS_STATIC
-WX_LIBS
-WX_CXXFLAGS_ONLY
-WX_CFLAGS_ONLY
-WX_CXXFLAGS
-WX_CFLAGS
-WX_CPPFLAGS
-WX_CONFIG_PATH
-LDMINPACK
-MINPACKDIR
-ac_ct_F77
-FFLAGS
-F77
-LIBCFITSIO
-FC_MODEXT
-FC_MODOUT
-ac_empty
-FC_MODINC
-LIB@&t@OBJS
-EGREP
-GREP
-LN_S
-RANLIB
-ac_ct_FC
-FCFLAGS
-FC
-CPP
-am__fastdepCXX_FALSE
-am__fastdepCXX_TRUE
-CXXDEPMODE
-ac_ct_CXX
-CXXFLAGS
-CXX
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-AM_BACKSLASH
-AM_DEFAULT_VERBOSITY
-AM_DEFAULT_V
-AM_V
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-build_os
-build_vendor
-build_cpu
-build
-develop
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-runstatedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_silent_rules
-enable_dependency_tracking
-enable_vo
-enable_cli
-enable_gui
-with_wxdir
-with_wx_config
-with_wx_prefix
-with_wx_exec_prefix
-enable_bundle
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CXX
-CXXFLAGS
-CCC
-CPP
-FC
-FCFLAGS
-F77
-FFLAGS
-BUNDLEDIR'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -runstatedir | --runstatedir | --runstatedi | --runstated \
- | --runstate | --runstat | --runsta | --runst | --runs \
- | --run | --ru | --r)
- ac_prev=runstatedir ;;
- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
- | --run=* | --ru=* | --r=*)
- runstatedir=$ac_optarg ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir runstatedir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures Munipack 0.5.9 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- @<:@@S|@ac_default_prefix@:>@
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- @<:@PREFIX@:>@
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root @<:@DATAROOTDIR/doc/munipack@:>@
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of Munipack 0.5.9:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-silent-rules less verbose build output (undo: "make V=1")
- --disable-silent-rules verbose build output (undo: "make V=0")
- --enable-dependency-tracking
- do not reject slow dependency extractors
- --disable-dependency-tracking
- speeds up one-time build
- --disable-vo disable Virtual Observatory support
- --disable-cli disable Command-line User Interface
- --disable-gui disable Graphic User Interface
- --enable-bundle install to self-contained directory (given
- BUNDLEDIR)
-
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
- --with-wx-config=CONFIG wx-config script to use (optional)
- --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
- --with-wx-exec-prefix=PREFIX
- Exec prefix where wxWidgets is installed (optional)
-
-Some influential environment variables:
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L if you have libraries in a
- nonstandard directory
- LIBS libraries to pass to the linker, e.g. -l
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
- you have headers in a nonstandard directory
- CXX C++ compiler command
- CXXFLAGS C++ compiler flags
- CPP C preprocessor
- FC Fortran compiler command
- FCFLAGS Fortran compiler flags
- F77 Fortran 77 compiler command
- FFLAGS Fortran 77 compiler flags
- BUNDLEDIR prefix of self-contained directory @<:@/opt/munipack@:>@
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to >.
-Munipack home page: .
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-Munipack configure 0.5.9
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-@%:@ ac_fn_c_try_compile LINENO
-@%:@ --------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_compile
-
-@%:@ ac_fn_cxx_try_compile LINENO
-@%:@ ----------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_cxx_try_compile
-
-@%:@ ac_fn_c_try_cpp LINENO
-@%:@ ----------------------
-@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } > conftest.i && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_cpp
-
-@%:@ ac_fn_fc_try_compile LINENO
-@%:@ ---------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_fc_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_fc_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_fc_try_compile
-
-@%:@ ac_fn_c_try_run LINENO
-@%:@ ----------------------
-@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
-@%:@ that executables *can* be run.
-ac_fn_c_try_run ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then :
- ac_retval=0
-else
- $as_echo "$as_me: program exited with status $ac_status" >&5
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=$ac_status
-fi
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_run
-
-@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-@%:@ -------------------------------------------
-@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
-@%:@ variable VAR accordingly.
-ac_fn_c_check_type ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=no"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof ($2))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_type
-
-@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists and can be compiled using the include files in
-@%:@ INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$3=yes"
-else
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_compile
-
-@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
-@%:@ the include files in INCLUDES and setting the cache variable VAR
-@%:@ accordingly.
-ac_fn_c_check_header_mongrel ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if eval \${$3+:} false; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
- # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_header_compiler=yes
-else
- ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- ac_header_preproc=yes
-else
- ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
- yes:no: )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
- ;;
- no:yes:* )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## -------------------------------------------------- ##
-## Report this to Filip Hroch ##
-## -------------------------------------------------- ##"
- ) | sed "s/^/$as_me: WARNING: /" >&2
- ;;
-esac
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_mongrel
-
-@%:@ ac_fn_c_try_link LINENO
-@%:@ -----------------------
-@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext && {
- test "$cross_compiling" = yes ||
- test -x conftest$ac_exeext
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- # interfere with the next link command; also delete a directory that is
- # left behind by Apple's compiler. We do this before executing the actions.
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_link
-
-@%:@ ac_fn_f77_try_compile LINENO
-@%:@ ----------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_f77_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_f77_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_f77_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by Munipack $as_me 0.5.9, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in @%:@((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-develop=no
-
-if test "x$develop" = "xyes"; then
-
-$as_echo "@%:@define DEVELBUILD 1" >>confdefs.h
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define DATEBUILD `date +'"%F %T %Z"'`
-_ACEOF
-
-fi
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-
-am__api_version='1.15'
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in @%:@((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- alias in your environment" "$LINENO" 5
- fi
- if test "$2" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-
-rm -f conftest.file
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --is-lightweight"; then
- am_missing_run="$MISSING "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
- if ${ac_cv_path_mkdir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
- 'mkdir (coreutils) '* | \
- 'mkdir (fileutils) '4.1*)
- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- break 3;;
- esac
- done
- done
- done
-IFS=$as_save_IFS
-
-fi
-
- test -d ./--version && rmdir ./--version
- if test "${ac_cv_path_mkdir+set}" = set; then
- MKDIR_P="$ac_cv_path_mkdir -p"
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-@%:@ Check whether --enable-silent-rules was given.
-if test "${enable_silent_rules+set}" = set; then :
- enableval=$enable_silent_rules;
-fi
-
-case $enable_silent_rules in @%:@ (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=1;;
-esac
-am_make=${MAKE-make}
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
-if ${am_cv_make_support_nested_variables+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if $as_echo 'TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
-$as_echo "$am_cv_make_support_nested_variables" >&6; }
-if test $am_cv_make_support_nested_variables = yes; then
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AM_BACKSLASH='\'
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- am__isrc=' -I$(srcdir)'
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='munipack'
- VERSION='0.5.9'
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-#
-#
-mkdir_p='$(MKDIR_P)'
-
-# We need awk for the "check" target (and possibly the TAP driver). The
-# system "awk" is bad on some platforms.
-# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
-
-
-# We'll loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar pax cpio none'
-
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-
-
-
-
-
-
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard:
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: .
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
- fi
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $@%:@ != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile. We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- # We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
- # argument, so we may need to know it at that point already.
- # Even if this section looks crufty: it has the advantage of
- # actually working.
- break;;
- * )
- break;;
- esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
- ac_file=''
-fi
-if test -z "$ac_file"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
-done
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
- { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
- if { ac_try='./conftest$ac_cv_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
- fi
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
-done
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GCC=yes
-else
- GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
- xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
-$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
-if ${am_cv_prog_cc_c_o+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
- ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
-$as_echo "$am_cv_prog_cc_c_o" >&6; }
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-@%:@ Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
- if test -n "$CCC"; then
- CXX=$CCC
- else
- if test -n "$ac_tool_prefix"; then
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CXX+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CXX"; then
- ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CXX" && break
- done
-fi
-if test -z "$CXX"; then
- ac_ct_CXX=$CXX
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CXX+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CXX"; then
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CXX="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CXX" && break
-done
-
- if test "x$ac_ct_CXX" = x; then
- CXX="g++"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CXX=$ac_ct_CXX
- fi
-fi
-
- fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if ${ac_cv_cxx_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GXX=yes
-else
- GXX=
-fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if ${ac_cv_prog_cxx_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag
- ac_cxx_werror_flag=yes
- ac_cv_prog_cxx_g=no
- CXXFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_cv_prog_cxx_g=yes
-else
- CXXFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-
-else
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
- CXXFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
- if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
- else
- CXXFLAGS="-g"
- fi
-else
- if test "$GXX" = yes; then
- CXXFLAGS="-O2"
- else
- CXXFLAGS=
- fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-depcc="$CXX" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CXX_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CXX_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CXX_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
- am__fastdepCXX_TRUE=
- am__fastdepCXX_FALSE='#'
-else
- am__fastdepCXX_TRUE='#'
- am__fastdepCXX_FALSE=
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
- if ${ac_cv_prog_CPP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- # Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@ifdef __STDC__
-@%:@ include
-@%:@else
-@%:@ include
-@%:@endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
- break
-fi
-
- done
- ac_cv_prog_CPP=$CPP
-
-fi
- CPP=$ac_cv_prog_CPP
-else
- ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@ifdef __STDC__
-@%:@ include
-@%:@else
-@%:@ include
-@%:@endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_FC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$FC"; then
- ac_cv_prog_FC="$FC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-FC=$ac_cv_prog_FC
-if test -n "$FC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
-$as_echo "$FC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$FC" && break
- done
-fi
-if test -z "$FC"; then
- ac_ct_FC=$FC
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_FC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_FC"; then
- ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_FC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_FC=$ac_cv_prog_ac_ct_FC
-if test -n "$ac_ct_FC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
-$as_echo "$ac_ct_FC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_FC" && break
-done
-
- if test "x$ac_ct_FC" = x; then
- FC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- FC=$ac_ct_FC
- fi
-fi
-
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-rm -f a.out
-
-# If we don't use `.F' as extension, the preprocessor is not run on the
-# input file. (Note that this only needs to work for GNU compilers.)
-ac_save_ext=$ac_ext
-ac_ext=F
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
-$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
-if ${ac_cv_fc_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.$ac_ext <<_ACEOF
- program main
-#ifndef __GNUC__
- choke me
-#endif
-
- end
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_fc_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
-$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
-ac_ext=$ac_save_ext
-ac_test_FCFLAGS=${FCFLAGS+set}
-ac_save_FCFLAGS=$FCFLAGS
-FCFLAGS=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
-$as_echo_n "checking whether $FC accepts -g... " >&6; }
-if ${ac_cv_prog_fc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- FCFLAGS=-g
-cat > conftest.$ac_ext <<_ACEOF
- program main
-
- end
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_prog_fc_g=yes
-else
- ac_cv_prog_fc_g=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
-$as_echo "$ac_cv_prog_fc_g" >&6; }
-if test "$ac_test_FCFLAGS" = set; then
- FCFLAGS=$ac_save_FCFLAGS
-elif test $ac_cv_prog_fc_g = yes; then
- if test "x$ac_cv_fc_compiler_gnu" = xyes; then
- FCFLAGS="-g -O2"
- else
- FCFLAGS="-g"
- fi
-else
- if test "x$ac_cv_fc_compiler_gnu" = xyes; then
- FCFLAGS="-O2"
- else
- FCFLAGS=
- fi
-fi
-
-if test $ac_compiler_gnu = yes; then
- GFC=yes
-else
- GFC=
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
-$as_echo_n "checking whether ln -s works... " >&6; }
-LN_S=$as_ln_s
-if test "$LN_S" = "ln -s"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
-$as_echo "no, using $LN_S" >&6; }
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$GREP"; then
- ac_path_GREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in grep ggrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
- # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'GREP' >> "conftest.nl"
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_GREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_GREP="$ac_path_GREP"
- ac_path_GREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_GREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_GREP"; then
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- then ac_cv_path_EGREP="$GREP -E"
- else
- if test -z "$EGREP"; then
- ac_path_EGREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in egrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
- # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'EGREP' >> "conftest.nl"
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_EGREP="$ac_path_EGREP"
- ac_path_EGREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_EGREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_EGREP"; then
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_EGREP=$EGREP
-fi
-
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-#include
-#include
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_header_stdc=yes
-else
- ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- if test "$cross_compiling" = yes; then :
- :
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
- (('a' <= (c) && (c) <= 'i') \
- || ('j' <= (c) && (c) <= 'r') \
- || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
- int i;
- for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i))
- || toupper (i) != TOUPPER (i))
- return 2;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- inttypes.h stdint.h unistd.h
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-
-else
-
-cat >>confdefs.h <<_ACEOF
-@%:@define size_t unsigned int
-_ACEOF
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
-$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
-if ${ac_cv_struct_tm+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-
-int
-main ()
-{
-struct tm tm;
- int *p = &tm.tm_sec;
- return !p;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_struct_tm=time.h
-else
- ac_cv_struct_tm=sys/time.h
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
-$as_echo "$ac_cv_struct_tm" >&6; }
-if test $ac_cv_struct_tm = sys/time.h; then
-
-$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
-$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
-if ${ac_cv_c_const+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
-#ifndef __cplusplus
- /* Ultrix mips cc rejects this sort of thing. */
- typedef int charset[2];
- const charset cs = { 0, 0 };
- /* SunOS 4.1.1 cc rejects this. */
- char const *const *pcpcc;
- char **ppc;
- /* NEC SVR4.0.2 mips cc rejects this. */
- struct point {int x, y;};
- static struct point const zero = {0,0};
- /* AIX XL C 1.02.0.0 rejects this.
- It does not let you subtract one const X* pointer from another in
- an arm of an if-expression whose if-part is not a constant
- expression */
- const char *g = "string";
- pcpcc = &g + (g ? g-g : 0);
- /* HPUX 7.0 cc rejects these. */
- ++pcpcc;
- ppc = (char**) pcpcc;
- pcpcc = (char const *const *) ppc;
- { /* SCO 3.2v4 cc rejects this sort of thing. */
- char tx;
- char *t = &tx;
- char const *s = 0 ? (char *) 0 : (char const *) 0;
-
- *t++ = 0;
- if (s) return 0;
- }
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
- int x[] = {25, 17};
- const int *foo = &x[0];
- ++foo;
- }
- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
- typedef const int *iptr;
- iptr p = 0;
- ++p;
- }
- { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
- struct s { int j; const int *ap[3]; } bx;
- struct s *b = &bx; b->j = 5;
- }
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
- const int foo = 10;
- if (!foo) return 0;
- }
- return !cs[0] && !zero.x;
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_const=yes
-else
- ac_cv_c_const=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
-$as_echo "$ac_cv_c_const" >&6; }
-if test $ac_cv_c_const = no; then
-
-$as_echo "@%:@define const /**/" >>confdefs.h
-
-fi
-
-for ac_header in stdlib.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_STDLIB_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
-$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
-if ${ac_cv_func_malloc_0_nonnull+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "$cross_compiling" = yes; then :
- ac_cv_func_malloc_0_nonnull=no
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include
-#else
-char *malloc ();
-#endif
-
-int
-main ()
-{
-return ! malloc (0);
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- ac_cv_func_malloc_0_nonnull=yes
-else
- ac_cv_func_malloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
-
-$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
-
-else
- $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
-
- case " $LIB@&t@OBJS " in
- *" malloc.$ac_objext "* ) ;;
- *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
-
-fi
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module inclusion flag" >&5
-$as_echo_n "checking Fortran 90 module inclusion flag... " >&6; }
-if ${ac_cv_fc_module_flag+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-ac_cv_fc_module_flag=unknown
-mkdir conftest.dir
-cd conftest.dir
-cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- cd ..
- ac_fc_module_flag_FCFLAGS_save=$FCFLAGS
- # Flag ordering is significant for gfortran and Sun.
- for ac_flag in -M -I '-I ' '-M ' -p '-mod ' '-module ' '-Am -I'; do
- # Add the flag twice to prevent matching an output flag.
- FCFLAGS="$ac_fc_module_flag_FCFLAGS_save ${ac_flag}conftest.dir ${ac_flag}conftest.dir"
- cat > conftest.$ac_ext <<_ACEOF
-
- program main
- use conftest_module
- call conftest_routine
- end program
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_flag="$ac_flag"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test "$ac_cv_fc_module_flag" != unknown; then
- break
- fi
- done
- FCFLAGS=$ac_fc_module_flag_FCFLAGS_save
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_flag" >&5
-$as_echo "$ac_cv_fc_module_flag" >&6; }
-if test "$ac_cv_fc_module_flag" != unknown; then
- FC_MODINC=$ac_cv_fc_module_flag
-
-else
- FC_MODINC=
- as_fn_error $? "unable to find compiler flag for module search path" "$LINENO" 5
-fi
-
-# Ensure trailing whitespace is preserved in a Makefile.
-ac_empty=""
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module output flag" >&5
-$as_echo_n "checking Fortran 90 module output flag... " >&6; }
-if ${ac_cv_fc_module_output_flag+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-mkdir conftest.dir conftest.dir/sub
-cd conftest.dir
-ac_cv_fc_module_output_flag=unknown
-ac_fc_module_output_flag_FCFLAGS_save=$FCFLAGS
-# Flag ordering is significant: put flags late which some compilers use
-# for the search path.
-for ac_flag in -J '-J ' -fmod= -moddir= +moddir= -qmoddir= '-mod ' \
- '-module ' -M '-Am -M' '-e m -J '; do
- FCFLAGS="$ac_fc_module_output_flag_FCFLAGS_save ${ac_flag}sub"
- cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- cd sub
- cat > conftest.$ac_ext <<_ACEOF
-
- program main
- use conftest_module
- call conftest_routine
- end program
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_output_flag="$ac_flag"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- cd ..
- if test "$ac_cv_fc_module_output_flag" != unknown; then
- break
- fi
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-done
-FCFLAGS=$ac_fc_module_output_flag_FCFLAGS_save
-cd ..
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_output_flag" >&5
-$as_echo "$ac_cv_fc_module_output_flag" >&6; }
-if test "$ac_cv_fc_module_output_flag" != unknown; then
- FC_MODOUT=$ac_cv_fc_module_output_flag
-
-else
- FC_MODOUT=
- as_fn_error $? "unable to find compiler flag to write module information to" "$LINENO" 5
-fi
-
-# Ensure trailing whitespace is preserved in a Makefile.
-ac_empty=""
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module extension" >&5
-$as_echo_n "checking Fortran 90 module extension... " >&6; }
-if ${ac_cv_fc_module_ext+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-mkdir conftest.dir
-cd conftest.dir
-ac_cv_fc_module_ext=unknown
-cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_ext=`ls | sed -n 's,conftest_module\.,,p'`
- if test x$ac_cv_fc_module_ext = x; then
- ac_cv_fc_module_ext=`ls | sed -n 's,CONFTEST_MODULE\.,,p'`
- fi
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-cd ..
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_ext" >&5
-$as_echo "$ac_cv_fc_module_ext" >&6; }
-FC_MODEXT=$ac_cv_fc_module_ext
-if test "$FC_MODEXT" = unknown; then
- FC_MODEXT=
-fi
-
-
-
-case $build in
- *solaris*)
- CFITS_LIBS="-lnsl -lsocket"
- ;;
- *)
- ;;
-esac
-
-for ac_header in fitsio.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
-if test "x$ac_cv_header_fitsio_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_FITSIO_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffclos in -lcfitsio" >&5
-$as_echo_n "checking for ffclos in -lcfitsio... " >&6; }
-if ${ac_cv_lib_cfitsio_ffclos+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcfitsio $CFITS_LIBS -lm $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char ffclos ();
-int
-main ()
-{
-return ffclos ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_cfitsio_ffclos=yes
-else
- ac_cv_lib_cfitsio_ffclos=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfitsio_ffclos" >&5
-$as_echo "$ac_cv_lib_cfitsio_ffclos" >&6; }
-if test "x$ac_cv_lib_cfitsio_ffclos" = xyes; then :
- LIBCFITSIO=-lcfitsio
-
-else
- as_fn_error $? "cFITSIO library not found." "$LINENO" 5
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lmder_ in -lminpack" >&5
-$as_echo_n "checking for lmder_ in -lminpack... " >&6; }
-if ${ac_cv_lib_minpack_lmder_+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lminpack $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char lmder_ ();
-int
-main ()
-{
-return lmder_ ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_minpack_lmder_=yes
-else
- ac_cv_lib_minpack_lmder_=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_minpack_lmder_" >&5
-$as_echo "$ac_cv_lib_minpack_lmder_" >&6; }
-if test "x$ac_cv_lib_minpack_lmder_" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBMINPACK 1
-_ACEOF
-
- LIBS="-lminpack $LIBS"
-
-else
-
- ac_ext=f
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_F77+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$F77"; then
- ac_cv_prog_F77="$F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-F77=$ac_cv_prog_F77
-if test -n "$F77"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
-$as_echo "$F77" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$F77" && break
- done
-fi
-if test -z "$F77"; then
- ac_ct_F77=$F77
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_F77+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_F77"; then
- ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_F77="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_F77=$ac_cv_prog_ac_ct_F77
-if test -n "$ac_ct_F77"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
-$as_echo "$ac_ct_F77" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_F77" && break
-done
-
- if test "x$ac_ct_F77" = x; then
- F77=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- F77=$ac_ct_F77
- fi
-fi
-
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-rm -f a.out
-
-# If we don't use `.F' as extension, the preprocessor is not run on the
-# input file. (Note that this only needs to work for GNU compilers.)
-ac_save_ext=$ac_ext
-ac_ext=F
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
-$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
-if ${ac_cv_f77_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.$ac_ext <<_ACEOF
- program main
-#ifndef __GNUC__
- choke me
-#endif
-
- end
-_ACEOF
-if ac_fn_f77_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
-$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
-ac_ext=$ac_save_ext
-ac_test_FFLAGS=${FFLAGS+set}
-ac_save_FFLAGS=$FFLAGS
-FFLAGS=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
-$as_echo_n "checking whether $F77 accepts -g... " >&6; }
-if ${ac_cv_prog_f77_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- FFLAGS=-g
-cat > conftest.$ac_ext <<_ACEOF
- program main
-
- end
-_ACEOF
-if ac_fn_f77_try_compile "$LINENO"; then :
- ac_cv_prog_f77_g=yes
-else
- ac_cv_prog_f77_g=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
-$as_echo "$ac_cv_prog_f77_g" >&6; }
-if test "$ac_test_FFLAGS" = set; then
- FFLAGS=$ac_save_FFLAGS
-elif test $ac_cv_prog_f77_g = yes; then
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-g -O2"
- else
- FFLAGS="-g"
- fi
-else
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-O2"
- else
- FFLAGS=
- fi
-fi
-
-if test $ac_compiler_gnu = yes; then
- G77=yes
-else
- G77=
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- MINPACKDIR=minpack
-
- LDMINPACK=-L../minpack
-
-
-fi
-
-
-@%:@ Check whether --enable-vo was given.
-if test "${enable_vo+set}" = set; then :
- enableval=$enable_vo; disable_vo=yes
-else
- disable_vo=no
-fi
-
-@%:@ Check whether --enable-cli was given.
-if test "${enable_cli+set}" = set; then :
- enableval=$enable_cli; disable_cli=yes
-else
- disable_cli=no
-fi
-
-@%:@ Check whether --enable-gui was given.
-if test "${enable_gui+set}" = set; then :
- enableval=$enable_gui; disable_gui=yes
-else
- disable_gui=no
-fi
-
-
-if test "x$disable_cli" = "xno" -o "x$disable_vo" = "xno" -o "x$disable_gui" = "xno"; then
-
-
-
-@%:@ Check whether --with-wxdir was given.
-if test "${with_wxdir+set}" = set; then :
- withval=$with_wxdir; wx_config_name="$withval/wx-config"
- wx_config_args="--inplace"
-fi
-
-
-@%:@ Check whether --with-wx-config was given.
-if test "${with_wx_config+set}" = set; then :
- withval=$with_wx_config; wx_config_name="$withval"
-fi
-
-
-@%:@ Check whether --with-wx-prefix was given.
-if test "${with_wx_prefix+set}" = set; then :
- withval=$with_wx_prefix; wx_config_prefix="$withval"
-else
- wx_config_prefix=""
-fi
-
-
-@%:@ Check whether --with-wx-exec-prefix was given.
-if test "${with_wx_exec_prefix+set}" = set; then :
- withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
-else
- wx_config_exec_prefix=""
-fi
-
-
-
-
- if test x${WX_CONFIG_NAME+set} != xset ; then
- WX_CONFIG_NAME=wx-config
- fi
-
- if test "x$wx_config_name" != x ; then
- WX_CONFIG_NAME="$wx_config_name"
- fi
-
- if test x$wx_config_exec_prefix != x ; then
- wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
- WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
- fi
- if test x$wx_config_prefix != x ; then
- wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
- WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
- fi
- if test "$cross_compiling" = "yes"; then
- wx_config_args="$wx_config_args --host=$host_alias"
- fi
-
- if test -x "$WX_CONFIG_NAME" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
-$as_echo_n "checking for wx-config... " >&6; }
- WX_CONFIG_PATH="$WX_CONFIG_NAME"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
-$as_echo "$WX_CONFIG_PATH" >&6; }
- else
- # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
-set dummy $WX_CONFIG_NAME; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $WX_CONFIG_PATH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_dummy=""$WX_LOOKUP_PATH:$PATH""
-for as_dir in $as_dummy
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
- ;;
-esac
-fi
-WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
-if test -n "$WX_CONFIG_PATH"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
-$as_echo "$WX_CONFIG_PATH" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-
- if test "$WX_CONFIG_PATH" != "no" ; then
- WX_VERSION=""
-
- min_wx_version=3.0.0
- if test -z "" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
-$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
-$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
- fi
-
- WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
-
- WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
- wx_config_major_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
- wx_config_minor_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
- wx_config_micro_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
-
- wx_requested_major_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
- wx_requested_minor_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
- wx_requested_micro_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
-
-
- wx_ver_ok=""
- if test "x$WX_VERSION" != x ; then
- if test $wx_config_major_version -gt $wx_requested_major_version; then
- wx_ver_ok=yes
- else
- if test $wx_config_major_version -eq $wx_requested_major_version; then
- if test $wx_config_minor_version -gt $wx_requested_minor_version; then
- wx_ver_ok=yes
- else
- if test $wx_config_minor_version -eq $wx_requested_minor_version; then
- if test $wx_config_micro_version -ge $wx_requested_micro_version; then
- wx_ver_ok=yes
- fi
- fi
- fi
- fi
- fi
- fi
-
-
- if test -n "$wx_ver_ok"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
-$as_echo "yes (version $WX_VERSION)" >&6; }
- WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
-$as_echo_n "checking for wxWidgets static library... " >&6; }
- WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
- if test "x$WX_LIBS_STATIC" = "x"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- fi
-
- wx_has_cppflags=""
- if test $wx_config_major_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_minor_version -eq 2; then
- if test $wx_config_micro_version -ge 6; then
- wx_has_cppflags=yes
- fi
- fi
- fi
- fi
- fi
-
- wx_has_rescomp=""
- if test $wx_config_major_version -gt 2; then
- wx_has_rescomp=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -ge 7; then
- wx_has_rescomp=yes
- fi
- fi
- fi
- if test "x$wx_has_rescomp" = x ; then
- WX_RESCOMP=
- else
- WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
- fi
-
- if test "x$wx_has_cppflags" = x ; then
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
- WX_CPPFLAGS=$WX_CFLAGS
- WX_CXXFLAGS=$WX_CFLAGS
-
- WX_CFLAGS_ONLY=$WX_CFLAGS
- WX_CXXFLAGS_ONLY=$WX_CFLAGS
- else
- WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
- WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
-
- WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
- WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
- fi
-
- wxWin=1
-
- else
-
- if test "x$WX_VERSION" = x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
-$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
- fi
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- if test ! -z ""; then
-
- wx_error_message="
- The configuration you asked for $PACKAGE_NAME requires a wxWidgets
- build with the following settings:
-
- but such build is not available.
-
- To see the wxWidgets builds available on this system, please use
- 'wx-config --list' command. To use the default build, returned by
- 'wx-config --selected-config', use the options with their 'auto'
- default values."
-
- fi
-
- wx_error_message="
- The requested wxWidgets build couldn't be found.
- $wx_error_message
-
- If you still get this error, then check that 'wx-config' is
- in path, the directory where wxWidgets libraries are installed
- (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
- or equivalent variable and wxWidgets version is 3.0.0 or above."
-
- as_fn_error $? "$wx_error_message" "$LINENO" 5
-
- fi
- else
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- :
-
- fi
-
-
-
-
-
-
-
-
-
-
-
- WX_VERSION_MAJOR="$wx_config_major_version"
- WX_VERSION_MINOR="$wx_config_minor_version"
- WX_VERSION_MICRO="$wx_config_micro_version"
-
-
-
-
-
-
- if test -z "$wxWin"; then
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
-
- wxWidgets toolkit not found!
-
- Continuing without wxWidgets.
- These parts may be unavailable (even required on command-line):
-
- * Both graphical and command-line interfaces
- * Any functionality related to Virtual observatory
-
- Otherwise:
-
- Install wxWidgets on your system
-
- Please check: wx-config is available in PATH, a directory
- where wxWidgets libraries are installed (returned by
- 'wx-config --libs' command) is in LD_LIBRARY_PATH or
- equivalent variable and appropriate wxWidgets version
- is available.
- " >&5
-$as_echo "$as_me: WARNING:
-
- wxWidgets toolkit not found!
-
- Continuing without wxWidgets.
- These parts may be unavailable (even required on command-line):
-
- * Both graphical and command-line interfaces
- * Any functionality related to Virtual observatory
-
- Otherwise:
-
- Install wxWidgets on your system
-
- Please check: wx-config is available in PATH, a directory
- where wxWidgets libraries are installed (returned by
- 'wx-config --libs' command) is in LD_LIBRARY_PATH or
- equivalent variable and appropriate wxWidgets version
- is available.
- " >&2;}
-
- fi
-fi
-
-
-wxVO="no"
-wxGUI="no"
-wxCLI="no"
-
-if test "$wxWin" = 1; then
-
- if test "x$disable_gui" = "xno"; then
- wxGUI="yes"
- XMUNIPACKDIR=xmunipack
-
- MATPLOTDIR=wxMathPlot
-
- fi
-
- if test "x$disable_cli" = "xno"; then
- wxCLI="yes"
- MUNIPACKDIR=munipack
-
- WX_CXXFLAGS_CLI=`wx-config --cxxflags base`
-
- WX_LIBS_CLI=`wx-config --libs base`
-
- fi
-
- if test "x$disable_vo" = "xno"; then
- wxVO="yes"
- WX_LIBS_VO=`wx-config --libs base,net,xml`
-
- WX_CXXFLAGS_VO=`wx-config --cxxflags base,net,xml`
-
- VODIR=vo
-
- fi
-fi
-
-@%:@ Check whether --enable-bundle was given.
-if test "${enable_bundle+set}" = set; then :
- enableval=$enable_bundle; enable_bundle=yes
-else
- enable_bundle=no
-fi
-
- if test "x$enable_bundle" = "xyes"; then
- BUNDLE_TRUE=
- BUNDLE_FALSE='#'
-else
- BUNDLE_TRUE='#'
- BUNDLE_FALSE=
-fi
-
-
-
-
-if test "x$enable_bundle" = "xyes"; then
- BUNDLEDIR=${BUNDLEDIR:-/opt/munipack}
-
- LIBGFORTRAN=-static-libgfortran
-
- LIBGCC=-static-libgcc
-
- LIBSTDCPP=-static-libstdc++
-
-fi
-
-CLEANFILES=*.$FC_MODEXT
-
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-ac_config_files="$ac_config_files minpack/Makefile lib/Makefile preprocess/Makefile kombine/Makefile photometry/Makefile artificial/Makefile fitsut/Makefile list/Makefile astrometry/Makefile coloring/Makefile vo/Makefile munipack/Makefile wxMathPlot/Makefile xmunipack/Makefile doc/Makefile Makefile"
-
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIB@&t@OBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
-$as_echo_n "checking that generated files are newer than configure... " >&6; }
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
-$as_echo "done" >&6; }
- if test -n "$EXEEXT"; then
- am__EXEEXT_TRUE=
- am__EXEEXT_FALSE='#'
-else
- am__EXEEXT_TRUE='#'
- am__EXEEXT_FALSE=
-fi
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-case $FC_MODINC in #(
- *\ ) FC_MODINC=$FC_MODINC'${ac_empty}' ;;
-esac
-case $FC_MODOUT in #(
- *\ ) FC_MODOUT=$FC_MODOUT'${ac_empty}' ;;
-esac
-if test -z "${BUNDLE_TRUE}" && test -z "${BUNDLE_FALSE}"; then
- as_fn_error $? "conditional \"BUNDLE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in @%:@(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} @%:@ as_fn_error
-
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by Munipack $as_me 0.5.9, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration commands:
-$config_commands
-
-Report bugs to >.
-Munipack home page: ."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-Munipack config.status 0.5.9
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
-@%:@@%:@ Running $as_me. @%:@@%:@
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "minpack/Makefile") CONFIG_FILES="$CONFIG_FILES minpack/Makefile" ;;
- "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
- "preprocess/Makefile") CONFIG_FILES="$CONFIG_FILES preprocess/Makefile" ;;
- "kombine/Makefile") CONFIG_FILES="$CONFIG_FILES kombine/Makefile" ;;
- "photometry/Makefile") CONFIG_FILES="$CONFIG_FILES photometry/Makefile" ;;
- "artificial/Makefile") CONFIG_FILES="$CONFIG_FILES artificial/Makefile" ;;
- "fitsut/Makefile") CONFIG_FILES="$CONFIG_FILES fitsut/Makefile" ;;
- "list/Makefile") CONFIG_FILES="$CONFIG_FILES list/Makefile" ;;
- "astrometry/Makefile") CONFIG_FILES="$CONFIG_FILES astrometry/Makefile" ;;
- "coloring/Makefile") CONFIG_FILES="$CONFIG_FILES coloring/Makefile" ;;
- "vo/Makefile") CONFIG_FILES="$CONFIG_FILES vo/Makefile" ;;
- "munipack/Makefile") CONFIG_FILES="$CONFIG_FILES munipack/Makefile" ;;
- "wxMathPlot/Makefile") CONFIG_FILES="$CONFIG_FILES wxMathPlot/Makefile" ;;
- "xmunipack/Makefile") CONFIG_FILES="$CONFIG_FILES xmunipack/Makefile" ;;
- "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' >$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
-
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
-
- print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_tt"; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any. Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[ ]*#[ ]*define[ ][ ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' >$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- line = \$ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
-# Compute "$ac_file"'s index in $config_headers.
-_am_arg="$ac_file"
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$_am_arg" : 'X\(//\)[^/]' \| \
- X"$_am_arg" : 'X\(//\)$' \| \
- X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$_am_arg" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Older Autoconf quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-echo
-echo " Configured Munipack:"
-echo
-echo " Virtual Observatory support enabled: ${wxVO}"
-echo " Command line interface enabled: ${wxCLI}"
-echo " Graphical User Interface enabled: ${wxGUI}"
-echo " Bundle installation: ${enable_bundle}"
-if test "x$enable_bundle" = "xyes"; then
-echo " BUNDLEDIR= ${BUNDLEDIR}"
-fi
-echo
diff -Nru munipack-0.5.9/autom4te.cache/output.1 munipack-0.5.10/autom4te.cache/output.1
--- munipack-0.5.9/autom4te.cache/output.1 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/autom4te.cache/output.1 1970-01-01 00:00:00.000000000 +0000
@@ -1,7838 +0,0 @@
-@%:@! /bin/sh
-@%:@ Guess values for system-dependent variables and create Makefiles.
-@%:@ Generated by GNU Autoconf 2.69 for Munipack 0.5.9.
-@%:@
-@%:@ Report bugs to >.
-@%:@
-@%:@
-@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-@%:@
-@%:@
-@%:@ This configure script is free software; the Free Software Foundation
-@%:@ gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in @%:@(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in @%:@(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in @%:@ ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org and Filip Hroch
-$0: about your system, including
-$0: any error possibly output before this message. Then
-$0: install a modern shell, or manually run the script
-$0: under such a shell if you do have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} @%:@ as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 &1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIB@&t@OBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='Munipack'
-PACKAGE_TARNAME='munipack'
-PACKAGE_VERSION='0.5.9'
-PACKAGE_STRING='Munipack 0.5.9'
-PACKAGE_BUGREPORT='Filip Hroch '
-PACKAGE_URL='http://munipack.physics.muni.cz'
-
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include
-#ifdef HAVE_SYS_TYPES_H
-# include
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include
-#endif
-#ifdef STDC_HEADERS
-# include
-# include
-#else
-# ifdef HAVE_STDLIB_H
-# include
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-# include
-# endif
-# include
-#endif
-#ifdef HAVE_STRINGS_H
-# include
-#endif
-#ifdef HAVE_INTTYPES_H
-# include
-#endif
-#ifdef HAVE_STDINT_H
-# include
-#endif
-#ifdef HAVE_UNISTD_H
-# include
-#endif"
-
-ac_subst_vars='am__EXEEXT_FALSE
-am__EXEEXT_TRUE
-LTLIBOBJS
-CLEANFILES
-LIBSTDCPP
-LIBGCC
-LIBGFORTRAN
-BUNDLEDIR
-BUNDLE_FALSE
-BUNDLE_TRUE
-VODIR
-WX_CXXFLAGS_VO
-WX_LIBS_VO
-WX_LIBS_CLI
-WX_CXXFLAGS_CLI
-MUNIPACKDIR
-MATPLOTDIR
-XMUNIPACKDIR
-WX_VERSION_MICRO
-WX_VERSION_MINOR
-WX_VERSION_MAJOR
-WX_RESCOMP
-WX_VERSION
-WX_LIBS_STATIC
-WX_LIBS
-WX_CXXFLAGS_ONLY
-WX_CFLAGS_ONLY
-WX_CXXFLAGS
-WX_CFLAGS
-WX_CPPFLAGS
-WX_CONFIG_PATH
-LDMINPACK
-MINPACKDIR
-ac_ct_F77
-FFLAGS
-F77
-LIBCFITSIO
-FC_MODEXT
-FC_MODOUT
-ac_empty
-FC_MODINC
-LIB@&t@OBJS
-EGREP
-GREP
-LN_S
-RANLIB
-ac_ct_FC
-FCFLAGS
-FC
-CPP
-am__fastdepCXX_FALSE
-am__fastdepCXX_TRUE
-CXXDEPMODE
-ac_ct_CXX
-CXXFLAGS
-CXX
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-AM_BACKSLASH
-AM_DEFAULT_VERBOSITY
-AM_DEFAULT_V
-AM_V
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-build_os
-build_vendor
-build_cpu
-build
-develop
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-runstatedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_silent_rules
-enable_dependency_tracking
-enable_vo
-enable_cli
-enable_gui
-with_wxdir
-with_wx_config
-with_wx_prefix
-with_wx_exec_prefix
-enable_bundle
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CXX
-CXXFLAGS
-CCC
-CPP
-FC
-FCFLAGS
-F77
-FFLAGS
-BUNDLEDIR'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -runstatedir | --runstatedir | --runstatedi | --runstated \
- | --runstate | --runstat | --runsta | --runst | --runs \
- | --run | --ru | --r)
- ac_prev=runstatedir ;;
- -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
- | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
- | --run=* | --ru=* | --r=*)
- runstatedir=$ac_optarg ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir runstatedir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures Munipack 0.5.9 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- @<:@@S|@ac_default_prefix@:>@
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- @<:@PREFIX@:>@
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root @<:@DATAROOTDIR/doc/munipack@:>@
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-
-System types:
- --build=BUILD configure for building on BUILD [guessed]
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of Munipack 0.5.9:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-silent-rules less verbose build output (undo: "make V=1")
- --disable-silent-rules verbose build output (undo: "make V=0")
- --enable-dependency-tracking
- do not reject slow dependency extractors
- --disable-dependency-tracking
- speeds up one-time build
- --disable-vo disable Virtual Observatory support
- --disable-cli disable Command-line User Interface
- --disable-gui disable Graphic User Interface
- --enable-bundle install to self-contained directory (given
- BUNDLEDIR)
-
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
- --with-wx-config=CONFIG wx-config script to use (optional)
- --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
- --with-wx-exec-prefix=PREFIX
- Exec prefix where wxWidgets is installed (optional)
-
-Some influential environment variables:
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L if you have libraries in a
- nonstandard directory
- LIBS libraries to pass to the linker, e.g. -l
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
- you have headers in a nonstandard directory
- CXX C++ compiler command
- CXXFLAGS C++ compiler flags
- CPP C preprocessor
- FC Fortran compiler command
- FCFLAGS Fortran compiler flags
- F77 Fortran 77 compiler command
- FFLAGS Fortran 77 compiler flags
- BUNDLEDIR prefix of self-contained directory @<:@/opt/munipack@:>@
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to >.
-Munipack home page: .
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-Munipack configure 0.5.9
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-@%:@ ac_fn_c_try_compile LINENO
-@%:@ --------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_compile
-
-@%:@ ac_fn_cxx_try_compile LINENO
-@%:@ ----------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_cxx_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_cxx_try_compile
-
-@%:@ ac_fn_c_try_cpp LINENO
-@%:@ ----------------------
-@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } > conftest.i && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_cpp
-
-@%:@ ac_fn_fc_try_compile LINENO
-@%:@ ---------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_fc_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_fc_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_fc_try_compile
-
-@%:@ ac_fn_c_try_run LINENO
-@%:@ ----------------------
-@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
-@%:@ that executables *can* be run.
-ac_fn_c_try_run ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then :
- ac_retval=0
-else
- $as_echo "$as_me: program exited with status $ac_status" >&5
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=$ac_status
-fi
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_run
-
-@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
-@%:@ -------------------------------------------
-@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
-@%:@ variable VAR accordingly.
-ac_fn_c_check_type ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=no"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof ($2))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-int
-main ()
-{
-if (sizeof (($2)))
- return 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- eval "$3=yes"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_type
-
-@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists and can be compiled using the include files in
-@%:@ INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$3=yes"
-else
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_compile
-
-@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-@%:@ -------------------------------------------------------
-@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
-@%:@ the include files in INCLUDES and setting the cache variable VAR
-@%:@ accordingly.
-ac_fn_c_check_header_mongrel ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if eval \${$3+:} false; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
- # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_header_compiler=yes
-else
- ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- ac_header_preproc=yes
-else
- ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
- yes:no: )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
- ;;
- no:yes:* )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## -------------------------------------------------- ##
-## Report this to Filip Hroch ##
-## -------------------------------------------------- ##"
- ) | sed "s/^/$as_me: WARNING: /" >&2
- ;;
-esac
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} @%:@ ac_fn_c_check_header_mongrel
-
-@%:@ ac_fn_c_try_link LINENO
-@%:@ -----------------------
-@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext && {
- test "$cross_compiling" = yes ||
- test -x conftest$ac_exeext
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- # interfere with the next link command; also delete a directory that is
- # left behind by Apple's compiler. We do this before executing the actions.
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_c_try_link
-
-@%:@ ac_fn_f77_try_compile LINENO
-@%:@ ----------------------------
-@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
-ac_fn_f77_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_f77_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} @%:@ ac_fn_f77_try_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by Munipack $as_me 0.5.9, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in @%:@((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-develop=no
-
-if test "x$develop" = "xyes"; then
-
-$as_echo "@%:@define DEVELBUILD 1" >>confdefs.h
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define DATEBUILD `date +'"%F %T %Z"'`
-_ACEOF
-
-fi
-
-
-ac_aux_dir=
-for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-# Make sure we can run config.sub.
-$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
- as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
-$as_echo_n "checking build system type... " >&6; }
-if ${ac_cv_build+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_build_alias=$build_alias
-test "x$ac_build_alias" = x &&
- ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
-test "x$ac_build_alias" = x &&
- as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
-ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
- as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
-$as_echo "$ac_cv_build" >&6; }
-case $ac_cv_build in
-*-*-*) ;;
-*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
-esac
-build=$ac_cv_build
-ac_save_IFS=$IFS; IFS='-'
-set x $ac_cv_build
-shift
-build_cpu=$1
-build_vendor=$2
-shift; shift
-# Remember, the first character of IFS is used to create $*,
-# except with old shells:
-build_os=$*
-IFS=$ac_save_IFS
-case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
-
-
-
-am__api_version='1.15'
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in @%:@((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- alias in your environment" "$LINENO" 5
- fi
- if test "$2" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-
-rm -f conftest.file
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --is-lightweight"; then
- am_missing_run="$MISSING "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
- if ${ac_cv_path_mkdir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
- 'mkdir (coreutils) '* | \
- 'mkdir (fileutils) '4.1*)
- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- break 3;;
- esac
- done
- done
- done
-IFS=$as_save_IFS
-
-fi
-
- test -d ./--version && rmdir ./--version
- if test "${ac_cv_path_mkdir+set}" = set; then
- MKDIR_P="$ac_cv_path_mkdir -p"
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-@%:@ Check whether --enable-silent-rules was given.
-if test "${enable_silent_rules+set}" = set; then :
- enableval=$enable_silent_rules;
-fi
-
-case $enable_silent_rules in @%:@ (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=1;;
-esac
-am_make=${MAKE-make}
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
-if ${am_cv_make_support_nested_variables+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if $as_echo 'TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
-$as_echo "$am_cv_make_support_nested_variables" >&6; }
-if test $am_cv_make_support_nested_variables = yes; then
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AM_BACKSLASH='\'
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- am__isrc=' -I$(srcdir)'
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='munipack'
- VERSION='0.5.9'
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-@%:@define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-#
-#
-mkdir_p='$(MKDIR_P)'
-
-# We need awk for the "check" target (and possibly the TAP driver). The
-# system "awk" is bad on some platforms.
-# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
-
-
-# We'll loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar pax cpio none'
-
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-
-
-
-
-
-
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard:
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: .
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
- fi
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $@%:@ != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile. We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- # We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
- # argument, so we may need to know it at that point already.
- # Even if this section looks crufty: it has the advantage of
- # actually working.
- break;;
- * )
- break;;
- esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
- ac_file=''
-fi
-if test -z "$ac_file"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
-done
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
- { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
- if { ac_try='./conftest$ac_cv_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
- fi
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
-done
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GCC=yes
-else
- GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
- xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
-$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
-if ${am_cv_prog_cc_c_o+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
- ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
-$as_echo "$am_cv_prog_cc_c_o" >&6; }
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-@%:@ Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-if test -z "$CXX"; then
- if test -n "$CCC"; then
- CXX=$CCC
- else
- if test -n "$ac_tool_prefix"; then
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CXX+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CXX"; then
- ac_cv_prog_CXX="$CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CXX=$ac_cv_prog_CXX
-if test -n "$CXX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
-$as_echo "$CXX" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CXX" && break
- done
-fi
-if test -z "$CXX"; then
- ac_ct_CXX=$CXX
- for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CXX+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CXX"; then
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CXX="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
-if test -n "$ac_ct_CXX"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
-$as_echo "$ac_ct_CXX" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CXX" && break
-done
-
- if test "x$ac_ct_CXX" = x; then
- CXX="g++"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CXX=$ac_ct_CXX
- fi
-fi
-
- fi
-fi
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
-$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if ${ac_cv_cxx_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
-$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GXX=yes
-else
- GXX=
-fi
-ac_test_CXXFLAGS=${CXXFLAGS+set}
-ac_save_CXXFLAGS=$CXXFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
-$as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if ${ac_cv_prog_cxx_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_cxx_werror_flag=$ac_cxx_werror_flag
- ac_cxx_werror_flag=yes
- ac_cv_prog_cxx_g=no
- CXXFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_cv_prog_cxx_g=yes
-else
- CXXFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-
-else
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
- CXXFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
- ac_cv_prog_cxx_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_cxx_werror_flag=$ac_save_cxx_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
-$as_echo "$ac_cv_prog_cxx_g" >&6; }
-if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS=$ac_save_CXXFLAGS
-elif test $ac_cv_prog_cxx_g = yes; then
- if test "$GXX" = yes; then
- CXXFLAGS="-g -O2"
- else
- CXXFLAGS="-g"
- fi
-else
- if test "$GXX" = yes; then
- CXXFLAGS="-O2"
- else
- CXXFLAGS=
- fi
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-depcc="$CXX" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CXX_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CXX_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CXX_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
-CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
- am__fastdepCXX_TRUE=
- am__fastdepCXX_FALSE='#'
-else
- am__fastdepCXX_TRUE='#'
- am__fastdepCXX_FALSE=
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
- if ${ac_cv_prog_CPP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- # Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@ifdef __STDC__
-@%:@ include
-@%:@else
-@%:@ include
-@%:@endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
- break
-fi
-
- done
- ac_cv_prog_CPP=$CPP
-
-fi
- CPP=$ac_cv_prog_CPP
-else
- ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer to if __STDC__ is defined, since
- # exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@ifdef __STDC__
-@%:@ include
-@%:@else
-@%:@ include
-@%:@endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-@%:@include
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_FC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$FC"; then
- ac_cv_prog_FC="$FC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-FC=$ac_cv_prog_FC
-if test -n "$FC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
-$as_echo "$FC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$FC" && break
- done
-fi
-if test -z "$FC"; then
- ac_ct_FC=$FC
- for ac_prog in gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor xlf90 f90 pgf90 pghpf epcf90 g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_FC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_FC"; then
- ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_FC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_FC=$ac_cv_prog_ac_ct_FC
-if test -n "$ac_ct_FC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
-$as_echo "$ac_ct_FC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_FC" && break
-done
-
- if test "x$ac_ct_FC" = x; then
- FC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- FC=$ac_ct_FC
- fi
-fi
-
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-rm -f a.out
-
-# If we don't use `.F' as extension, the preprocessor is not run on the
-# input file. (Note that this only needs to work for GNU compilers.)
-ac_save_ext=$ac_ext
-ac_ext=F
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
-$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
-if ${ac_cv_fc_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.$ac_ext <<_ACEOF
- program main
-#ifndef __GNUC__
- choke me
-#endif
-
- end
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_fc_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
-$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
-ac_ext=$ac_save_ext
-ac_test_FCFLAGS=${FCFLAGS+set}
-ac_save_FCFLAGS=$FCFLAGS
-FCFLAGS=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
-$as_echo_n "checking whether $FC accepts -g... " >&6; }
-if ${ac_cv_prog_fc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- FCFLAGS=-g
-cat > conftest.$ac_ext <<_ACEOF
- program main
-
- end
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_prog_fc_g=yes
-else
- ac_cv_prog_fc_g=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
-$as_echo "$ac_cv_prog_fc_g" >&6; }
-if test "$ac_test_FCFLAGS" = set; then
- FCFLAGS=$ac_save_FCFLAGS
-elif test $ac_cv_prog_fc_g = yes; then
- if test "x$ac_cv_fc_compiler_gnu" = xyes; then
- FCFLAGS="-g -O2"
- else
- FCFLAGS="-g"
- fi
-else
- if test "x$ac_cv_fc_compiler_gnu" = xyes; then
- FCFLAGS="-O2"
- else
- FCFLAGS=
- fi
-fi
-
-if test $ac_compiler_gnu = yes; then
- GFC=yes
-else
- GFC=
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
-$as_echo_n "checking whether ln -s works... " >&6; }
-LN_S=$as_ln_s
-if test "$LN_S" = "ln -s"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
-$as_echo "no, using $LN_S" >&6; }
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$GREP"; then
- ac_path_GREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in grep ggrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
- # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'GREP' >> "conftest.nl"
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_GREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_GREP="$ac_path_GREP"
- ac_path_GREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_GREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_GREP"; then
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- then ac_cv_path_EGREP="$GREP -E"
- else
- if test -z "$EGREP"; then
- ac_path_EGREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in egrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
- # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'EGREP' >> "conftest.nl"
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_EGREP="$ac_path_EGREP"
- ac_path_EGREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_EGREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_EGREP"; then
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_EGREP=$EGREP
-fi
-
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-#include
-#include
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_header_stdc=yes
-else
- ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- if test "$cross_compiling" = yes; then :
- :
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
- (('a' <= (c) && (c) <= 'i') \
- || ('j' <= (c) && (c) <= 'r') \
- || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
- int i;
- for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i))
- || toupper (i) != TOUPPER (i))
- return 2;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- inttypes.h stdint.h unistd.h
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
-if test "x$ac_cv_type_size_t" = xyes; then :
-
-else
-
-cat >>confdefs.h <<_ACEOF
-@%:@define size_t unsigned int
-_ACEOF
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
-$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
-if ${ac_cv_struct_tm+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include
-#include
-
-int
-main ()
-{
-struct tm tm;
- int *p = &tm.tm_sec;
- return !p;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_struct_tm=time.h
-else
- ac_cv_struct_tm=sys/time.h
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
-$as_echo "$ac_cv_struct_tm" >&6; }
-if test $ac_cv_struct_tm = sys/time.h; then
-
-$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
-$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
-if ${ac_cv_c_const+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
-#ifndef __cplusplus
- /* Ultrix mips cc rejects this sort of thing. */
- typedef int charset[2];
- const charset cs = { 0, 0 };
- /* SunOS 4.1.1 cc rejects this. */
- char const *const *pcpcc;
- char **ppc;
- /* NEC SVR4.0.2 mips cc rejects this. */
- struct point {int x, y;};
- static struct point const zero = {0,0};
- /* AIX XL C 1.02.0.0 rejects this.
- It does not let you subtract one const X* pointer from another in
- an arm of an if-expression whose if-part is not a constant
- expression */
- const char *g = "string";
- pcpcc = &g + (g ? g-g : 0);
- /* HPUX 7.0 cc rejects these. */
- ++pcpcc;
- ppc = (char**) pcpcc;
- pcpcc = (char const *const *) ppc;
- { /* SCO 3.2v4 cc rejects this sort of thing. */
- char tx;
- char *t = &tx;
- char const *s = 0 ? (char *) 0 : (char const *) 0;
-
- *t++ = 0;
- if (s) return 0;
- }
- { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
- int x[] = {25, 17};
- const int *foo = &x[0];
- ++foo;
- }
- { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
- typedef const int *iptr;
- iptr p = 0;
- ++p;
- }
- { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
- struct s { int j; const int *ap[3]; } bx;
- struct s *b = &bx; b->j = 5;
- }
- { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
- const int foo = 10;
- if (!foo) return 0;
- }
- return !cs[0] && !zero.x;
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_c_const=yes
-else
- ac_cv_c_const=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
-$as_echo "$ac_cv_c_const" >&6; }
-if test $ac_cv_c_const = no; then
-
-$as_echo "@%:@define const /**/" >>confdefs.h
-
-fi
-
-for ac_header in stdlib.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdlib_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_STDLIB_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
-$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
-if ${ac_cv_func_malloc_0_nonnull+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "$cross_compiling" = yes; then :
- ac_cv_func_malloc_0_nonnull=no
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#if defined STDC_HEADERS || defined HAVE_STDLIB_H
-# include
-#else
-char *malloc ();
-#endif
-
-int
-main ()
-{
-return ! malloc (0);
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
- ac_cv_func_malloc_0_nonnull=yes
-else
- ac_cv_func_malloc_0_nonnull=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
-$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
-if test $ac_cv_func_malloc_0_nonnull = yes; then :
-
-$as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
-
-else
- $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
-
- case " $LIB@&t@OBJS " in
- *" malloc.$ac_objext "* ) ;;
- *) LIB@&t@OBJS="$LIB@&t@OBJS malloc.$ac_objext"
- ;;
-esac
-
-
-$as_echo "@%:@define malloc rpl_malloc" >>confdefs.h
-
-fi
-
-
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module inclusion flag" >&5
-$as_echo_n "checking Fortran 90 module inclusion flag... " >&6; }
-if ${ac_cv_fc_module_flag+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-ac_cv_fc_module_flag=unknown
-mkdir conftest.dir
-cd conftest.dir
-cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- cd ..
- ac_fc_module_flag_FCFLAGS_save=$FCFLAGS
- # Flag ordering is significant for gfortran and Sun.
- for ac_flag in -M -I '-I ' '-M ' -p '-mod ' '-module ' '-Am -I'; do
- # Add the flag twice to prevent matching an output flag.
- FCFLAGS="$ac_fc_module_flag_FCFLAGS_save ${ac_flag}conftest.dir ${ac_flag}conftest.dir"
- cat > conftest.$ac_ext <<_ACEOF
-
- program main
- use conftest_module
- call conftest_routine
- end program
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_flag="$ac_flag"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test "$ac_cv_fc_module_flag" != unknown; then
- break
- fi
- done
- FCFLAGS=$ac_fc_module_flag_FCFLAGS_save
-
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_flag" >&5
-$as_echo "$ac_cv_fc_module_flag" >&6; }
-if test "$ac_cv_fc_module_flag" != unknown; then
- FC_MODINC=$ac_cv_fc_module_flag
-
-else
- FC_MODINC=
- as_fn_error $? "unable to find compiler flag for module search path" "$LINENO" 5
-fi
-
-# Ensure trailing whitespace is preserved in a Makefile.
-ac_empty=""
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module output flag" >&5
-$as_echo_n "checking Fortran 90 module output flag... " >&6; }
-if ${ac_cv_fc_module_output_flag+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-mkdir conftest.dir conftest.dir/sub
-cd conftest.dir
-ac_cv_fc_module_output_flag=unknown
-ac_fc_module_output_flag_FCFLAGS_save=$FCFLAGS
-# Flag ordering is significant: put flags late which some compilers use
-# for the search path.
-for ac_flag in -J '-J ' -fmod= -moddir= +moddir= -qmoddir= '-mod ' \
- '-module ' -M '-Am -M' '-e m -J '; do
- FCFLAGS="$ac_fc_module_output_flag_FCFLAGS_save ${ac_flag}sub"
- cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- cd sub
- cat > conftest.$ac_ext <<_ACEOF
-
- program main
- use conftest_module
- call conftest_routine
- end program
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_output_flag="$ac_flag"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- cd ..
- if test "$ac_cv_fc_module_output_flag" != unknown; then
- break
- fi
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-done
-FCFLAGS=$ac_fc_module_output_flag_FCFLAGS_save
-cd ..
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_output_flag" >&5
-$as_echo "$ac_cv_fc_module_output_flag" >&6; }
-if test "$ac_cv_fc_module_output_flag" != unknown; then
- FC_MODOUT=$ac_cv_fc_module_output_flag
-
-else
- FC_MODOUT=
- as_fn_error $? "unable to find compiler flag to write module information to" "$LINENO" 5
-fi
-
-# Ensure trailing whitespace is preserved in a Makefile.
-ac_empty=""
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Fortran 90 module extension" >&5
-$as_echo_n "checking Fortran 90 module extension... " >&6; }
-if ${ac_cv_fc_module_ext+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_ext=${ac_fc_srcext-f}
-ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
-ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_fc_compiler_gnu
-
-mkdir conftest.dir
-cd conftest.dir
-ac_cv_fc_module_ext=unknown
-cat > conftest.$ac_ext <<_ACEOF
-
- module conftest_module
- contains
- subroutine conftest_routine
- write(*,'(a)') 'gotcha!'
- end subroutine
- end module
-_ACEOF
-if ac_fn_fc_try_compile "$LINENO"; then :
- ac_cv_fc_module_ext=`ls | sed -n 's,conftest_module\.,,p'`
- if test x$ac_cv_fc_module_ext = x; then
- ac_cv_fc_module_ext=`ls | sed -n 's,CONFTEST_MODULE\.,,p'`
- fi
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-cd ..
-rm -rf conftest.dir
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_module_ext" >&5
-$as_echo "$ac_cv_fc_module_ext" >&6; }
-FC_MODEXT=$ac_cv_fc_module_ext
-if test "$FC_MODEXT" = unknown; then
- FC_MODEXT=
-fi
-
-
-
-case $build in
- *solaris*)
- CFITS_LIBS="-lnsl -lsocket"
- ;;
- *)
- ;;
-esac
-
-for ac_header in fitsio.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
-if test "x$ac_cv_header_fitsio_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_FITSIO_H 1
-_ACEOF
-
-fi
-
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffclos in -lcfitsio" >&5
-$as_echo_n "checking for ffclos in -lcfitsio... " >&6; }
-if ${ac_cv_lib_cfitsio_ffclos+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcfitsio $CFITS_LIBS -lm $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char ffclos ();
-int
-main ()
-{
-return ffclos ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_cfitsio_ffclos=yes
-else
- ac_cv_lib_cfitsio_ffclos=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfitsio_ffclos" >&5
-$as_echo "$ac_cv_lib_cfitsio_ffclos" >&6; }
-if test "x$ac_cv_lib_cfitsio_ffclos" = xyes; then :
- LIBCFITSIO=-lcfitsio
-
-else
- as_fn_error $? "cFITSIO library not found." "$LINENO" 5
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lmder_ in -lminpack" >&5
-$as_echo_n "checking for lmder_ in -lminpack... " >&6; }
-if ${ac_cv_lib_minpack_lmder_+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lminpack $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char lmder_ ();
-int
-main ()
-{
-return lmder_ ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_minpack_lmder_=yes
-else
- ac_cv_lib_minpack_lmder_=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_minpack_lmder_" >&5
-$as_echo "$ac_cv_lib_minpack_lmder_" >&6; }
-if test "x$ac_cv_lib_minpack_lmder_" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-@%:@define HAVE_LIBMINPACK 1
-_ACEOF
-
- LIBS="-lminpack $LIBS"
-
-else
-
- ac_ext=f
-ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
-ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_f77_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_F77+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$F77"; then
- ac_cv_prog_F77="$F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-F77=$ac_cv_prog_F77
-if test -n "$F77"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
-$as_echo "$F77" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$F77" && break
- done
-fi
-if test -z "$F77"; then
- ac_ct_F77=$F77
- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_F77+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_F77"; then
- ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_F77="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_F77=$ac_cv_prog_ac_ct_F77
-if test -n "$ac_ct_F77"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
-$as_echo "$ac_ct_F77" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_F77" && break
-done
-
- if test "x$ac_ct_F77" = x; then
- F77=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- F77=$ac_ct_F77
- fi
-fi
-
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-rm -f a.out
-
-# If we don't use `.F' as extension, the preprocessor is not run on the
-# input file. (Note that this only needs to work for GNU compilers.)
-ac_save_ext=$ac_ext
-ac_ext=F
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
-$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
-if ${ac_cv_f77_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.$ac_ext <<_ACEOF
- program main
-#ifndef __GNUC__
- choke me
-#endif
-
- end
-_ACEOF
-if ac_fn_f77_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_f77_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
-$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
-ac_ext=$ac_save_ext
-ac_test_FFLAGS=${FFLAGS+set}
-ac_save_FFLAGS=$FFLAGS
-FFLAGS=
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
-$as_echo_n "checking whether $F77 accepts -g... " >&6; }
-if ${ac_cv_prog_f77_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- FFLAGS=-g
-cat > conftest.$ac_ext <<_ACEOF
- program main
-
- end
-_ACEOF
-if ac_fn_f77_try_compile "$LINENO"; then :
- ac_cv_prog_f77_g=yes
-else
- ac_cv_prog_f77_g=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
-$as_echo "$ac_cv_prog_f77_g" >&6; }
-if test "$ac_test_FFLAGS" = set; then
- FFLAGS=$ac_save_FFLAGS
-elif test $ac_cv_prog_f77_g = yes; then
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-g -O2"
- else
- FFLAGS="-g"
- fi
-else
- if test "x$ac_cv_f77_compiler_gnu" = xyes; then
- FFLAGS="-O2"
- else
- FFLAGS=
- fi
-fi
-
-if test $ac_compiler_gnu = yes; then
- G77=yes
-else
- G77=
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- MINPACKDIR=minpack
-
- LDMINPACK=-L../minpack
-
-
-fi
-
-
-@%:@ Check whether --enable-vo was given.
-if test "${enable_vo+set}" = set; then :
- enableval=$enable_vo; disable_vo=yes
-else
- disable_vo=no
-fi
-
-@%:@ Check whether --enable-cli was given.
-if test "${enable_cli+set}" = set; then :
- enableval=$enable_cli; disable_cli=yes
-else
- disable_cli=no
-fi
-
-@%:@ Check whether --enable-gui was given.
-if test "${enable_gui+set}" = set; then :
- enableval=$enable_gui; disable_gui=yes
-else
- disable_gui=no
-fi
-
-
-if test "x$disable_cli" = "xno" -o "x$disable_vo" = "xno" -o "x$disable_gui" = "xno"; then
-
-
-
-@%:@ Check whether --with-wxdir was given.
-if test "${with_wxdir+set}" = set; then :
- withval=$with_wxdir; wx_config_name="$withval/wx-config"
- wx_config_args="--inplace"
-fi
-
-
-@%:@ Check whether --with-wx-config was given.
-if test "${with_wx_config+set}" = set; then :
- withval=$with_wx_config; wx_config_name="$withval"
-fi
-
-
-@%:@ Check whether --with-wx-prefix was given.
-if test "${with_wx_prefix+set}" = set; then :
- withval=$with_wx_prefix; wx_config_prefix="$withval"
-else
- wx_config_prefix=""
-fi
-
-
-@%:@ Check whether --with-wx-exec-prefix was given.
-if test "${with_wx_exec_prefix+set}" = set; then :
- withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
-else
- wx_config_exec_prefix=""
-fi
-
-
-
-
- if test x${WX_CONFIG_NAME+set} != xset ; then
- WX_CONFIG_NAME=wx-config
- fi
-
- if test "x$wx_config_name" != x ; then
- WX_CONFIG_NAME="$wx_config_name"
- fi
-
- if test x$wx_config_exec_prefix != x ; then
- wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
- WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
- fi
- if test x$wx_config_prefix != x ; then
- wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
- WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
- fi
- if test "$cross_compiling" = "yes"; then
- wx_config_args="$wx_config_args --host=$host_alias"
- fi
-
- if test -x "$WX_CONFIG_NAME" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
-$as_echo_n "checking for wx-config... " >&6; }
- WX_CONFIG_PATH="$WX_CONFIG_NAME"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
-$as_echo "$WX_CONFIG_PATH" >&6; }
- else
- # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
-set dummy $WX_CONFIG_NAME; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- case $WX_CONFIG_PATH in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_dummy=""$WX_LOOKUP_PATH:$PATH""
-for as_dir in $as_dummy
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
- test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
- ;;
-esac
-fi
-WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
-if test -n "$WX_CONFIG_PATH"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
-$as_echo "$WX_CONFIG_PATH" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-
- if test "$WX_CONFIG_PATH" != "no" ; then
- WX_VERSION=""
-
- min_wx_version=3.0.0
- if test -z "" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
-$as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ()" >&5
-$as_echo_n "checking for wxWidgets version >= $min_wx_version ()... " >&6; }
- fi
-
- WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args "
-
- WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
- wx_config_major_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
- wx_config_minor_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
- wx_config_micro_version=`echo $WX_VERSION | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
-
- wx_requested_major_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
- wx_requested_minor_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
- wx_requested_micro_version=`echo $min_wx_version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
-
-
- wx_ver_ok=""
- if test "x$WX_VERSION" != x ; then
- if test $wx_config_major_version -gt $wx_requested_major_version; then
- wx_ver_ok=yes
- else
- if test $wx_config_major_version -eq $wx_requested_major_version; then
- if test $wx_config_minor_version -gt $wx_requested_minor_version; then
- wx_ver_ok=yes
- else
- if test $wx_config_minor_version -eq $wx_requested_minor_version; then
- if test $wx_config_micro_version -ge $wx_requested_micro_version; then
- wx_ver_ok=yes
- fi
- fi
- fi
- fi
- fi
- fi
-
-
- if test -n "$wx_ver_ok"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
-$as_echo "yes (version $WX_VERSION)" >&6; }
- WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
-$as_echo_n "checking for wxWidgets static library... " >&6; }
- WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
- if test "x$WX_LIBS_STATIC" = "x"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- fi
-
- wx_has_cppflags=""
- if test $wx_config_major_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_minor_version -eq 2; then
- if test $wx_config_micro_version -ge 6; then
- wx_has_cppflags=yes
- fi
- fi
- fi
- fi
- fi
-
- wx_has_rescomp=""
- if test $wx_config_major_version -gt 2; then
- wx_has_rescomp=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -ge 7; then
- wx_has_rescomp=yes
- fi
- fi
- fi
- if test "x$wx_has_rescomp" = x ; then
- WX_RESCOMP=
- else
- WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
- fi
-
- if test "x$wx_has_cppflags" = x ; then
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
- WX_CPPFLAGS=$WX_CFLAGS
- WX_CXXFLAGS=$WX_CFLAGS
-
- WX_CFLAGS_ONLY=$WX_CFLAGS
- WX_CXXFLAGS_ONLY=$WX_CFLAGS
- else
- WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
- WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
-
- WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
- WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
- fi
-
- wxWin=1
-
- else
-
- if test "x$WX_VERSION" = x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
-$as_echo "no (version $WX_VERSION is not new enough)" >&6; }
- fi
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- if test ! -z ""; then
-
- wx_error_message="
- The configuration you asked for $PACKAGE_NAME requires a wxWidgets
- build with the following settings:
-
- but such build is not available.
-
- To see the wxWidgets builds available on this system, please use
- 'wx-config --list' command. To use the default build, returned by
- 'wx-config --selected-config', use the options with their 'auto'
- default values."
-
- fi
-
- wx_error_message="
- The requested wxWidgets build couldn't be found.
- $wx_error_message
-
- If you still get this error, then check that 'wx-config' is
- in path, the directory where wxWidgets libraries are installed
- (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
- or equivalent variable and wxWidgets version is 3.0.0 or above."
-
- as_fn_error $? "$wx_error_message" "$LINENO" 5
-
- fi
- else
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- :
-
- fi
-
-
-
-
-
-
-
-
-
-
-
- WX_VERSION_MAJOR="$wx_config_major_version"
- WX_VERSION_MINOR="$wx_config_minor_version"
- WX_VERSION_MICRO="$wx_config_micro_version"
-
-
-
-
-
-
- if test -z "$wxWin"; then
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
-
- wxWidgets toolkit not found!
-
- Continuing without wxWidgets.
- These parts may be unavailable (even required on command-line):
-
- * Both graphical and command-line interfaces
- * Any functionality related to Virtual observatory
-
- Otherwise:
-
- Install wxWidgets on your system
-
- Please check: wx-config is available in PATH, a directory
- where wxWidgets libraries are installed (returned by
- 'wx-config --libs' command) is in LD_LIBRARY_PATH or
- equivalent variable and appropriate wxWidgets version
- is available.
- " >&5
-$as_echo "$as_me: WARNING:
-
- wxWidgets toolkit not found!
-
- Continuing without wxWidgets.
- These parts may be unavailable (even required on command-line):
-
- * Both graphical and command-line interfaces
- * Any functionality related to Virtual observatory
-
- Otherwise:
-
- Install wxWidgets on your system
-
- Please check: wx-config is available in PATH, a directory
- where wxWidgets libraries are installed (returned by
- 'wx-config --libs' command) is in LD_LIBRARY_PATH or
- equivalent variable and appropriate wxWidgets version
- is available.
- " >&2;}
-
- fi
-fi
-
-
-wxVO="no"
-wxGUI="no"
-wxCLI="no"
-
-if test "$wxWin" = 1; then
-
- if test "x$disable_gui" = "xno"; then
- wxGUI="yes"
- XMUNIPACKDIR=xmunipack
-
- MATPLOTDIR=wxMathPlot
-
- fi
-
- if test "x$disable_cli" = "xno"; then
- wxCLI="yes"
- MUNIPACKDIR=munipack
-
- WX_CXXFLAGS_CLI=`wx-config --cxxflags base`
-
- WX_LIBS_CLI=`wx-config --libs base`
-
- fi
-
- if test "x$disable_vo" = "xno"; then
- wxVO="yes"
- WX_LIBS_VO=`wx-config --libs base,net,xml`
-
- WX_CXXFLAGS_VO=`wx-config --cxxflags base,net,xml`
-
- VODIR=vo
-
- fi
-fi
-
-@%:@ Check whether --enable-bundle was given.
-if test "${enable_bundle+set}" = set; then :
- enableval=$enable_bundle; enable_bundle=yes
-else
- enable_bundle=no
-fi
-
- if test "x$enable_bundle" = "xyes"; then
- BUNDLE_TRUE=
- BUNDLE_FALSE='#'
-else
- BUNDLE_TRUE='#'
- BUNDLE_FALSE=
-fi
-
-
-
-
-if test "x$enable_bundle" = "xyes"; then
- BUNDLEDIR=${BUNDLEDIR:-/opt/munipack}
-
- LIBGFORTRAN=-static-libgfortran
-
- LIBGCC=-static-libgcc
-
- LIBSTDCPP=-static-libstdc++
-
-fi
-
-CLEANFILES=*.$FC_MODEXT
-
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-ac_config_files="$ac_config_files minpack/Makefile lib/Makefile preprocess/Makefile kombine/Makefile photometry/Makefile artificial/Makefile fitsut/Makefile list/Makefile astrometry/Makefile coloring/Makefile vo/Makefile munipack/Makefile wxMathPlot/Makefile xmunipack/Makefile doc/Makefile Makefile"
-
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIB@&t@OBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
-$as_echo_n "checking that generated files are newer than configure... " >&6; }
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
-$as_echo "done" >&6; }
- if test -n "$EXEEXT"; then
- am__EXEEXT_TRUE=
- am__EXEEXT_FALSE='#'
-else
- am__EXEEXT_TRUE='#'
- am__EXEEXT_FALSE=
-fi
-
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-case $FC_MODINC in #(
- *\ ) FC_MODINC=$FC_MODINC'${ac_empty}' ;;
-esac
-case $FC_MODOUT in #(
- *\ ) FC_MODOUT=$FC_MODOUT'${ac_empty}' ;;
-esac
-if test -z "${BUNDLE_TRUE}" && test -z "${BUNDLE_FALSE}"; then
- as_fn_error $? "conditional \"BUNDLE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in @%:@(
- *posix*) :
- set -o posix ;; @%:@(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in @%:@(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in @%:@((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
-@%:@ ----------------------------------------
-@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-@%:@ script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} @%:@ as_fn_error
-
-
-@%:@ as_fn_set_status STATUS
-@%:@ -----------------------
-@%:@ Set @S|@? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} @%:@ as_fn_set_status
-
-@%:@ as_fn_exit STATUS
-@%:@ -----------------
-@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} @%:@ as_fn_exit
-
-@%:@ as_fn_unset VAR
-@%:@ ---------------
-@%:@ Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-@%:@ as_fn_append VAR VALUE
-@%:@ ----------------------
-@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
-@%:@ advantage of any shell optimizations that allow amortized linear growth over
-@%:@ repeated appends, instead of the typical quadratic growth present in naive
-@%:@ implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-@%:@ as_fn_arith ARG...
-@%:@ ------------------
-@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
-@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
-@%:@ must be portable across @S|@(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in @%:@(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-@%:@ as_fn_mkdir_p
-@%:@ -------------
-@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} @%:@ as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-@%:@ as_fn_executable_p FILE
-@%:@ -----------------------
-@%:@ Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} @%:@ as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by Munipack $as_me 0.5.9, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration commands:
-$config_commands
-
-Report bugs to >.
-Munipack home page: ."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-Munipack config.status 0.5.9
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
-@%:@@%:@ Running $as_me. @%:@@%:@
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "minpack/Makefile") CONFIG_FILES="$CONFIG_FILES minpack/Makefile" ;;
- "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
- "preprocess/Makefile") CONFIG_FILES="$CONFIG_FILES preprocess/Makefile" ;;
- "kombine/Makefile") CONFIG_FILES="$CONFIG_FILES kombine/Makefile" ;;
- "photometry/Makefile") CONFIG_FILES="$CONFIG_FILES photometry/Makefile" ;;
- "artificial/Makefile") CONFIG_FILES="$CONFIG_FILES artificial/Makefile" ;;
- "fitsut/Makefile") CONFIG_FILES="$CONFIG_FILES fitsut/Makefile" ;;
- "list/Makefile") CONFIG_FILES="$CONFIG_FILES list/Makefile" ;;
- "astrometry/Makefile") CONFIG_FILES="$CONFIG_FILES astrometry/Makefile" ;;
- "coloring/Makefile") CONFIG_FILES="$CONFIG_FILES coloring/Makefile" ;;
- "vo/Makefile") CONFIG_FILES="$CONFIG_FILES vo/Makefile" ;;
- "munipack/Makefile") CONFIG_FILES="$CONFIG_FILES munipack/Makefile" ;;
- "wxMathPlot/Makefile") CONFIG_FILES="$CONFIG_FILES wxMathPlot/Makefile" ;;
- "xmunipack/Makefile") CONFIG_FILES="$CONFIG_FILES xmunipack/Makefile" ;;
- "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' >$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
-
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
-
- print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_tt"; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any. Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[ ]*#[ ]*define[ ][ ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' >$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- line = \$ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
-# Compute "$ac_file"'s index in $config_headers.
-_am_arg="$ac_file"
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$_am_arg" : 'X\(//\)[^/]' \| \
- X"$_am_arg" : 'X\(//\)$' \| \
- X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$_am_arg" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
-
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Older Autoconf quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
-
-echo
-echo " Configured Munipack:"
-echo
-echo " Virtual Observatory support enabled: ${wxVO}"
-echo " Command line interface enabled: ${wxCLI}"
-echo " Graphical User Interface enabled: ${wxGUI}"
-echo " Bundle installation: ${enable_bundle}"
-if test "x$enable_bundle" = "xyes"; then
-echo " BUNDLEDIR= ${BUNDLEDIR}"
-fi
-echo
diff -Nru munipack-0.5.9/autom4te.cache/requests munipack-0.5.10/autom4te.cache/requests
--- munipack-0.5.9/autom4te.cache/requests 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/autom4te.cache/requests 1970-01-01 00:00:00.000000000 +0000
@@ -1,174 +0,0 @@
-# This file was generated by Autom4te Sat Mar 26 18:08:30 UTC 2016.
-# It contains the lists of macros which have been traced.
-# It can be safely removed.
-
-@request = (
- bless( [
- '0',
- 1,
- [
- '/usr/share/autoconf'
- ],
- [
- '/usr/share/autoconf/autoconf/autoconf.m4f',
- '-',
- '/usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4',
- '/usr/share/aclocal/wxwin.m4',
- '/usr/share/aclocal-1.15/amversion.m4',
- '/usr/share/aclocal-1.15/auxdir.m4',
- '/usr/share/aclocal-1.15/cond.m4',
- '/usr/share/aclocal-1.15/depend.m4',
- '/usr/share/aclocal-1.15/depout.m4',
- '/usr/share/aclocal-1.15/init.m4',
- '/usr/share/aclocal-1.15/install-sh.m4',
- '/usr/share/aclocal-1.15/lead-dot.m4',
- '/usr/share/aclocal-1.15/make.m4',
- '/usr/share/aclocal-1.15/missing.m4',
- '/usr/share/aclocal-1.15/options.m4',
- '/usr/share/aclocal-1.15/prog-cc-c-o.m4',
- '/usr/share/aclocal-1.15/runlog.m4',
- '/usr/share/aclocal-1.15/sanity.m4',
- '/usr/share/aclocal-1.15/silent.m4',
- '/usr/share/aclocal-1.15/strip.m4',
- '/usr/share/aclocal-1.15/substnot.m4',
- '/usr/share/aclocal-1.15/tar.m4',
- 'configure.ac'
- ],
- {
- '_m4_warn' => 1,
- 'AM_OPTIONS_WXCONFIG' => 1,
- 'AM_RUN_LOG' => 1,
- 'WX_CONFIG_CHECK' => 1,
- 'WX_BOOLOPT_SUMMARY' => 1,
- '_AM_PROG_TAR' => 1,
- 'WX_LIKE_LIBNAME' => 1,
- 'include' => 1,
- 'WX_ARG_WITH_YESNOAUTO' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AM_MAKE_INCLUDE' => 1,
- 'WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'm4_include' => 1,
- '_AM_MANGLE_OPTION' => 1,
- 'AM_PATH_WXCONFIG' => 1,
- 'AM_SET_DEPDIR' => 1,
- 'WX_CONFIG_OPTIONS' => 1,
- 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- '_AM_AUTOCONF_VERSION' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- '_AC_AM_CONFIG_HEADER_HOOK' => 1,
- 'AM_PATH_WXRC' => 1,
- 'WX_DETECT_STANDARD_OPTION_VALUES' => 1,
- 'AM_SUBST_NOTMAKE' => 1,
- '_AM_PROG_CC_C_O' => 1,
- 'AM_SILENT_RULES' => 1,
- 'AM_SANITY_CHECK' => 1,
- 'AM_PROG_INSTALL_SH' => 1,
- 'AC_CONFIG_MACRO_DIR_TRACE' => 1,
- 'WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN' => 1,
- '_WX_SELECTEDCONFIG_CHECKFOR' => 1,
- '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
- 'AC_DEFUN_ONCE' => 1,
- 'AM_PROG_INSTALL_STRIP' => 1,
- 'AM_DEP_TRACK' => 1,
- '_AM_SET_OPTIONS' => 1,
- 'AM_MISSING_PROG' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AM_AUX_DIR_EXPAND' => 1,
- 'AM_CONDITIONAL' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_SET_LEADING_DOT' => 1,
- 'WX_STANDARD_OPTIONS_SUMMARY_MSG_END' => 1,
- 'WX_ARG_ENABLE_YESNOAUTO' => 1,
- 'AM_MISSING_HAS_RUN' => 1,
- '_WX_PRIVATE_CHECK_VERSION' => 1,
- 'WXRC_CHECK' => 1,
- 'AC_CONFIG_MACRO_DIR' => 1,
- '_AM_SET_OPTION' => 1,
- '_AM_IF_OPTION' => 1,
- 'WX_STANDARD_OPTIONS' => 1,
- '_AM_DEPENDENCIES' => 1,
- 'AC_DEFUN' => 1,
- 'm4_pattern_forbid' => 1,
- '_AM_CONFIG_MACRO_DIRS' => 1,
- 'AU_DEFUN' => 1,
- 'WX_STANDARD_OPTIONS_SUMMARY_MSG' => 1,
- 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1
- }
- ], 'Autom4te::Request' ),
- bless( [
- '1',
- 1,
- [
- '/usr/share/autoconf'
- ],
- [
- '/usr/share/autoconf/autoconf/autoconf.m4f',
- 'aclocal.m4',
- 'configure.ac'
- ],
- {
- 'AM_PROG_FC_C_O' => 1,
- 'AM_NLS' => 1,
- 'AC_CONFIG_HEADERS' => 1,
- 'm4_pattern_forbid' => 1,
- 'AC_INIT' => 1,
- 'AC_FC_FREEFORM' => 1,
- 'AC_CANONICAL_TARGET' => 1,
- 'AM_POT_TOOLS' => 1,
- 'AC_SUBST_TRACE' => 1,
- '_AM_COND_ELSE' => 1,
- 'AM_ENABLE_MULTILIB' => 1,
- 'LT_SUPPORTED_TAG' => 1,
- 'm4_pattern_allow' => 1,
- 'AM_CONDITIONAL' => 1,
- 'AM_MAINTAINER_MODE' => 1,
- 'AC_SUBST' => 1,
- '_AM_MAKEFILE_INCLUDE' => 1,
- 'AM_MAKEFILE_INCLUDE' => 1,
- 'sinclude' => 1,
- 'AC_CONFIG_LIBOBJ_DIR' => 1,
- 'AM_INIT_AUTOMAKE' => 1,
- 'AC_CONFIG_AUX_DIR' => 1,
- 'AM_PROG_AR' => 1,
- 'AM_PROG_LIBTOOL' => 1,
- 'AC_PROG_LIBTOOL' => 1,
- 'AC_DEFINE_TRACE_LITERAL' => 1,
- 'AC_CONFIG_FILES' => 1,
- '_AM_COND_IF' => 1,
- 'AM_PATH_GUILE' => 1,
- 'AC_CANONICAL_HOST' => 1,
- 'AM_GNU_GETTEXT' => 1,
- 'AC_FC_SRCEXT' => 1,
- '_AM_COND_ENDIF' => 1,
- '_AM_SUBST_NOTMAKE' => 1,
- 'AM_PROG_F77_C_O' => 1,
- 'AM_PROG_CC_C_O' => 1,
- 'm4_include' => 1,
- 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
- 'AM_XGETTEXT_OPTION' => 1,
- 'AM_PROG_MOC' => 1,
- 'AC_CANONICAL_BUILD' => 1,
- 'AM_PROG_MKDIR_P' => 1,
- 'AC_REQUIRE_AUX_FILE' => 1,
- 'AM_SILENT_RULES' => 1,
- 'm4_sinclude' => 1,
- 'AM_EXTRA_RECURSIVE_TARGETS' => 1,
- 'LT_CONFIG_LTDL_DIR' => 1,
- 'AC_CONFIG_LINKS' => 1,
- 'AC_LIBSOURCE' => 1,
- 'AC_FC_PP_DEFINE' => 1,
- 'AC_CANONICAL_SYSTEM' => 1,
- '_m4_warn' => 1,
- 'AC_FC_PP_SRCEXT' => 1,
- 'AM_PROG_CXX_C_O' => 1,
- 'AM_AUTOMAKE_VERSION' => 1,
- 'AH_OUTPUT' => 1,
- '_LT_AC_TAGCONFIG' => 1,
- 'include' => 1,
- 'AC_CONFIG_SUBDIRS' => 1,
- 'LT_INIT' => 1
- }
- ], 'Autom4te::Request' )
- );
-
diff -Nru munipack-0.5.9/autom4te.cache/traces.0 munipack-0.5.10/autom4te.cache/traces.0
--- munipack-0.5.9/autom4te.cache/traces.0 2017-07-17 23:04:24.000000000 +0000
+++ munipack-0.5.10/autom4te.cache/traces.0 1970-01-01 00:00:00.000000000 +0000
@@ -1,1784 +0,0 @@
-m4trace:/usr/share/aclocal/wxwin.m4:101: -1- AC_DEFUN([WX_CONFIG_OPTIONS], [
- AC_ARG_WITH(wxdir,
- [ --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH],
- [ wx_config_name="$withval/wx-config"
- wx_config_args="--inplace"])
- AC_ARG_WITH(wx-config,
- [ --with-wx-config=CONFIG wx-config script to use (optional)],
- wx_config_name="$withval" )
- AC_ARG_WITH(wx-prefix,
- [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)],
- wx_config_prefix="$withval", wx_config_prefix="")
- AC_ARG_WITH(wx-exec-prefix,
- [ --with-wx-exec-prefix=PREFIX
- Exec prefix where wxWidgets is installed (optional)],
- wx_config_exec_prefix="$withval", wx_config_exec_prefix="")
-])
-m4trace:/usr/share/aclocal/wxwin.m4:121: -1- AC_DEFUN([_WX_PRIVATE_CHECK_VERSION], [
- wx_ver_ok=""
- if test "x$WX_VERSION" != x ; then
- if test $wx_config_major_version -gt $1; then
- wx_ver_ok=yes
- else
- if test $wx_config_major_version -eq $1; then
- if test $wx_config_minor_version -gt $2; then
- wx_ver_ok=yes
- else
- if test $wx_config_minor_version -eq $2; then
- if test $wx_config_micro_version -ge $3; then
- wx_ver_ok=yes
- fi
- fi
- fi
- fi
- fi
- fi
-])
-m4trace:/usr/share/aclocal/wxwin.m4:170: -1- AC_DEFUN([WX_CONFIG_CHECK], [
- dnl do we have wx-config name: it can be wx-config or wxd-config or ...
- if test x${WX_CONFIG_NAME+set} != xset ; then
- WX_CONFIG_NAME=wx-config
- fi
-
- if test "x$wx_config_name" != x ; then
- WX_CONFIG_NAME="$wx_config_name"
- fi
-
- dnl deal with optional prefixes
- if test x$wx_config_exec_prefix != x ; then
- wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
- WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
- fi
- if test x$wx_config_prefix != x ; then
- wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
- WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
- fi
- if test "$cross_compiling" = "yes"; then
- wx_config_args="$wx_config_args --host=$host_alias"
- fi
-
- dnl don't search the PATH if WX_CONFIG_NAME is absolute filename
- if test -x "$WX_CONFIG_NAME" ; then
- AC_MSG_CHECKING(for wx-config)
- WX_CONFIG_PATH="$WX_CONFIG_NAME"
- AC_MSG_RESULT($WX_CONFIG_PATH)
- else
- AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH")
- fi
-
- if test "$WX_CONFIG_PATH" != "no" ; then
- WX_VERSION=""
-
- min_wx_version=ifelse([$1], ,2.2.1,$1)
- if test -z "$5" ; then
- AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version])
- else
- AC_MSG_CHECKING([for wxWidgets version >= $min_wx_version ($5)])
- fi
-
- dnl don't add the libraries ($4) to this variable as this would result in
- dnl an error when it's used with --version below
- WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $5"
-
- WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
- wx_config_major_version=`echo $WX_VERSION | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- wx_config_minor_version=`echo $WX_VERSION | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- wx_config_micro_version=`echo $WX_VERSION | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-
- wx_requested_major_version=`echo $min_wx_version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
- wx_requested_minor_version=`echo $min_wx_version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- wx_requested_micro_version=`echo $min_wx_version | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-
- _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version],
- [$wx_requested_minor_version],
- [$wx_requested_micro_version])
-
- if test -n "$wx_ver_ok"; then
- AC_MSG_RESULT(yes (version $WX_VERSION))
- WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs $4`
-
- dnl is this even still appropriate? --static is a real option now
- dnl and WX_CONFIG_WITH_ARGS is likely to contain it if that is
- dnl what the user actually wants, making this redundant at best.
- dnl For now keep it in case anyone actually used it in the past.
- AC_MSG_CHECKING([for wxWidgets static library])
- WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs $4 2>/dev/null`
- if test "x$WX_LIBS_STATIC" = "x"; then
- AC_MSG_RESULT(no)
- else
- AC_MSG_RESULT(yes)
- fi
-
- dnl starting with version 2.2.6 wx-config has --cppflags argument
- wx_has_cppflags=""
- if test $wx_config_major_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -gt 2; then
- wx_has_cppflags=yes
- else
- if test $wx_config_minor_version -eq 2; then
- if test $wx_config_micro_version -ge 6; then
- wx_has_cppflags=yes
- fi
- fi
- fi
- fi
- fi
-
- dnl starting with version 2.7.0 wx-config has --rescomp option
- wx_has_rescomp=""
- if test $wx_config_major_version -gt 2; then
- wx_has_rescomp=yes
- else
- if test $wx_config_major_version -eq 2; then
- if test $wx_config_minor_version -ge 7; then
- wx_has_rescomp=yes
- fi
- fi
- fi
- if test "x$wx_has_rescomp" = x ; then
- dnl cannot give any useful info for resource compiler
- WX_RESCOMP=
- else
- WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
- fi
-
- if test "x$wx_has_cppflags" = x ; then
- dnl no choice but to define all flags like CFLAGS
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4`
- WX_CPPFLAGS=$WX_CFLAGS
- WX_CXXFLAGS=$WX_CFLAGS
-
- WX_CFLAGS_ONLY=$WX_CFLAGS
- WX_CXXFLAGS_ONLY=$WX_CFLAGS
- else
- dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS
- WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags $4`
- WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags $4`
- WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags $4`
-
- WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
- WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
- fi
-
- ifelse([$2], , :, [$2])
-
- else
-
- if test "x$WX_VERSION" = x; then
- dnl no wx-config at all
- AC_MSG_RESULT(no)
- else
- AC_MSG_RESULT(no (version $WX_VERSION is not new enough))
- fi
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- if test ! -z "$5"; then
-
- wx_error_message="
- The configuration you asked for $PACKAGE_NAME requires a wxWidgets
- build with the following settings:
- $5
- but such build is not available.
-
- To see the wxWidgets builds available on this system, please use
- 'wx-config --list' command. To use the default build, returned by
- 'wx-config --selected-config', use the options with their 'auto'
- default values."
-
- fi
-
- wx_error_message="
- The requested wxWidgets build couldn't be found.
- $wx_error_message
-
- If you still get this error, then check that 'wx-config' is
- in path, the directory where wxWidgets libraries are installed
- (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
- or equivalent variable and wxWidgets version is $1 or above."
-
- ifelse([$3], , AC_MSG_ERROR([$wx_error_message]), [$3])
-
- fi
- else
-
- WX_CFLAGS=""
- WX_CPPFLAGS=""
- WX_CXXFLAGS=""
- WX_LIBS=""
- WX_LIBS_STATIC=""
- WX_RESCOMP=""
-
- ifelse([$3], , :, [$3])
-
- fi
-
- AC_SUBST(WX_CPPFLAGS)
- AC_SUBST(WX_CFLAGS)
- AC_SUBST(WX_CXXFLAGS)
- AC_SUBST(WX_CFLAGS_ONLY)
- AC_SUBST(WX_CXXFLAGS_ONLY)
- AC_SUBST(WX_LIBS)
- AC_SUBST(WX_LIBS_STATIC)
- AC_SUBST(WX_VERSION)
- AC_SUBST(WX_RESCOMP)
-
- dnl need to export also WX_VERSION_MINOR and WX_VERSION_MAJOR symbols
- dnl to support wxpresets bakefiles (we export also WX_VERSION_MICRO for completeness):
- WX_VERSION_MAJOR="$wx_config_major_version"
- WX_VERSION_MINOR="$wx_config_minor_version"
- WX_VERSION_MICRO="$wx_config_micro_version"
- AC_SUBST(WX_VERSION_MAJOR)
- AC_SUBST(WX_VERSION_MINOR)
- AC_SUBST(WX_VERSION_MICRO)
-])
-m4trace:/usr/share/aclocal/wxwin.m4:436: -1- AC_DEFUN([WXRC_CHECK], [
- AC_ARG_VAR([WXRC], [Path to wxWidget's wxrc resource compiler])
-
- if test "x$WX_CONFIG_NAME" = x; then
- AC_MSG_ERROR([The wxrc tests must run after wxWidgets test.])
- else
-
- AC_MSG_CHECKING([for wxrc])
-
- if test "x$WXRC" = x ; then
- dnl wx-config --utility is a new addition to wxWidgets:
- _WX_PRIVATE_CHECK_VERSION(2,5,3)
- if test -n "$wx_ver_ok"; then
- WXRC=`$WX_CONFIG_WITH_ARGS --utility=wxrc`
- fi
- fi
-
- if test "x$WXRC" = x ; then
- AC_MSG_RESULT([not found])
- ifelse([$2], , :, [$2])
- else
- AC_MSG_RESULT([$WXRC])
- ifelse([$1], , :, [$1])
- fi
-
- AC_SUBST(WXRC)
- fi
-])
-m4trace:/usr/share/aclocal/wxwin.m4:476: -1- AC_DEFUN([WX_LIKE_LIBNAME], [
- wx_temp="$2""_""$WX_PORT"
-
- dnl add the [u][d] string
- if test "$WX_UNICODE" = "1"; then
- wx_temp="$wx_temp""u"
- fi
- if test "$WX_DEBUG" = "1"; then
- wx_temp="$wx_temp""d"
- fi
-
- dnl complete the name of the lib
- wx_temp="$wx_temp""_""$3""-$WX_VERSION_MAJOR.$WX_VERSION_MINOR"
-
- dnl save it in the user's variable
- $1=$wx_temp
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:506: -1- AC_DEFUN([WX_ARG_ENABLE_YESNOAUTO], [AC_ARG_ENABLE($1,
- AC_HELP_STRING([--enable-$1], [$3 (default is $4)]),
- [], [enableval="$4"])
-
- dnl Show a message to the user about this option
- AC_MSG_CHECKING([for the --enable-$1 option])
- if test "$enableval" = "yes" ; then
- AC_MSG_RESULT([yes])
- $2=1
- $5
- elif test "$enableval" = "no" ; then
- AC_MSG_RESULT([no])
- $2=0
- elif test "$enableval" = "auto" ; then
- AC_MSG_RESULT([will be automatically detected])
- $2="auto"
- else
- AC_MSG_ERROR([
- Unrecognized option value (allowed values: yes, no, auto)
- ])
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:530: -1- AC_DEFUN([WX_ARG_WITH_YESNOAUTO], [AC_ARG_WITH($1,
- AC_HELP_STRING([--with-$1], [$3 (default is $4)]),
- [], [withval="$4"])
-
- dnl Show a message to the user about this option
- AC_MSG_CHECKING([for the --with-$1 option])
- if test "$withval" = "yes" ; then
- AC_MSG_RESULT([yes])
- $2=1
- $5
- dnl NB: by default we don't allow --with-$1=no option
- dnl since it does not make much sense !
- elif test "$6" = "1" -a "$withval" = "no" ; then
- AC_MSG_RESULT([no])
- $2=0
- elif test "$withval" = "auto" ; then
- AC_MSG_RESULT([will be automatically detected])
- $2="auto"
- else
- AC_MSG_ERROR([
- Unrecognized option value (allowed values: yes, auto)
- ])
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:571: -1- AC_DEFUN([WX_STANDARD_OPTIONS], [
-
- dnl the following lines will expand to WX_ARG_ENABLE_YESNOAUTO calls if and only if
- dnl the $1 argument contains respectively the debug,unicode or shared options.
-
- dnl be careful here not to set debug flag if only "wxdebug" was specified
- ifelse(regexp([$1], [\bdebug]), [-1],,
- [WX_ARG_ENABLE_YESNOAUTO([debug], [DEBUG], [Build in debug mode], [auto])])
-
- ifelse(index([$1], [unicode]), [-1],,
- [WX_ARG_ENABLE_YESNOAUTO([unicode], [UNICODE], [Build in Unicode mode], [auto])])
-
- ifelse(regexp([$1], [\bshared]), [-1],,
- [WX_ARG_ENABLE_YESNOAUTO([shared], [SHARED], [Build as shared library], [auto])])
-
- dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-toolkit since it's an option
- dnl which must be able to accept the auto|gtk1|gtk2|msw|... values
- ifelse(index([$1], [toolkit]), [-1],,
- [
- AC_ARG_WITH([toolkit],
- AC_HELP_STRING([--with-toolkit],
- [Build against a specific wxWidgets toolkit (default is auto)]),
- [], [withval="auto"])
-
- dnl Show a message to the user about this option
- AC_MSG_CHECKING([for the --with-toolkit option])
- if test "$withval" = "auto" ; then
- AC_MSG_RESULT([will be automatically detected])
- TOOLKIT="auto"
- else
- TOOLKIT="$withval"
-
- dnl PORT must be one of the allowed values
- if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
- "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
- "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \
- "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11"; then
- AC_MSG_ERROR([
- Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, osx_carbon, osx_cocoa, dfb, x11)
- ])
- fi
-
- AC_MSG_RESULT([$TOOLKIT])
- fi
- ])
-
- dnl ****** IMPORTANT *******
- dnl Unlike for the UNICODE setting, you can build your program in
- dnl shared mode against a static build of wxWidgets. Thus we have the
- dnl following option which allows these mixtures. E.g.
- dnl
- dnl ./configure --disable-shared --with-wxshared
- dnl
- dnl will build your library in static mode against the first available
- dnl shared build of wxWidgets.
- dnl
- dnl Note that's not possible to do the viceversa:
- dnl
- dnl ./configure --enable-shared --without-wxshared
- dnl
- dnl Doing so you would try to build your library in shared mode against a static
- dnl build of wxWidgets. This is not possible (you would mix PIC and non PIC code) !
- dnl A check for this combination of options is in WX_DETECT_STANDARD_OPTION_VALUES
- dnl (where we know what 'auto' should be expanded to).
- dnl
- dnl If you try to build something in ANSI mode against a UNICODE build
- dnl of wxWidgets or in RELEASE mode against a DEBUG build of wxWidgets,
- dnl then at best you'll get ton of linking errors !
- dnl ************************
-
- ifelse(index([$1], [wxshared]), [-1],,
- [
- WX_ARG_WITH_YESNOAUTO(
- [wxshared], [WX_SHARED],
- [Force building against a shared build of wxWidgets, even if --disable-shared is given],
- [auto], [], [1])
- ])
-
- dnl Just like for SHARED and WX_SHARED it may happen that some adventurous
- dnl peoples will want to mix a wxWidgets release build with a debug build of
- dnl his app/lib. So, we have both DEBUG and WX_DEBUG variables.
- ifelse(index([$1], [wxdebug]), [-1],,
- [
- WX_ARG_WITH_YESNOAUTO(
- [wxdebug], [WX_DEBUG],
- [Force building against a debug build of wxWidgets, even if --disable-debug is given],
- [auto], [], [1])
- ])
-
- dnl WX_ARG_WITH_YESNOAUTO cannot be used for --with-wxversion since it's an option
- dnl which accepts the "auto|2.6|2.7|2.8|2.9|3.0" etc etc values
- ifelse(index([$1], [wxversion]), [-1],,
- [
- AC_ARG_WITH([wxversion],
- AC_HELP_STRING([--with-wxversion],
- [Build against a specific version of wxWidgets (default is auto)]),
- [], [withval="auto"])
-
- dnl Show a message to the user about this option
- AC_MSG_CHECKING([for the --with-wxversion option])
- if test "$withval" = "auto" ; then
- AC_MSG_RESULT([will be automatically detected])
- WX_RELEASE="auto"
- else
-
- wx_requested_major_version=`echo $withval | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\1/'`
- wx_requested_minor_version=`echo $withval | \
- sed 's/\([[0-9]]*\).\([[0-9]]*\).*/\2/'`
-
- dnl both vars above must be exactly 1 digit
- if test "${#wx_requested_major_version}" != "1" -o \
- "${#wx_requested_minor_version}" != "1" ; then
- AC_MSG_ERROR([
- Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0)
- ])
- fi
-
- WX_RELEASE="$wx_requested_major_version"".""$wx_requested_minor_version"
- AC_MSG_RESULT([$WX_RELEASE])
- fi
- ])
-
- if test "$WX_DEBUG_CONFIGURE" = "1"; then
- echo "[[dbg]] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
- echo "[[dbg]] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
- echo "[[dbg]] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
- echo "[[dbg]] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
- echo "[[dbg]] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE"
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:712: -1- AC_DEFUN([WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS], [
- if test "$WX_SHARED" = "1" ; then
- WXCONFIG_FLAGS="--static=no "
- elif test "$WX_SHARED" = "0" ; then
- WXCONFIG_FLAGS="--static=yes "
- fi
-
- if test "$WX_DEBUG" = "1" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
- elif test "$WX_DEBUG" = "0" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
- fi
-
- dnl The user should have set WX_UNICODE=UNICODE
- if test "$WX_UNICODE" = "1" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
- elif test "$WX_UNICODE" = "0" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
- fi
-
- if test "$TOOLKIT" != "auto" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
- fi
-
- if test "$WX_RELEASE" != "auto" ; then
- WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
- fi
-
- dnl strip out the last space of the string
- WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
-
- if test "$WX_DEBUG_CONFIGURE" = "1"; then
- echo "[[dbg]] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:758: -1- AC_DEFUN([_WX_SELECTEDCONFIG_CHECKFOR], [
- if test "$$1" = "auto" ; then
-
- dnl The user does not have particular preferences for this option;
- dnl so we will detect the wxWidgets relative build setting and use it
- AC_MSG_CHECKING([$3])
-
- dnl set WX_$1 variable to 1 if the $WX_SELECTEDCONFIG contains the $2
- dnl string or to 0 otherwise.
- dnl NOTE: 'expr match STRING REGEXP' cannot be used since on Mac it
- dnl doesn't work; we use 'expr STRING : REGEXP' instead
- WX_$1=$(expr "$WX_SELECTEDCONFIG" : ".*$2.*")
-
- if test "$WX_$1" != "0"; then
- WX_$1=1
- AC_MSG_RESULT([yes])
- ifelse([$4], , :, [$4])
- else
- WX_$1=0
- AC_MSG_RESULT([no])
- ifelse([$5], , :, [$5])
- fi
- else
-
- dnl Use the setting given by the user
- WX_$1=$$1
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:803: -1- AC_DEFUN([WX_DETECT_STANDARD_OPTION_VALUES], [
- dnl IMPORTANT: WX_VERSION contains all three major.minor.micro digits,
- dnl while WX_RELEASE only the major.minor ones.
- WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
- if test $WX_RELEASE -lt 26 ; then
-
- AC_MSG_ERROR([
- Cannot detect the wxWidgets configuration for the selected wxWidgets build
- since its version is $WX_VERSION < 2.6.0; please install a newer
- version of wxWidgets.
- ])
- fi
-
- dnl The wx-config we are using understands the "--selected_config"
- dnl option which returns an easy-parseable string !
- WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
-
- if test "$WX_DEBUG_CONFIGURE" = "1"; then
- echo "[[dbg]] Using wx-config --selected-config"
- echo "[[dbg]] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
- fi
-
-
- dnl we could test directly for WX_SHARED with a line like:
- dnl _WX_SELECTEDCONFIG_CHECKFOR([SHARED], [shared],
- dnl [if wxWidgets was built in SHARED mode])
- dnl but wx-config --selected-config DOES NOT outputs the 'shared'
- dnl word when wx was built in shared mode; it rather outputs the
- dnl 'static' word when built in static mode.
- if test $WX_SHARED = "1"; then
- STATIC=0
- elif test $WX_SHARED = "0"; then
- STATIC=1
- elif test $WX_SHARED = "auto"; then
- STATIC="auto"
- fi
-
- dnl Now set the WX_UNICODE, WX_DEBUG, WX_STATIC variables
- _WX_SELECTEDCONFIG_CHECKFOR([UNICODE], [unicode],
- [if wxWidgets was built with UNICODE enabled])
- _WX_SELECTEDCONFIG_CHECKFOR([DEBUG], [debug],
- [if wxWidgets was built in DEBUG mode])
- _WX_SELECTEDCONFIG_CHECKFOR([STATIC], [static],
- [if wxWidgets was built in STATIC mode])
-
- dnl init WX_SHARED from WX_STATIC
- if test "$WX_STATIC" != "0"; then
- WX_SHARED=0
- else
- WX_SHARED=1
- fi
-
- AC_SUBST(WX_UNICODE)
- AC_SUBST(WX_DEBUG)
- AC_SUBST(WX_SHARED)
-
- dnl detect the WX_PORT to use
- if test "$TOOLKIT" = "auto" ; then
-
- dnl The user does not have particular preferences for this option;
- dnl so we will detect the wxWidgets relative build setting and use it
- AC_MSG_CHECKING([which wxWidgets toolkit was selected])
-
- WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
- WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
- WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
- WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
- WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
- WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
- WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
- WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
-
- WX_PORT="unknown"
- if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
- if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
- if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
- if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
- if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
- if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi
- if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
- if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
-
- dnl NOTE: backward-compatible check for wx2.8; in wx2.9 the mac
- dnl ports are called 'osx_cocoa' and 'osx_carbon' (see above)
- WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
- if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
-
- dnl check at least one of the WX_*PORT has been set !
-
- if test "$WX_PORT" = "unknown" ; then
- AC_MSG_ERROR([
- Cannot detect the currently installed wxWidgets port !
- Please check your 'wx-config --cxxflags'...
- ])
- fi
-
- AC_MSG_RESULT([$WX_PORT])
- else
-
- dnl Use the setting given by the user
- if test -z "$TOOLKIT" ; then
- WX_PORT=$TOOLKIT
- else
- dnl try with PORT
- WX_PORT=$PORT
- fi
- fi
-
- AC_SUBST(WX_PORT)
-
- if test "$WX_DEBUG_CONFIGURE" = "1"; then
- echo "[[dbg]] Values of all WX_* options after final detection:"
- echo "[[dbg]] WX_DEBUG: $WX_DEBUG"
- echo "[[dbg]] WX_UNICODE: $WX_UNICODE"
- echo "[[dbg]] WX_SHARED: $WX_SHARED"
- echo "[[dbg]] WX_RELEASE: $WX_RELEASE"
- echo "[[dbg]] WX_PORT: $WX_PORT"
- fi
-
- dnl Avoid problem described in the WX_STANDARD_OPTIONS which happens when
- dnl the user gives the options:
- dnl ./configure --enable-shared --without-wxshared
- dnl or just do
- dnl ./configure --enable-shared
- dnl but there is only a static build of wxWidgets available.
- if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
- AC_MSG_ERROR([
- Cannot build shared library against a static build of wxWidgets !
- This error happens because the wxWidgets build which was selected
- has been detected as static while you asked to build $PACKAGE_NAME
- as shared library and this is not possible.
- Use the '--disable-shared' option to build $PACKAGE_NAME
- as static library or '--with-wxshared' to use wxWidgets as shared library.
- ])
- fi
-
- dnl now we can finally update the DEBUG,UNICODE,SHARED options
- dnl to their final values if they were set to 'auto'
- if test "$DEBUG" = "auto"; then
- DEBUG=$WX_DEBUG
- fi
- if test "$UNICODE" = "auto"; then
- UNICODE=$WX_UNICODE
- fi
- if test "$SHARED" = "auto"; then
- SHARED=$WX_SHARED
- fi
- if test "$TOOLKIT" = "auto"; then
- TOOLKIT=$WX_PORT
- fi
-
- dnl in case the user needs a BUILD=debug/release var...
- if test "$DEBUG" = "1"; then
- BUILD="debug"
- elif test "$DEBUG" = "0" -o "$DEBUG" = ""; then
- BUILD="release"
- fi
-
- dnl respect the DEBUG variable adding the optimize/debug flags
- dnl NOTE: the CXXFLAGS are merged together with the CPPFLAGS so we
- dnl don't need to set them, too
- if test "$DEBUG" = "1"; then
- CXXFLAGS="$CXXFLAGS -g -O0"
- CFLAGS="$CFLAGS -g -O0"
- else
- CXXFLAGS="$CXXFLAGS -O2"
- CFLAGS="$CFLAGS -O2"
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:986: -1- AC_DEFUN([WX_BOOLOPT_SUMMARY], [
- if test "x$$1" = "x1" ; then
- echo $2
- elif test "x$$1" = "x0" ; then
- echo $3
- else
- echo "$1 is $$1"
- fi
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:1003: -1- AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG], [
- echo
- echo " The wxWidgets build which will be used by $PACKAGE_NAME $PACKAGE_VERSION"
- echo " has the following settings:"
- WX_BOOLOPT_SUMMARY([WX_DEBUG], [" - DEBUG build"], [" - RELEASE build"])
- WX_BOOLOPT_SUMMARY([WX_UNICODE], [" - UNICODE mode"], [" - ANSI mode"])
- WX_BOOLOPT_SUMMARY([WX_SHARED], [" - SHARED mode"], [" - STATIC mode"])
- echo " - VERSION: $WX_VERSION"
- echo " - PORT: $WX_PORT"
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:1030: -1- AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN], [
- echo
- echo " ----------------------------------------------------------------"
- echo " Configuration for $PACKAGE_NAME $PACKAGE_VERSION successfully completed."
- echo " Summary of main configuration settings for $PACKAGE_NAME:"
- WX_BOOLOPT_SUMMARY([DEBUG], [" - DEBUG build"], [" - RELEASE build"])
- WX_BOOLOPT_SUMMARY([UNICODE], [" - UNICODE mode"], [" - ANSI mode"])
- WX_BOOLOPT_SUMMARY([SHARED], [" - SHARED mode"], [" - STATIC mode"])
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:1041: -1- AC_DEFUN([WX_STANDARD_OPTIONS_SUMMARY_MSG_END], [
- WX_STANDARD_OPTIONS_SUMMARY_MSG
- echo
- echo " Now, just run make."
- echo " ----------------------------------------------------------------"
- echo
- ])
-m4trace:/usr/share/aclocal/wxwin.m4:1055: -1- AC_DEFUN([AM_OPTIONS_WXCONFIG], [WX_CONFIG_OPTIONS])
-m4trace:/usr/share/aclocal/wxwin.m4:1056: -1- AC_DEFUN([AM_PATH_WXCONFIG], [
- WX_CONFIG_CHECK([$1],[$2],[$3],[$4],[$5])
-])
-m4trace:/usr/share/aclocal/wxwin.m4:1059: -1- AC_DEFUN([AM_PATH_WXRC], [WXRC_CHECK([$1],[$2])])
-m4trace:/usr/share/aclocal-1.15/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.15], [],
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-m4trace:/usr/share/aclocal-1.15/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-m4trace:/usr/share/aclocal-1.15/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
-# Expand $ac_aux_dir to an absolute path.
-am_aux_dir=`cd "$ac_aux_dir" && pwd`
-])
-m4trace:/usr/share/aclocal-1.15/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
- m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-m4trace:/usr/share/aclocal-1.15/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
- [$1], [CXX], [depcc="$CXX" am_compiler_list=],
- [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
- [$1], [UPC], [depcc="$UPC" am_compiler_list=],
- [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-m4trace:/usr/share/aclocal-1.15/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-m4trace:/usr/share/aclocal-1.15/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
-AS_HELP_STRING(
- [--enable-dependency-tracking],
- [do not reject slow dependency extractors])
-AS_HELP_STRING(
- [--disable-dependency-tracking],
- [speeds up one-time build])])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-m4trace:/usr/share/aclocal-1.15/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
- # Older Autoconf quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])
-m4trace:/usr/share/aclocal-1.15/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-m4trace:/usr/share/aclocal-1.15/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[AC_DIAGNOSE([obsolete],
- [$0: two- and three-arguments forms are deprecated.])
-m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(
- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
- [ok:ok],,
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
- AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
-AM_MISSING_PROG([AUTOCONF], [autoconf])
-AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
-AM_MISSING_PROG([AUTOHEADER], [autoheader])
-AM_MISSING_PROG([MAKEINFO], [makeinfo])
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-#
-#
-AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
-# We need awk for the "check" target (and possibly the TAP driver). The
-# system "awk" is bad on some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES([CC])],
- [m4_define([AC_PROG_CC],
- m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES([CXX])],
- [m4_define([AC_PROG_CXX],
- m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES([OBJC])],
- [m4_define([AC_PROG_OBJC],
- m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
- [_AM_DEPENDENCIES([OBJCXX])],
- [m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
-])
-AC_REQUIRE([AM_SILENT_RULES])dnl
-dnl The testsuite driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
-dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
-AC_CONFIG_COMMANDS_PRE(dnl
-[m4_provide_if([_AM_COMPILER_EXEEXT],
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard:
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: .
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
- fi
-fi
-dnl The trailing newline in this macro's definition is deliberate, for
-dnl backward compatibility and to allow trailing 'dnl'-style comments
-dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
-])
-m4trace:/usr/share/aclocal-1.15/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
-_am_arg=$1
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-m4trace:/usr/share/aclocal-1.15/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-AC_SUBST([install_sh])])
-m4trace:/usr/share/aclocal-1.15/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-m4trace:/usr/share/aclocal-1.15/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-m4trace:/usr/share/aclocal-1.15/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-m4trace:/usr/share/aclocal-1.15/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([missing])dnl
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --is-lightweight"; then
- am_missing_run="$MISSING "
-else
- am_missing_run=
- AC_MSG_WARN(['missing' script is too old or missing])
-fi
-])
-m4trace:/usr/share/aclocal-1.15/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-m4trace:/usr/share/aclocal-1.15/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
-m4trace:/usr/share/aclocal-1.15/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-m4trace:/usr/share/aclocal-1.15/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([compile])dnl
-AC_LANG_PUSH([C])dnl
-AC_CACHE_CHECK(
- [whether $CC understands -c and -o together],
- [am_cv_prog_cc_c_o],
- [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i])
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-AC_LANG_POP([C])])
-m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
-m4trace:/usr/share/aclocal-1.15/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
- ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
- (exit $ac_status); }])
-m4trace:/usr/share/aclocal-1.15/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[[\\\"\#\$\&\'\`$am_lf]]*)
- AC_MSG_ERROR([unsafe absolute working directory name]);;
-esac
-case $srcdir in
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
- alias in your environment])
- fi
- if test "$[2]" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT([yes])
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-AC_CONFIG_COMMANDS_PRE(
- [AC_MSG_CHECKING([that generated files are newer than configure])
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- AC_MSG_RESULT([done])])
-rm -f conftest.file
-])
-m4trace:/usr/share/aclocal-1.15/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
-AS_HELP_STRING(
- [--enable-silent-rules],
- [less verbose build output (undo: "make V=1")])
-AS_HELP_STRING(
- [--disable-silent-rules],
- [verbose build output (undo: "make V=0")])dnl
-])
-case $enable_silent_rules in @%:@ (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
-esac
-dnl
-dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
-dnl do not support nested variable expansions.
-dnl See automake bug#9928 and bug#10237.
-am_make=${MAKE-make}
-AC_CACHE_CHECK([whether $am_make supports nested variables],
- [am_cv_make_support_nested_variables],
- [if AS_ECHO([['TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi])
-if test $am_cv_make_support_nested_variables = yes; then
- dnl Using '$V' instead of '$(V)' breaks IRIX make.
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AC_SUBST([AM_V])dnl
-AM_SUBST_NOTMAKE([AM_V])dnl
-AC_SUBST([AM_DEFAULT_V])dnl
-AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
-AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
-AM_BACKSLASH='\'
-AC_SUBST([AM_BACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
-])
-m4trace:/usr/share/aclocal-1.15/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-m4trace:/usr/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
-m4trace:/usr/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-m4trace:/usr/share/aclocal-1.15/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AC_SUBST([AMTAR], ['$${TAR-tar}'])
-
-# We'll loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-
-m4_if([$1], [v7],
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
-
- [m4_case([$1],
- [ustar],
- [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
- # There is notably a 21 bits limit for the UID and the GID. In fact,
- # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
- # and bug#13588).
- am_max_uid=2097151 # 2^21 - 1
- am_max_gid=$am_max_uid
- # The $UID and $GID variables are not portable, so we need to resort
- # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
- # below are definitely unexpected, so allow the users to see them
- # (that is, avoid stderr redirection).
- am_uid=`id -u || echo unknown`
- am_gid=`id -g || echo unknown`
- AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
- if test $am_uid -le $am_max_uid; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- _am_tools=none
- fi
- AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
- if test $am_gid -le $am_max_gid; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- _am_tools=none
- fi],
-
- [pax],
- [],
-
- [m4_fatal([Unknown tar format])])
-
- AC_MSG_CHECKING([how to create a $1 tar archive])
-
- # Go ahead even if we have the value already cached. We do so because we
- # need to set the values for the 'am__tar' and 'am__untar' variables.
- _am_tools=${am_cv_prog_tar_$1-$_am_tools}
-
- for _am_tool in $_am_tools; do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar; do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works.
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar /dev/null 2>&1 && break
- fi
- done
- rm -rf conftest.dir
-
- AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
- AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^runstatedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^develop$])
-m4trace:configure.ac:27: -1- m4_pattern_allow([^DEVELBUILD$])
-m4trace:configure.ac:28: -1- m4_pattern_allow([^DATEBUILD$])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build$])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_cpu$])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_vendor$])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_os$])
-m4trace:configure.ac:34: -1- AM_INIT_AUTOMAKE
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
-m4trace:configure.ac:34: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
-m4trace:configure.ac:34: -1- AM_AUTOMAKE_VERSION([1.15])
-m4trace:configure.ac:34: -1- _AM_AUTOCONF_VERSION([2.69])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__isrc$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__isrc])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^CYGPATH_W$])
-m4trace:configure.ac:34: -1- _AM_SET_OPTIONS([])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
- AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
-m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-define])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:34: -1- AM_SANITY_CHECK
-m4trace:configure.ac:34: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
-m4trace:configure.ac:34: -1- AM_MISSING_HAS_RUN
-m4trace:configure.ac:34: -1- AM_AUX_DIR_EXPAND
-m4trace:configure.ac:34: -1- m4_pattern_allow([^ACLOCAL$])
-m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOCONF$])
-m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOMAKE$])
-m4trace:configure.ac:34: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOHEADER$])
-m4trace:configure.ac:34: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^MAKEINFO$])
-m4trace:configure.ac:34: -1- AM_PROG_INSTALL_SH
-m4trace:configure.ac:34: -1- m4_pattern_allow([^install_sh$])
-m4trace:configure.ac:34: -1- AM_PROG_INSTALL_STRIP
-m4trace:configure.ac:34: -1- m4_pattern_allow([^STRIP$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^MKDIR_P$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^mkdir_p$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AWK$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:34: -1- AM_SET_LEADING_DOT
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__leading_dot$])
-m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-ustar])
-m4trace:configure.ac:34: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
-m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([tar-pax])
-m4trace:configure.ac:34: -1- _AM_PROG_TAR([v7])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AMTAR$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__tar$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__untar$])
-m4trace:configure.ac:34: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES([CC])],
- [m4_define([AC_PROG_CC],
- m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES([CXX])],
- [m4_define([AC_PROG_CXX],
- m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES([OBJC])],
- [m4_define([AC_PROG_OBJC],
- m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
- [_AM_DEPENDENCIES([OBJCXX])],
- [m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
-])
-m4trace:configure.ac:34: -2- _AM_MANGLE_OPTION([no-dependencies])
-m4trace:configure.ac:34: -1- AM_SILENT_RULES
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_V$])
-m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_V])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_V])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_V$])
-m4trace:configure.ac:34: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_BACKSLASH$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.ac:36: -1- _AM_PROG_CC_C_O
-m4trace:configure.ac:36: -1- AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext])
-m4trace:configure.ac:36: -1- _AM_DEPENDENCIES([CC])
-m4trace:configure.ac:36: -1- AM_SET_DEPDIR
-m4trace:configure.ac:36: -1- m4_pattern_allow([^DEPDIR$])
-m4trace:configure.ac:36: -1- AM_OUTPUT_DEPENDENCY_COMMANDS
-m4trace:configure.ac:36: -1- AM_MAKE_INCLUDE
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__include$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__quote$])
-m4trace:configure.ac:36: -1- AM_DEP_TRACK
-m4trace:configure.ac:36: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEP_TRUE$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEP_FALSE$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__nodep$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__nodep])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CCDEPMODE$])
-m4trace:configure.ac:36: -1- AM_CONDITIONAL([am__fastdepCC], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXXFLAGS$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^ac_ct_CXX$])
-m4trace:configure.ac:37: -1- _AM_DEPENDENCIES([CXX])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXXDEPMODE$])
-m4trace:configure.ac:37: -1- AM_CONDITIONAL([am__fastdepCXX], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FC$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FCFLAGS$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FC$])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^ac_ct_FC$])
-m4trace:configure.ac:40: -1- m4_pattern_allow([^RANLIB$])
-m4trace:configure.ac:42: -1- m4_pattern_allow([^LN_S$])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:47: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:48: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
-m4trace:configure.ac:49: -1- m4_pattern_allow([^const$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^malloc$])
-m4trace:configure.ac:52: -1- m4_pattern_allow([^FC_MODINC$])
-m4trace:configure.ac:52: -1- m4_pattern_allow([^ac_empty$])
-m4trace:configure.ac:53: -1- m4_pattern_allow([^FC_MODOUT$])
-m4trace:configure.ac:53: -1- m4_pattern_allow([^ac_empty$])
-m4trace:configure.ac:54: -1- m4_pattern_allow([^FC_MODEXT$])
-m4trace:configure.ac:72: -1- m4_pattern_allow([^HAVE_FITSIO_H$])
-m4trace:configure.ac:73: -2- m4_pattern_allow([^LIBCFITSIO$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^HAVE_LIBMINPACK$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^FFLAGS$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^ac_ct_F77$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^MINPACKDIR$])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LDMINPACK$])
-m4trace:configure.ac:84: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:84: the top level])
-m4trace:configure.ac:85: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:85: the top level])
-m4trace:configure.ac:86: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:86: the top level])
-m4trace:configure.ac:91: -1- AM_OPTIONS_WXCONFIG
-m4trace:configure.ac:91: -1- WX_CONFIG_OPTIONS
-m4trace:configure.ac:92: -1- AM_PATH_WXCONFIG([3.0.0], [wxWin=1])
-m4trace:configure.ac:92: -1- WX_CONFIG_CHECK([3.0.0], [wxWin=1], [], [], [])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CONFIG_PATH$])
-m4trace:configure.ac:92: -1- _WX_PRIVATE_CHECK_VERSION([$wx_requested_major_version], [$wx_requested_minor_version], [$wx_requested_micro_version])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CPPFLAGS$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CFLAGS$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CXXFLAGS$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CFLAGS_ONLY$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CXXFLAGS_ONLY$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_LIBS$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_LIBS_STATIC$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_RESCOMP$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MAJOR$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MINOR$])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MICRO$])
-m4trace:configure.ac:129: -1- m4_pattern_allow([^XMUNIPACKDIR$])
-m4trace:configure.ac:130: -1- m4_pattern_allow([^MATPLOTDIR$])
-m4trace:configure.ac:135: -1- m4_pattern_allow([^MUNIPACKDIR$])
-m4trace:configure.ac:136: -1- m4_pattern_allow([^WX_CXXFLAGS_CLI$])
-m4trace:configure.ac:137: -1- m4_pattern_allow([^WX_LIBS_CLI$])
-m4trace:configure.ac:142: -1- m4_pattern_allow([^WX_LIBS_VO$])
-m4trace:configure.ac:143: -1- m4_pattern_allow([^WX_CXXFLAGS_VO$])
-m4trace:configure.ac:144: -1- m4_pattern_allow([^VODIR$])
-m4trace:configure.ac:149: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:149: the top level])
-m4trace:configure.ac:150: -1- AM_CONDITIONAL([BUNDLE], [test "x$enable_bundle" = "xyes"])
-m4trace:configure.ac:150: -1- m4_pattern_allow([^BUNDLE_TRUE$])
-m4trace:configure.ac:150: -1- m4_pattern_allow([^BUNDLE_FALSE$])
-m4trace:configure.ac:150: -1- _AM_SUBST_NOTMAKE([BUNDLE_TRUE])
-m4trace:configure.ac:150: -1- _AM_SUBST_NOTMAKE([BUNDLE_FALSE])
-m4trace:configure.ac:153: -1- m4_pattern_allow([^BUNDLEDIR$])
-m4trace:configure.ac:160: -1- m4_pattern_allow([^LIBGFORTRAN$])
-m4trace:configure.ac:161: -1- m4_pattern_allow([^LIBGCC$])
-m4trace:configure.ac:162: -1- m4_pattern_allow([^LIBSTDCPP$])
-m4trace:configure.ac:166: -1- m4_pattern_allow([^CLEANFILES$])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:177: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:177: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:177: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:177: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
-m4trace:configure.ac:177: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
diff -Nru munipack-0.5.9/autom4te.cache/traces.1 munipack-0.5.10/autom4te.cache/traces.1
--- munipack-0.5.9/autom4te.cache/traces.1 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/autom4te.cache/traces.1 1970-01-01 00:00:00.000000000 +0000
@@ -1,665 +0,0 @@
-m4trace:configure.ac:21: -1- AC_INIT([Munipack], [m4_esyscmd(echo -n $VERSION)], [Filip Hroch ], [munipack], [http://munipack.physics.muni.cz])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?A[CHUM]_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([_AC_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^AS_FLAGS$])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?m4_])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^dnl$])
-m4trace:configure.ac:21: -1- m4_pattern_forbid([^_?AS_])
-m4trace:configure.ac:21: -1- AC_SUBST([SHELL])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([SHELL])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^SHELL$])
-m4trace:configure.ac:21: -1- AC_SUBST([PATH_SEPARATOR])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PATH_SEPARATOR$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_NAME])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_STRING])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:21: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([PACKAGE_URL])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:21: -1- AC_SUBST([exec_prefix], [NONE])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([exec_prefix])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^exec_prefix$])
-m4trace:configure.ac:21: -1- AC_SUBST([prefix], [NONE])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([prefix])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^prefix$])
-m4trace:configure.ac:21: -1- AC_SUBST([program_transform_name], [s,x,x,])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([program_transform_name])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^program_transform_name$])
-m4trace:configure.ac:21: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([bindir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^bindir$])
-m4trace:configure.ac:21: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sbindir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sbindir$])
-m4trace:configure.ac:21: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libexecdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^libexecdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datarootdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^datarootdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([datadir], ['${datarootdir}'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([datadir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^datadir$])
-m4trace:configure.ac:21: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sysconfdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sysconfdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([sharedstatedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^sharedstatedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localstatedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^localstatedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([runstatedir], ['${localstatedir}/run'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([runstatedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^runstatedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([includedir], ['${prefix}/include'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([includedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^includedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([oldincludedir], ['/usr/include'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([oldincludedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^oldincludedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
- ['${datarootdir}/doc/${PACKAGE_TARNAME}'],
- ['${datarootdir}/doc/${PACKAGE}'])])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([docdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^docdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([infodir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^infodir$])
-m4trace:configure.ac:21: -1- AC_SUBST([htmldir], ['${docdir}'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([htmldir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^htmldir$])
-m4trace:configure.ac:21: -1- AC_SUBST([dvidir], ['${docdir}'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([dvidir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^dvidir$])
-m4trace:configure.ac:21: -1- AC_SUBST([pdfdir], ['${docdir}'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([pdfdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^pdfdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([psdir], ['${docdir}'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([psdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^psdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([libdir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^libdir$])
-m4trace:configure.ac:21: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([localedir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^localedir$])
-m4trace:configure.ac:21: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([mandir])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^mandir$])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_NAME$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
-@%:@undef PACKAGE_NAME])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
-@%:@undef PACKAGE_TARNAME])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_VERSION$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
-@%:@undef PACKAGE_VERSION])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_STRING$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
-@%:@undef PACKAGE_STRING])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
-@%:@undef PACKAGE_BUGREPORT])
-m4trace:configure.ac:21: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^PACKAGE_URL$])
-m4trace:configure.ac:21: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
-@%:@undef PACKAGE_URL])
-m4trace:configure.ac:21: -1- AC_SUBST([DEFS])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([DEFS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^DEFS$])
-m4trace:configure.ac:21: -1- AC_SUBST([ECHO_C])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_C])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_C$])
-m4trace:configure.ac:21: -1- AC_SUBST([ECHO_N])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_N])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_N$])
-m4trace:configure.ac:21: -1- AC_SUBST([ECHO_T])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([ECHO_T])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^ECHO_T$])
-m4trace:configure.ac:21: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:21: -1- AC_SUBST([build_alias])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([build_alias])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^build_alias$])
-m4trace:configure.ac:21: -1- AC_SUBST([host_alias])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([host_alias])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^host_alias$])
-m4trace:configure.ac:21: -1- AC_SUBST([target_alias])
-m4trace:configure.ac:21: -1- AC_SUBST_TRACE([target_alias])
-m4trace:configure.ac:21: -1- m4_pattern_allow([^target_alias$])
-m4trace:configure.ac:25: -1- AC_SUBST([develop], [m4_esyscmd(echo -n $DEVELOPMENT)])
-m4trace:configure.ac:25: -1- AC_SUBST_TRACE([develop])
-m4trace:configure.ac:25: -1- m4_pattern_allow([^develop$])
-m4trace:configure.ac:27: -1- AC_DEFINE_TRACE_LITERAL([DEVELBUILD])
-m4trace:configure.ac:27: -1- m4_pattern_allow([^DEVELBUILD$])
-m4trace:configure.ac:27: -1- AH_OUTPUT([DEVELBUILD], [/* indicates development build */
-@%:@undef DEVELBUILD])
-m4trace:configure.ac:28: -1- AC_DEFINE_TRACE_LITERAL([DATEBUILD])
-m4trace:configure.ac:28: -1- m4_pattern_allow([^DATEBUILD$])
-m4trace:configure.ac:28: -1- AH_OUTPUT([DATEBUILD], [/* configure time */
-@%:@undef DATEBUILD])
-m4trace:configure.ac:32: -1- AC_CANONICAL_BUILD
-m4trace:configure.ac:32: -1- AC_REQUIRE_AUX_FILE([config.sub])
-m4trace:configure.ac:32: -1- AC_REQUIRE_AUX_FILE([config.guess])
-m4trace:configure.ac:32: -1- AC_SUBST([build], [$ac_cv_build])
-m4trace:configure.ac:32: -1- AC_SUBST_TRACE([build])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build$])
-m4trace:configure.ac:32: -1- AC_SUBST([build_cpu], [$[1]])
-m4trace:configure.ac:32: -1- AC_SUBST_TRACE([build_cpu])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_cpu$])
-m4trace:configure.ac:32: -1- AC_SUBST([build_vendor], [$[2]])
-m4trace:configure.ac:32: -1- AC_SUBST_TRACE([build_vendor])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_vendor$])
-m4trace:configure.ac:32: -1- AC_SUBST([build_os])
-m4trace:configure.ac:32: -1- AC_SUBST_TRACE([build_os])
-m4trace:configure.ac:32: -1- m4_pattern_allow([^build_os$])
-m4trace:configure.ac:34: -1- AM_INIT_AUTOMAKE
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
-m4trace:configure.ac:34: -1- AM_AUTOMAKE_VERSION([1.15])
-m4trace:configure.ac:34: -1- AC_REQUIRE_AUX_FILE([install-sh])
-m4trace:configure.ac:34: -1- AC_SUBST([INSTALL_PROGRAM])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
-m4trace:configure.ac:34: -1- AC_SUBST([INSTALL_SCRIPT])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
-m4trace:configure.ac:34: -1- AC_SUBST([INSTALL_DATA])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([INSTALL_DATA])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_DATA$])
-m4trace:configure.ac:34: -1- AC_SUBST([am__isrc], [' -I$(srcdir)'])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([am__isrc])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__isrc$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([am__isrc])
-m4trace:configure.ac:34: -1- AC_SUBST([CYGPATH_W])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([CYGPATH_W])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^CYGPATH_W$])
-m4trace:configure.ac:34: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([PACKAGE])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:34: -1- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([VERSION])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^PACKAGE$])
-m4trace:configure.ac:34: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
-@%:@undef PACKAGE])
-m4trace:configure.ac:34: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^VERSION$])
-m4trace:configure.ac:34: -1- AH_OUTPUT([VERSION], [/* Version number of package */
-@%:@undef VERSION])
-m4trace:configure.ac:34: -1- AC_REQUIRE_AUX_FILE([missing])
-m4trace:configure.ac:34: -1- AC_SUBST([ACLOCAL])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([ACLOCAL])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^ACLOCAL$])
-m4trace:configure.ac:34: -1- AC_SUBST([AUTOCONF])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AUTOCONF])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOCONF$])
-m4trace:configure.ac:34: -1- AC_SUBST([AUTOMAKE])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AUTOMAKE])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOMAKE$])
-m4trace:configure.ac:34: -1- AC_SUBST([AUTOHEADER])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AUTOHEADER])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AUTOHEADER$])
-m4trace:configure.ac:34: -1- AC_SUBST([MAKEINFO])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([MAKEINFO])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^MAKEINFO$])
-m4trace:configure.ac:34: -1- AC_SUBST([install_sh])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([install_sh])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^install_sh$])
-m4trace:configure.ac:34: -1- AC_SUBST([STRIP])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([STRIP])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^STRIP$])
-m4trace:configure.ac:34: -1- AC_SUBST([INSTALL_STRIP_PROGRAM])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
-m4trace:configure.ac:34: -1- AC_REQUIRE_AUX_FILE([install-sh])
-m4trace:configure.ac:34: -1- AC_SUBST([MKDIR_P])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([MKDIR_P])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^MKDIR_P$])
-m4trace:configure.ac:34: -1- AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([mkdir_p])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^mkdir_p$])
-m4trace:configure.ac:34: -1- AC_SUBST([AWK])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AWK])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AWK$])
-m4trace:configure.ac:34: -1- AC_SUBST([SET_MAKE])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([SET_MAKE])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:34: -1- AC_SUBST([am__leading_dot])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([am__leading_dot])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__leading_dot$])
-m4trace:configure.ac:34: -1- AC_SUBST([AMTAR], ['$${TAR-tar}'])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AMTAR])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AMTAR$])
-m4trace:configure.ac:34: -1- AC_SUBST([am__tar])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([am__tar])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__tar$])
-m4trace:configure.ac:34: -1- AC_SUBST([am__untar])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([am__untar])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^am__untar$])
-m4trace:configure.ac:34: -1- AM_SILENT_RULES
-m4trace:configure.ac:34: -1- AC_SUBST([AM_V])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AM_V])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_V$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_V])
-m4trace:configure.ac:34: -1- AC_SUBST([AM_DEFAULT_V])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AM_DEFAULT_V])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_V$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
-m4trace:configure.ac:34: -1- AC_SUBST([AM_DEFAULT_VERBOSITY])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AM_DEFAULT_VERBOSITY])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
-m4trace:configure.ac:34: -1- AC_SUBST([AM_BACKSLASH])
-m4trace:configure.ac:34: -1- AC_SUBST_TRACE([AM_BACKSLASH])
-m4trace:configure.ac:34: -1- m4_pattern_allow([^AM_BACKSLASH$])
-m4trace:configure.ac:34: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
-m4trace:configure.ac:36: -1- AC_SUBST([CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([CFLAGS])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CFLAGS])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CFLAGS$])
-m4trace:configure.ac:36: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:36: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:36: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:36: -1- AC_SUBST([CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([ac_ct_CC])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([ac_ct_CC])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^ac_ct_CC$])
-m4trace:configure.ac:36: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([EXEEXT])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^EXEEXT$])
-m4trace:configure.ac:36: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([OBJEXT])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^OBJEXT$])
-m4trace:configure.ac:36: -1- AC_REQUIRE_AUX_FILE([compile])
-m4trace:configure.ac:36: -1- AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([DEPDIR])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^DEPDIR$])
-m4trace:configure.ac:36: -1- AC_SUBST([am__include])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([am__include])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__include$])
-m4trace:configure.ac:36: -1- AC_SUBST([am__quote])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([am__quote])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__quote$])
-m4trace:configure.ac:36: -1- AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-m4trace:configure.ac:36: -1- AC_SUBST([AMDEP_TRUE])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([AMDEP_TRUE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEP_TRUE$])
-m4trace:configure.ac:36: -1- AC_SUBST([AMDEP_FALSE])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([AMDEP_FALSE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEP_FALSE$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEP_TRUE])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEP_FALSE])
-m4trace:configure.ac:36: -1- AC_SUBST([AMDEPBACKSLASH])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([AMDEPBACKSLASH])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^AMDEPBACKSLASH$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])
-m4trace:configure.ac:36: -1- AC_SUBST([am__nodep])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([am__nodep])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__nodep$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__nodep])
-m4trace:configure.ac:36: -1- AC_SUBST([CCDEPMODE], [depmode=$am_cv_CC_dependencies_compiler_type])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([CCDEPMODE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CCDEPMODE$])
-m4trace:configure.ac:36: -1- AM_CONDITIONAL([am__fastdepCC], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:36: -1- AC_SUBST([am__fastdepCC_TRUE])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([am__fastdepCC_TRUE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__fastdepCC_TRUE$])
-m4trace:configure.ac:36: -1- AC_SUBST([am__fastdepCC_FALSE])
-m4trace:configure.ac:36: -1- AC_SUBST_TRACE([am__fastdepCC_FALSE])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^am__fastdepCC_FALSE$])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_TRUE])
-m4trace:configure.ac:36: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
-m4trace:configure.ac:37: -1- AC_SUBST([CXX])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:37: -1- AC_SUBST([CXXFLAGS])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([CXXFLAGS])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXXFLAGS$])
-m4trace:configure.ac:37: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:37: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:37: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:37: -1- AC_SUBST([CXX])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([CXX])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXX$])
-m4trace:configure.ac:37: -1- AC_SUBST([ac_ct_CXX])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([ac_ct_CXX])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^ac_ct_CXX$])
-m4trace:configure.ac:37: -1- AC_SUBST([CXXDEPMODE], [depmode=$am_cv_CXX_dependencies_compiler_type])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([CXXDEPMODE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^CXXDEPMODE$])
-m4trace:configure.ac:37: -1- AM_CONDITIONAL([am__fastdepCXX], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CXX_dependencies_compiler_type" = gcc3])
-m4trace:configure.ac:37: -1- AC_SUBST([am__fastdepCXX_TRUE])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([am__fastdepCXX_TRUE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^am__fastdepCXX_TRUE$])
-m4trace:configure.ac:37: -1- AC_SUBST([am__fastdepCXX_FALSE])
-m4trace:configure.ac:37: -1- AC_SUBST_TRACE([am__fastdepCXX_FALSE])
-m4trace:configure.ac:37: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
-m4trace:configure.ac:37: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
-m4trace:configure.ac:38: -1- AC_SUBST([CPP])
-m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:38: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:38: -1- AC_SUBST([CPP])
-m4trace:configure.ac:38: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:38: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:39: -1- AC_SUBST([FC])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([FC])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FC$])
-m4trace:configure.ac:39: -1- AC_SUBST([FCFLAGS])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([FCFLAGS])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FCFLAGS$])
-m4trace:configure.ac:39: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:39: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:39: -1- AC_SUBST([FC])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([FC])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^FC$])
-m4trace:configure.ac:39: -1- AC_SUBST([ac_ct_FC])
-m4trace:configure.ac:39: -1- AC_SUBST_TRACE([ac_ct_FC])
-m4trace:configure.ac:39: -1- m4_pattern_allow([^ac_ct_FC$])
-m4trace:configure.ac:40: -1- AC_SUBST([RANLIB])
-m4trace:configure.ac:40: -1- AC_SUBST_TRACE([RANLIB])
-m4trace:configure.ac:40: -1- m4_pattern_allow([^RANLIB$])
-m4trace:configure.ac:42: -1- AC_SUBST([LN_S], [$as_ln_s])
-m4trace:configure.ac:42: -1- AC_SUBST_TRACE([LN_S])
-m4trace:configure.ac:42: -1- m4_pattern_allow([^LN_S$])
-m4trace:configure.ac:43: -1- AC_SUBST([SET_MAKE])
-m4trace:configure.ac:43: -1- AC_SUBST_TRACE([SET_MAKE])
-m4trace:configure.ac:43: -1- m4_pattern_allow([^SET_MAKE$])
-m4trace:configure.ac:45: -1- AC_SUBST([GREP])
-m4trace:configure.ac:45: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:45: -1- AC_SUBST([EGREP])
-m4trace:configure.ac:45: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:45: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.ac:45: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:45: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
-@%:@undef STDC_HEADERS])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_SYS_TYPES_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_SYS_STAT_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_STRING_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_MEMORY_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_STRINGS_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_INTTYPES_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_STDINT_H])
-m4trace:configure.ac:47: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_UNISTD_H])
-m4trace:configure.ac:47: -1- AC_DEFINE_TRACE_LITERAL([size_t])
-m4trace:configure.ac:47: -1- m4_pattern_allow([^size_t$])
-m4trace:configure.ac:47: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if does not define. */
-@%:@undef size_t])
-m4trace:configure.ac:48: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
-m4trace:configure.ac:48: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
-m4trace:configure.ac:48: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your declares `struct tm\'. */
-@%:@undef TM_IN_SYS_TIME])
-m4trace:configure.ac:49: -1- AC_DEFINE_TRACE_LITERAL([const])
-m4trace:configure.ac:49: -1- m4_pattern_allow([^const$])
-m4trace:configure.ac:49: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
-@%:@undef const])
-m4trace:configure.ac:50: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_STDLIB_H])
-m4trace:configure.ac:50: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDLIB_H])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
-m4trace:configure.ac:50: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:50: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
- to 0 otherwise. */
-@%:@undef HAVE_MALLOC])
-m4trace:configure.ac:50: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^HAVE_MALLOC$])
-m4trace:configure.ac:50: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
-m4trace:configure.ac:50: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:50: -1- AC_LIBSOURCE([malloc.c])
-m4trace:configure.ac:50: -1- AC_DEFINE_TRACE_LITERAL([malloc])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^malloc$])
-m4trace:configure.ac:50: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
-@%:@undef malloc])
-m4trace:configure.ac:52: -1- AC_SUBST([FC_MODINC])
-m4trace:configure.ac:52: -1- AC_SUBST_TRACE([FC_MODINC])
-m4trace:configure.ac:52: -1- m4_pattern_allow([^FC_MODINC$])
-m4trace:configure.ac:52: -1- AC_SUBST([ac_empty], [""])
-m4trace:configure.ac:52: -1- AC_SUBST_TRACE([ac_empty])
-m4trace:configure.ac:52: -1- m4_pattern_allow([^ac_empty$])
-m4trace:configure.ac:53: -1- AC_SUBST([FC_MODOUT])
-m4trace:configure.ac:53: -1- AC_SUBST_TRACE([FC_MODOUT])
-m4trace:configure.ac:53: -1- m4_pattern_allow([^FC_MODOUT$])
-m4trace:configure.ac:53: -1- AC_SUBST([ac_empty], [""])
-m4trace:configure.ac:53: -1- AC_SUBST_TRACE([ac_empty])
-m4trace:configure.ac:53: -1- m4_pattern_allow([^ac_empty$])
-m4trace:configure.ac:54: -1- AC_SUBST([FC_MODEXT])
-m4trace:configure.ac:54: -1- AC_SUBST_TRACE([FC_MODEXT])
-m4trace:configure.ac:54: -1- m4_pattern_allow([^FC_MODEXT$])
-m4trace:configure.ac:72: -1- AH_OUTPUT([HAVE_FITSIO_H], [/* Define to 1 if you have the header file. */
-@%:@undef HAVE_FITSIO_H])
-m4trace:configure.ac:72: -1- AC_DEFINE_TRACE_LITERAL([HAVE_FITSIO_H])
-m4trace:configure.ac:72: -1- m4_pattern_allow([^HAVE_FITSIO_H$])
-m4trace:configure.ac:73: -2- AC_SUBST([LIBCFITSIO], [-lcfitsio])
-m4trace:configure.ac:73: -2- AC_SUBST_TRACE([LIBCFITSIO])
-m4trace:configure.ac:73: -2- m4_pattern_allow([^LIBCFITSIO$])
-m4trace:configure.ac:78: -1- AH_OUTPUT([HAVE_LIBMINPACK], [/* Define to 1 if you have the `minpack\' library (-lminpack). */
-@%:@undef HAVE_LIBMINPACK])
-m4trace:configure.ac:78: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBMINPACK])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^HAVE_LIBMINPACK$])
-m4trace:configure.ac:78: -1- AC_SUBST([F77])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([F77])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:78: -1- AC_SUBST([FFLAGS])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([FFLAGS])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^FFLAGS$])
-m4trace:configure.ac:78: -1- AC_SUBST([LDFLAGS])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([LDFLAGS])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LDFLAGS$])
-m4trace:configure.ac:78: -1- AC_SUBST([LIBS])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([LIBS])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LIBS$])
-m4trace:configure.ac:78: -1- AC_SUBST([F77])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([F77])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^F77$])
-m4trace:configure.ac:78: -1- AC_SUBST([ac_ct_F77])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([ac_ct_F77])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^ac_ct_F77$])
-m4trace:configure.ac:78: -1- AC_SUBST([MINPACKDIR], [minpack])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([MINPACKDIR])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^MINPACKDIR$])
-m4trace:configure.ac:78: -1- AC_SUBST([LDMINPACK], [-L../minpack])
-m4trace:configure.ac:78: -1- AC_SUBST_TRACE([LDMINPACK])
-m4trace:configure.ac:78: -1- m4_pattern_allow([^LDMINPACK$])
-m4trace:configure.ac:84: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:84: the top level])
-m4trace:configure.ac:85: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:85: the top level])
-m4trace:configure.ac:86: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:86: the top level])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CONFIG_PATH])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CONFIG_PATH])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CONFIG_PATH$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CPPFLAGS])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CPPFLAGS])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CPPFLAGS$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CFLAGS])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CFLAGS])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CFLAGS$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CXXFLAGS])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CXXFLAGS])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CXXFLAGS$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CFLAGS_ONLY])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CFLAGS_ONLY])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CFLAGS_ONLY$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_CXXFLAGS_ONLY])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_CXXFLAGS_ONLY])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_CXXFLAGS_ONLY$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_LIBS])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_LIBS])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_LIBS$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_LIBS_STATIC])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_LIBS_STATIC])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_LIBS_STATIC$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_VERSION])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_VERSION])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_RESCOMP])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_RESCOMP])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_RESCOMP$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_VERSION_MAJOR])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_VERSION_MAJOR])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MAJOR$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_VERSION_MINOR])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_VERSION_MINOR])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MINOR$])
-m4trace:configure.ac:92: -1- AC_SUBST([WX_VERSION_MICRO])
-m4trace:configure.ac:92: -1- AC_SUBST_TRACE([WX_VERSION_MICRO])
-m4trace:configure.ac:92: -1- m4_pattern_allow([^WX_VERSION_MICRO$])
-m4trace:configure.ac:129: -1- AC_SUBST([XMUNIPACKDIR], [xmunipack])
-m4trace:configure.ac:129: -1- AC_SUBST_TRACE([XMUNIPACKDIR])
-m4trace:configure.ac:129: -1- m4_pattern_allow([^XMUNIPACKDIR$])
-m4trace:configure.ac:130: -1- AC_SUBST([MATPLOTDIR], [wxMathPlot])
-m4trace:configure.ac:130: -1- AC_SUBST_TRACE([MATPLOTDIR])
-m4trace:configure.ac:130: -1- m4_pattern_allow([^MATPLOTDIR$])
-m4trace:configure.ac:135: -1- AC_SUBST([MUNIPACKDIR], [munipack])
-m4trace:configure.ac:135: -1- AC_SUBST_TRACE([MUNIPACKDIR])
-m4trace:configure.ac:135: -1- m4_pattern_allow([^MUNIPACKDIR$])
-m4trace:configure.ac:136: -1- AC_SUBST([WX_CXXFLAGS_CLI], [`wx-config --cxxflags base`])
-m4trace:configure.ac:136: -1- AC_SUBST_TRACE([WX_CXXFLAGS_CLI])
-m4trace:configure.ac:136: -1- m4_pattern_allow([^WX_CXXFLAGS_CLI$])
-m4trace:configure.ac:137: -1- AC_SUBST([WX_LIBS_CLI], [`wx-config --libs base`])
-m4trace:configure.ac:137: -1- AC_SUBST_TRACE([WX_LIBS_CLI])
-m4trace:configure.ac:137: -1- m4_pattern_allow([^WX_LIBS_CLI$])
-m4trace:configure.ac:142: -1- AC_SUBST([WX_LIBS_VO], [`wx-config --libs base,net,xml`])
-m4trace:configure.ac:142: -1- AC_SUBST_TRACE([WX_LIBS_VO])
-m4trace:configure.ac:142: -1- m4_pattern_allow([^WX_LIBS_VO$])
-m4trace:configure.ac:143: -1- AC_SUBST([WX_CXXFLAGS_VO], [`wx-config --cxxflags base,net,xml`])
-m4trace:configure.ac:143: -1- AC_SUBST_TRACE([WX_CXXFLAGS_VO])
-m4trace:configure.ac:143: -1- m4_pattern_allow([^WX_CXXFLAGS_VO$])
-m4trace:configure.ac:144: -1- AC_SUBST([VODIR], [vo])
-m4trace:configure.ac:144: -1- AC_SUBST_TRACE([VODIR])
-m4trace:configure.ac:144: -1- m4_pattern_allow([^VODIR$])
-m4trace:configure.ac:149: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
-You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
-configure.ac:149: the top level])
-m4trace:configure.ac:150: -1- AM_CONDITIONAL([BUNDLE], [test "x$enable_bundle" = "xyes"])
-m4trace:configure.ac:150: -1- AC_SUBST([BUNDLE_TRUE])
-m4trace:configure.ac:150: -1- AC_SUBST_TRACE([BUNDLE_TRUE])
-m4trace:configure.ac:150: -1- m4_pattern_allow([^BUNDLE_TRUE$])
-m4trace:configure.ac:150: -1- AC_SUBST([BUNDLE_FALSE])
-m4trace:configure.ac:150: -1- AC_SUBST_TRACE([BUNDLE_FALSE])
-m4trace:configure.ac:150: -1- m4_pattern_allow([^BUNDLE_FALSE$])
-m4trace:configure.ac:150: -1- _AM_SUBST_NOTMAKE([BUNDLE_TRUE])
-m4trace:configure.ac:150: -1- _AM_SUBST_NOTMAKE([BUNDLE_FALSE])
-m4trace:configure.ac:153: -1- AC_SUBST([BUNDLEDIR])
-m4trace:configure.ac:153: -1- AC_SUBST_TRACE([BUNDLEDIR])
-m4trace:configure.ac:153: -1- m4_pattern_allow([^BUNDLEDIR$])
-m4trace:configure.ac:160: -1- AC_SUBST([LIBGFORTRAN], [-static-libgfortran])
-m4trace:configure.ac:160: -1- AC_SUBST_TRACE([LIBGFORTRAN])
-m4trace:configure.ac:160: -1- m4_pattern_allow([^LIBGFORTRAN$])
-m4trace:configure.ac:161: -1- AC_SUBST([LIBGCC], [-static-libgcc])
-m4trace:configure.ac:161: -1- AC_SUBST_TRACE([LIBGCC])
-m4trace:configure.ac:161: -1- m4_pattern_allow([^LIBGCC$])
-m4trace:configure.ac:162: -1- AC_SUBST([LIBSTDCPP], [-static-libstdc++])
-m4trace:configure.ac:162: -1- AC_SUBST_TRACE([LIBSTDCPP])
-m4trace:configure.ac:162: -1- m4_pattern_allow([^LIBSTDCPP$])
-m4trace:configure.ac:166: -1- AC_SUBST([CLEANFILES], [*.$FC_MODEXT])
-m4trace:configure.ac:166: -1- AC_SUBST_TRACE([CLEANFILES])
-m4trace:configure.ac:166: -1- m4_pattern_allow([^CLEANFILES$])
-m4trace:configure.ac:169: -1- AC_CONFIG_HEADERS([config.h])
-m4trace:configure.ac:171: -1- AC_CONFIG_FILES([minpack/Makefile lib/Makefile preprocess/Makefile
- kombine/Makefile photometry/Makefile artificial/Makefile fitsut/Makefile
- list/Makefile astrometry/Makefile coloring/Makefile vo/Makefile
- munipack/Makefile wxMathPlot/Makefile xmunipack/Makefile doc/Makefile
- Makefile])
-m4trace:configure.ac:177: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:177: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:177: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:177: -1- AC_SUBST([am__EXEEXT_TRUE])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:177: -1- AC_SUBST([am__EXEEXT_FALSE])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
-m4trace:configure.ac:177: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:177: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:177: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:177: -1- AC_SUBST_TRACE([MKDIR_P])
diff -Nru munipack-0.5.9/ChangeLog munipack-0.5.10/ChangeLog
--- munipack-0.5.9/ChangeLog 2017-07-17 23:04:22.000000000 +0000
+++ munipack-0.5.10/ChangeLog 2018-01-16 17:58:06.000000000 +0000
@@ -1,8 +1,189 @@
+2018-01-16 Filip Hroch
+
+ * .hgtags:
+ Added tag 0.5.10 for changeset 9901903b0208
+ [7050bdf14f66] [tip]
+
+ * configure.ac, include/version.h, munipack/munipack.1,
+ munipack/munipack.cpp, vo/votable.cpp, xmunipack/xmunipack.1:
+ Corrected recent Vizier obscurity. Updated autoconfig version.
+ [9901903b0208] [0.5.10]
+
+2018-01-11 Filip Hroch
+
+ * doc/Makefile.am, doc/cbasic.shtml, doc/changes.shtml,
+ doc/classics.shtml, doc/colorcal.shtml, doc/colorspace.shtml,
+ doc/ctutorial.shtml, doc/dataform_proc.shtml, doc/docs.shtml,
+ doc/grow.shtml, doc/guide.shtml, doc/itone.shtml, doc/lctut.shtml,
+ doc/man_astrometry.shtml, doc/man_bias.shtml, doc/man_com.shtml,
+ doc/man_cone.shtml, doc/man_flat.shtml, doc/munipack-atom.py,
+ doc/phcalibration.shtml, munipack/cmd.cpp:
+ Bugfix of htmls.
+ [1611370e9d90]
+
+2018-01-09 Filip Hroch
+
+ * doc/Makefile.am, doc/changes.shtml, doc/flatfielding.shtml,
+ doc/man_artificial.shtml, doc/man_flat.shtml, doc/munipack.shtml,
+ include/version.h, lib/fitsio.f95:
+ Updated docs.
+ [dab76371ebdc]
+
+2017-12-27 Filip Hroch
+
+ * doc/Makefile.am, doc/flatdebug_3.svg, doc/flatdebug_zero.svg,
+ doc/flatfielding.png, doc/flatfielding.shtml, doc/flatfine.png,
+ doc/flatzero.png, doc/foot.shtml, doc/guide.shtml, doc/head.shtml,
+ doc/man_flat.shtml, doc/man_setup.shtml, doc/munipack-atom.py,
+ doc/munipack.shtml, doc/notfound.shtml, doc/wrinkledflat.svg,
+ doc/wrinkledflat.tex, munipack/cmd.cpp, munipack/flat.cpp,
+ preprocess/flat.f95, preprocess/flat_debug.sh,
+ preprocess/phcorr.f95, preprocess/rflat.f08:
+ Prepared flat-fielding doc, improved flat manual and flat source
+ code.
+ [dec620afafdf]
+
+2017-12-07 Filip Hroch
+
+ * lib/astrosphere.f95, lib/photoconv.f95, preprocess/rflat.f08:
+ Bugfix: flats normalisation for (n<3), the longitude sign in LMST.
+ [87ac77c19fea]
+
+2017-11-12 Filip Hroch
+
+ * preprocess/flat.f95, xmunipack/astrometry.cpp,
+ xmunipack/discanvas.cpp, xmunipack/fits.cpp:
+ Bugfix in star draw layer of astrometry in viewer.
+ [6c66cb29f7b4]
+
+2017-10-23 Filip Hroch
+
+ * preprocess/flat.f95, preprocess/rflat.f08:
+ Bugfixing of flat-fielding.
+ [890d9a7b8125]
+
+ * bootstrap-dev, doc/man_flat.shtml, munipack/cmd.cpp,
+ munipack/flat.cpp, preprocess/flat.f95, preprocess/rflat.f08:
+ Perfecting flat algorithm, also removed --level, added bitmask.
+ [5706d199466a]
+
+2017-10-19 Filip Hroch
+
+ * doc/lctut.sh, lib/liblist.f95, preprocess/Makefile.am,
+ preprocess/flat.f95, preprocess/rflat.f08:
+ Perfecting flat. Statistically correct residuals (histograms).
+ [c10921dff36f]
+
+2017-10-13 Filip Hroch
+
+ * lib/escale.f95, lib/liblist.f95, lib/robratio.f08, lib/rwmean.f95,
+ photometry/daofotometr.f95, photometry/mfits.f95,
+ photometry/phcal.f95, preprocess/flat.f95:
+ Improvements of rwmean(), robratio() and new approach on flat-field.
+ [6d009ca5bb27]
+
+2017-10-09 Filip Hroch
+
+ * astrometry/astrofits.f95, astrometry/astrometry.f95,
+ astrometry/match.f95, doc/man_astrometry.shtml,
+ munipack/astrometry.cpp, munipack/cmd.cpp, xmunipack/astrometry.cpp,
+ xmunipack/fits.cpp, xmunipack/fitscoo.cpp, xmunipack/xmunipack.h:
+ Astrometry perfecting.
+ [1a1be53912b9]
+
+2017-10-05 Filip Hroch
+
+ * doc/man_bias.shtml, doc/man_dark.shtml, doc/man_kombine.shtml,
+ kombine/kombine.f95, lib/escale.f95, lib/rmean.f95,
+ lib/robratio.f08, lib/rwmean.f95, list/tmseries.f95,
+ munipack/cmd.cpp, munipack/common.cpp, munipack/kombine.cpp,
+ munipack/munipack.cpp, photometry/daofotometr.f95,
+ photometry/growcurve.f95, photometry/jam.f95, photometry/phcal.f95,
+ preprocess/flat.f95, preprocess/phcorr.f95,
+ xmunipack/astrometry.cpp, xmunipack/dispanel.cpp,
+ xmunipack/display.cpp, xmunipack/event.h, xmunipack/fits.cpp,
+ xmunipack/fits.h, xmunipack/fitscoo.cpp, xmunipack/view.cpp,
+ xmunipack/xmunipack.cpp, xmunipack/xmunipack.h:
+ Very important improvements of robratio and scale:
+ * Robust ratio has correct final (Newton) estimator
+ * Scale adaptive changes initial interval Both the improvemenst
+ drasticaly increases precision and reliability of photometry.
+
+ Moreover, kombine has implemented initial reflectio and averaging as
+ alterative to summation.
+ [4ec213889542]
+
+2017-09-24 Filip Hroch
+
+ * artificial/artificial.f95, artificial/generator.f95,
+ astrometry/absfit.f95, astrometry/astrofit.f95,
+ astrometry/astromatch.f95, astrometry/estimator.f95,
+ astrometry/robfit.f95, doc/artific.shtml, doc/man_artificial.shtml,
+ lib/escale.f95, munipack/artificial.cpp, munipack/cmd.cpp,
+ munipack/munipack.cpp, photometry/calibre.f95,
+ xmunipack/xmunipack.cpp:
+ Improved stability of robust astrometry, artificial background in
+ mags.
+ [e0736befa13a]
+
+2017-09-19 Filip Hroch
+
+ * artificial/artest.sh, artificial/artificial.f95,
+ artificial/generator.f95, artificial/lcapprox.f08,
+ astrometry/absfit.f95, astrometry/astrofit.f95,
+ astrometry/astrofits.f95, astrometry/astromatch.f95,
+ astrometry/astrometry.f95, astrometry/estimator.f95,
+ astrometry/match.f95, astrometry/nearmatch.f95,
+ astrometry/robfit.f95, bootstrap-release, configure.ac,
+ doc/Makefile.am, doc/colorimage.shtml, doc/debbuilder.shtml,
+ doc/install.shtml, doc/lctut.sh, doc/m27.sh,
+ doc/man_artificial.shtml, doc/man_astrometry.shtml,
+ doc/man_ctrafo.shtml, doc/man_gphot.shtml,
+ doc/man_phcal_params.shtml, doc/man_phcorr.shtml,
+ doc/man_votable.shtml, doc/munipack-atom.py, doc/munipack.css,
+ doc/rpmbuilder.shtml, doc/title_logo.png, include/votable.h,
+ lib/escale.f95, lib/fitsio.f95, lib/photoconv.f95, lib/qmean.f95,
+ lib/rline.f95, lib/rmean.f95, lib/robratio.f08, lib/rwmean.f95,
+ list/mtable.f95, list/timeseries.f95, list/tmseries.f95,
+ munipack/astrometry.cpp, munipack/cmd.cpp, munipack/cone.cpp,
+ munipack/phcal.cpp, munipack/votable.cpp, photometry/aphot.f95,
+ photometry/calibre.f95, photometry/daofotometr.f95,
+ photometry/fitsaphot.f95, photometry/gphot.f95,
+ photometry/growcurve.f95, photometry/growfit.f95,
+ photometry/growmodel.f95, photometry/jam.f95, photometry/mfits.f95,
+ photometry/phcal.f95, photometry/sfits.f95, preprocess/phcorr.f95,
+ vo/votab.cpp, vo/votable.cpp, xmunipack/fits.h:
+ * All robust routines are updated for the correct estimate of scale
+ and standard errors.
+ * photometry: + daofotometr(!): correct estimates of errors, rwmean()
+ is sky estimator + fitsaphot(!): correct estimate of noise +
+ grow,phcal,mfits: developed better limit for bright star selection +
+ growmodel: bug-fix crash for one star only + phcal, photoconv:
+ estimates are no more normalised, allows to reach high precision for
+ long exposures + robratio(!): introduced new method for
+ regularisation which effectively suppress scatter of output data
+ * astrometry: introduced luckymatch + nearmatch: accepts only the
+ first match to prevent duplicity + match (!): corrected bad estimate
+ limit of Xi2 which didn't allow longer sequences + estimator:
+ corrected misuse of rmean() + astromatch: frame stars are also
+ sliced by brightness
+ * xmunipack: corrected missing values of int, char and bool in
+ spreadsheets
+ * list: upgraded time-date determination
+ * phcorr: bug-fix preventing crash by negative errors of frames
+ * votable: dimensions of output SVG canvas are adjustable by
+ parameters.
+ * artificial for lc: better handling of magnitudes, FITS header
+ improvements
+ * common: source code is adjusted to fit 80-columns, removed trailing
+ spaces
+ [0486a57f619a]
+
2017-07-18 Filip Hroch
* .hgtags:
Added tag 0.5.9 for changeset 45845ff892bc
- [6ce62a3b49b2] [tip]
+ [6ce62a3b49b2]
2017-07-17 Filip Hroch
diff -Nru munipack-0.5.9/coloring/Makefile.in munipack-0.5.10/coloring/Makefile.in
--- munipack-0.5.9/coloring/Makefile.in 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/coloring/Makefile.in 2018-01-16 17:58:15.000000000 +0000
@@ -303,7 +303,6 @@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-develop = @develop@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
diff -Nru munipack-0.5.9/config.h.in munipack-0.5.10/config.h.in
--- munipack-0.5.9/config.h.in 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/config.h.in 2018-01-16 17:58:13.000000000 +0000
@@ -1,11 +1,5 @@
/* config.h.in. Generated from configure.ac by autoheader. */
-/* configure time */
-#undef DATEBUILD
-
-/* indicates development build */
-#undef DEVELBUILD
-
/* Define to 1 if you have the header file. */
#undef HAVE_FITSIO_H
diff -Nru munipack-0.5.9/configure munipack-0.5.10/configure
--- munipack-0.5.9/configure 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/configure 2018-01-16 17:58:13.000000000 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for Munipack 0.5.9.
+# Generated by GNU Autoconf 2.69 for Munipack 0.5.10.
#
# Report bugs to >.
#
@@ -580,8 +580,8 @@
# Identity of this package.
PACKAGE_NAME='Munipack'
PACKAGE_TARNAME='munipack'
-PACKAGE_VERSION='0.5.9'
-PACKAGE_STRING='Munipack 0.5.9'
+PACKAGE_VERSION='0.5.10'
+PACKAGE_STRING='Munipack 0.5.10'
PACKAGE_BUGREPORT='Filip Hroch '
PACKAGE_URL='http://munipack.physics.muni.cz'
@@ -725,7 +725,6 @@
build_vendor
build_cpu
build
-develop
target_alias
host_alias
build_alias
@@ -1346,7 +1345,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures Munipack 0.5.9 to adapt to many kinds of systems.
+\`configure' configures Munipack 0.5.10 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1416,7 +1415,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Munipack 0.5.9:";;
+ short | recursive ) echo "Configuration of Munipack 0.5.10:";;
esac
cat <<\_ACEOF
@@ -1529,7 +1528,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Munipack configure 0.5.9
+Munipack configure 0.5.10
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1999,7 +1998,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Munipack $as_me 0.5.9, which was
+It was created by Munipack $as_me 0.5.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2348,18 +2347,6 @@
-develop=no
-
-if test "x$develop" = "xyes"; then
-
-$as_echo "#define DEVELBUILD 1" >>confdefs.h
-
-
-cat >>confdefs.h <<_ACEOF
-#define DATEBUILD `date +'"%F %T %Z"'`
-_ACEOF
-
-fi
ac_aux_dir=
@@ -2916,7 +2903,7 @@
# Define the identity of the package.
PACKAGE='munipack'
- VERSION='0.5.9'
+ VERSION='0.5.10'
cat >>confdefs.h <<_ACEOF
@@ -5569,15 +5556,6 @@
fi
-
-case $build in
- *solaris*)
- CFITS_LIBS="-lnsl -lsocket"
- ;;
- *)
- ;;
-esac
-
for ac_header in fitsio.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "fitsio.h" "ac_cv_header_fitsio_h" "$ac_includes_default"
@@ -6884,7 +6862,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by Munipack $as_me 0.5.9, which was
+This file was extended by Munipack $as_me 0.5.10, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6951,7 +6929,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Munipack config.status 0.5.9
+Munipack config.status 0.5.10
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -Nru munipack-0.5.9/configure.ac munipack-0.5.10/configure.ac
--- munipack-0.5.9/configure.ac 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/configure.ac 2018-01-16 17:58:03.000000000 +0000
@@ -1,5 +1,5 @@
dnl
-dnl Copyright © 1997-2016 F.Hroch (hroch@physics.muni.cz)
+dnl Copyright © 1997-2018 F.Hroch (hroch@physics.muni.cz)
dnl
dnl This file is part of Munipack.
dnl
@@ -16,17 +16,19 @@
dnl You should have received a copy of the GNU General Public License
dnl along with Munipack. If not, see .
dnl
+dnl * Separate variable for Minpack (to prevent use of LIBS)?
+dnl
AC_PREREQ([2.69])
-AC_INIT([Munipack],[m4_esyscmd(echo -n $VERSION)],[Filip Hroch ],
+AC_INIT([Munipack],[0.5.10],[Filip Hroch ],
[munipack],[http://munipack.physics.muni.cz])
dnl define development build
-AC_SUBST(develop,[m4_esyscmd(echo -n $DEVELOPMENT)])
-if test "x$develop" = "xyes"; then
-AC_DEFINE(DEVELBUILD,[1],[indicates development build])
-AC_DEFINE_UNQUOTED(DATEBUILD,[`date +'"%F %T %Z"'`],[configure time])
-fi
+dnl AC_SUBST(develop,[m4_esyscmd(echo -n $DEVELOPMENT)])
+dnl if test "x$develop" = "xyes"; then
+dnl AC_DEFINE(DEVELBUILD,[1],[indicates development build])
+dnl AC_DEFINE_UNQUOTED(DATEBUILD,[`date +'"%F %T %Z"'`],[configure time])
+dnl fi
AC_CANONICAL_BUILD
@@ -58,16 +60,6 @@
dnl AC_SUBST(FC_MODINC,[-I])
dnl AC_SUBST(FC_MODOUT,[-J])
-
-dnl additional parameters of compilers/targets
-case $build in
- *solaris*)
- CFITS_LIBS="-lnsl -lsocket"
- ;;
- *)
- ;;
-esac
-
dnl cfitsio
AC_CHECK_HEADERS([fitsio.h])
AC_CHECK_LIB([cfitsio], [ffclos],AC_SUBST(LIBCFITSIO,-lcfitsio),
diff -Nru munipack-0.5.9/debian/changelog munipack-0.5.10/debian/changelog
--- munipack-0.5.9/debian/changelog 2017-08-04 19:13:25.000000000 +0000
+++ munipack-0.5.10/debian/changelog 2018-01-17 18:31:14.000000000 +0000
@@ -1,8 +1,8 @@
-munipack (0.5.9-1build1) artful; urgency=medium
+munipack (0.5.10-1) unstable; urgency=low
- * No-change rebuild for libgfortran soname change.
+ * New upstream version, updated debian control files by recent standards.
- -- Matthias Klose Fri, 04 Aug 2017 19:13:25 +0000
+ -- Filip Hroch Wed, 17 Jan 2018 19:31:14 +0100
munipack (0.5.9-1) unstable; urgency=low
diff -Nru munipack-0.5.9/debian/compat munipack-0.5.10/debian/compat
--- munipack-0.5.9/debian/compat 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/compat 2018-01-17 18:31:14.000000000 +0000
@@ -1 +1 @@
-9
+11
diff -Nru munipack-0.5.9/debian/control munipack-0.5.10/debian/control
--- munipack-0.5.9/debian/control 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/control 2018-01-17 18:31:14.000000000 +0000
@@ -3,14 +3,14 @@
Priority: optional
Maintainer: Debian Astronomy Team
Uploaders: Filip Hroch
-Build-Depends: debhelper (>= 9), dh-autoreconf, gfortran, g++ (>= 6), libcfitsio-dev, libwxgtk3.0-dev, minpack-dev
-Standards-Version: 4.0.0
+Build-Depends: debhelper (>= 11), gfortran, g++ (>= 6), libcfitsio-dev, libwxgtk3.0-dev, minpack-dev
+Standards-Version: 4.1.3
Homepage: http://munipack.physics.muni.cz/
Vcs-Git: https://anonscm.debian.org/git/debian-astro/packages/munipack.git
Vcs-Browser: https://anonscm.debian.org/cgit/debian-astro/packages/munipack.git
Package: munipack
-Architecture: any
+Architecture: all
Depends: munipack-gui, munipack-cli, munipack-doc, ${misc:Depends}
Description: Astronomical photometry software package
Munipack is a general astronomical photometry software package.
@@ -65,7 +65,6 @@
Package: munipack-doc
Section: doc
Architecture: all
-Multi-Arch: foreign
Depends: ${misc:Depends}
Description: Documentation of Munipack
Munipack is a general astronomical photometry software package.
diff -Nru munipack-0.5.9/debian/copyright munipack-0.5.10/debian/copyright
--- munipack-0.5.9/debian/copyright 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/copyright 2018-01-17 18:31:14.000000000 +0000
@@ -4,8 +4,8 @@
Source: http://integral.physics.muni.cz/hg/munipack/
Files: * lib/nelmin.f95 lib/pppack.f90 lib/fmin.f95
-Copyright: (c) 1997-2016 Filip Hroch
- 2016 Filip Hroch (Debian files)
+Copyright: (c) 1997-2018 Filip Hroch
+ 2016-8 Filip Hroch (Debian files)
(c) 2016 J. Burkardt (nelmin.f95, pppack.f90)
(c) 1977, George Elmer Forsythe, Michael A. Malcolm, Cleve B. Moler (fmin by netlib.org)
License: GPL-3+
diff -Nru munipack-0.5.9/debian/munipack-doc.doc-base munipack-0.5.10/debian/munipack-doc.doc-base
--- munipack-0.5.9/debian/munipack-doc.doc-base 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/munipack-doc.doc-base 2018-01-17 18:31:14.000000000 +0000
@@ -1,9 +1,9 @@
Document: munipack-doc
Title: Munipack Webpage
Author: Filip Hroch
-Abstract: A description and usage of munipack together with examples.
+Abstract: A description and usage of Munipack together with examples.
Section: Science/Astronomy
Format: HTML
-Index: /usr/share/doc/munipack-doc/munipack.html
-Files: /usr/share/doc/munipack-doc/*.html
+Index: /usr/share/doc/munipack/munipack.html
+Files: /usr/share/doc/munipack/*.html
diff -Nru munipack-0.5.9/debian/rules munipack-0.5.10/debian/rules
--- munipack-0.5.9/debian/rules 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/rules 2018-01-17 18:31:14.000000000 +0000
@@ -9,5 +9,12 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# Use to prevent less important (underflow/inexact/..) summary reports
+# (man dpkg-buildflags).
+export DEB_FCFLAGS_MAINT_APPEND = -ffpe-summary=invalid,zero,overflow
+
%:
- dh $@ --with autoreconf
+ dh $@ --no-parallel
+
+# A parallel build is disabled to prevent use of unavailable Fortran modules
+# (when compilation of a module needs more time than the source itself).
diff -Nru munipack-0.5.9/debian/tests/check.sh munipack-0.5.10/debian/tests/check.sh
--- munipack-0.5.9/debian/tests/check.sh 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/tests/check.sh 2018-01-17 18:31:14.000000000 +0000
@@ -6,7 +6,7 @@
munipack find -f 5 $FILE
munipack aphot $FILE
-munipack cone -r 0.2 -- 269.5 4.6
+munipack cone -r 0.1 --par 'Vmag=<15' -- 269.44 4.69
munipack astrometry $FILE
munipack phcal --photsys-ref Johnson --area 0.3 \
--col-ra RAJ2000 --col-dec DEJ2000 \
diff -Nru munipack-0.5.9/debian/watch munipack-0.5.10/debian/watch
--- munipack-0.5.9/debian/watch 2017-07-18 00:11:38.000000000 +0000
+++ munipack-0.5.10/debian/watch 2018-01-17 18:31:14.000000000 +0000
@@ -1,2 +1,2 @@
-version=3
+version=4
ftp://integral.physics.muni.cz/pub/munipack/munipack-(0\.[0-9]+\.[0-9]+)\.tar\.gz debian uupdate
diff -Nru munipack-0.5.9/doc/artific.shtml munipack-0.5.10/doc/artific.shtml
--- munipack-0.5.9/doc/artific.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/artific.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -10,7 +10,7 @@
Artificial Sky
- Overview of an artificial sky phenomena.
+ An overview of an artificial sky modelling.
@@ -18,31 +18,23 @@
The tool artificial creates artificial frames which looks
- similar as ones which has been acquired by a real telescope.
- The primary purpose of this tool is to test and verify processing algorithms
- of Munipack.
-
-
-
-
- The artificial sky can be also considered as the powerful framework
-
-for education and testing purposes because provides
- modelling of various observational effects.
+ similar as frames acquired by a real telescope. The primary purpose of
+ this tool is to test and to verify algorithms of Munipack.
+ However, it can be very useful
+ for both education and planing of an observation
+ because various atmospheric and instrumental effects as well
+ as various phenomena can be easy modelled.
Brand Icon
All generated frames are marked by a brand icon. The icon is supposed
- as the very important element because the created frames can look very realistic
- for inexperienced peoples. In many situations, it can be very difficult
- to recognise, even by an objective method, between a real and an artificial
- frame. That why there is no way how to remove the icon without a source
- code modification.
+ as the very important element because the created frames can look very
+ realistic for inexperienced peoples. In many situations, it can be very
+ difficult to recognise, even by an objective method,
+ between a real and an artificial frame. That why there is no way how
+ to remove the icon without a source code modification.
@@ -51,33 +43,34 @@
- FITS headers contains review of parameters used for generation
- which tags the right origin of any frame without doubts. Because frames
- are sometimes converted to other picture formats such as PNG or JPG, every picture
- has also visible watermark.
+ FITS headers of all files contains review of parameters used for frame
+ generation. It naturally indicates the right origin of any frame without
+ doubts. However, frames are sometimes converted to other picture formats
+ such as PNG or JPG, or examined by non-expers,
+ so the clearly visible watermark is the proper warning sign.
The Very First Simulation
- As our very first generated frame, we'll select the open star
+ For our very first generated frame, we'll select the open star
cluster NGC 637 (see A Star Chart Tutorial ).
- The artificial frame can be generated by the sequence of commands:
+ The artificial frame can be generated by these commands:
$ munipack cone -o ngc637.fits -r 0.1 -- 25.775 64.03
$ munipack artificial -c ngc637.fits --rcen 25.775 --dcen 64.03 --verbose
- The result is saved as artificial.fits and displayed
- on figure below. Many parameters has been leaved on their default values
- as lists --verbose switch.
- The most important parameters are
- the telescope area 1m (cca 1.1m in diameter by default) and the exposure duration
+ The result is available as artificial.fits and displayed
+ on figure below. Many parameters has been keep on their default values
+ as --verbose switch shows.
+ The most important parameters are the telescope area 1m2
+ (cca 1.1m in diameter by default) and the exposure duration
1 second.
The stars on the frame has been given by a catalogue (in this case UCAC4)
- so a real exposure will offer more deeper look.
+ so a real exposure can provide more deeper look.
@@ -89,8 +82,8 @@
Size of the generated picture, field of view (or scale) and rotation can be
adjusted. Results can be saved to a named file. The following example creates
- a mini picture with dimensions in golden ratio, which is rotated about 180° and
- saved to ngc637_mini.fits file.
+ a mini picture with dimensions in golden ratio, which is rotated around
+ center with 180° angle and stored in ngc637_mini.fits file.
$ munipack artificial -c ngc637.fits --rcen 25.775 --dcen 64.03 --verbose \
@@ -107,12 +100,13 @@
Observation Planning
- Artificial frames can be useful in preparing of a plan of observation.
- The proper choice of the exposure for an unknown object significantly
- influencing reliability and precision of results.
+ Artificial frames can be useful in preparing of plans of an observation.
+ The observer's proper choice of the exposure time for an unknown object
+ significantly increase both reliability and precision of results.
The matter can be generalised also on an unknown telescope,
- actual observing conditions, detectors. The artificial sky tool can help
- to save precious observing time.
+ actual observing conditions, detectors. All the conditions can be
+ adjusted "on the run", but this tool can help to save precious
+ observing time.
@@ -135,12 +129,12 @@
- Be informed the frames with different parameters can looks identical due
- auto-adjusting capabilities of Munipack's viewer. Observed frames taken
+ Keep in mind, the frames with different parameters can looks identical due
+ auto-adjusting capabilities of FITS viewers. Observed frames taken
at longer exposures will reveal more faint stars, which are not included
in common catalogues, due to its limitations. To be sure, while playing with
- artificial sky, inspect values of single pixels inside stars, their counts
- are proportional to the parameters.
+ artificial sky, inspect values of single pixels inside stars, that
+ simulated counts are proportional to the parameters.
@@ -184,8 +178,8 @@
--col-mag which
is important here). The error due to photon noise is relative
high and longer exposure duration can be recommend. Moreover,
- the used quantum efficiency only 2% (!) is extremely low and an technical
- improvement in apparatus looks like a very good idea.
+ the used quantum efficiency only 2% (!) is extremely low and
+ an technical improvement in apparatus can be recommended.
@@ -194,24 +188,25 @@
Light rays passing Earth's atmosphere are scattered, reflected
- and attenuated proportionally to the length its optical path. The
- modelled effects includes atmospheric extinction and seeing.
+ and attenuated proportionally to the length its path in the atmosphere.
+ The atmosphere related effects, which are modelled, includes
+ both atmospheric extinction and seeing and sky background dependence.
The atmospheric refraction is excluded.
The effects are considered just if --atmosphere
switch is presented. Only the extinction parameter (--extk )
- is available for adjusting (see manual page ).
+ can be adjusted (see manual page ).
The proper set up of observation station and time
- (--long, --lat, --date, --time ) should be specified.
+ (--long, --lat, --date, --time ) is necessary.
- We will prepare of a sequence of seven frames, each 1 s,
- separated by one hour interval and modelling BL Lac blazar field
- during its down somewhere in central Europe. The figure below shows
- selected resulting frames.
+ To show the capability, we will prepare of a sequence of seven frames,
+ each 1 s, separated by one hour interval which demonstrate atmospheric
+ effects on BL Lac blazar field during its down somewhere in central Europe.
+ The figure below shows two selected output frames.
$ munipack cone -r 0.2 -- 330.68 42.27
@@ -246,11 +241,19 @@
The radius represents spreading of a star image by turbulent motions
in Earth atmosphere. The turbulence is very unpredictable. The fact
is known to observers at moments when "focusing is impossible".
+It also confirms the experience that the best focusing is near zenith.
Light Curves
+ Light curves extracted from generated frames can be used for
+ training purposes as well as testing of various processing algorithms.
+
+
+
+ There are more ways to specify a light curve.
+ We will select the most common way.
The light curve pattern can be included in a table with twines:
time, magnitude (detailed description by Times
series document). The table is used to create a required light curve.
@@ -271,8 +274,7 @@
The first step is preparation of the data to form (FITS file) required
by the utility. The easy way is modification
- of Kepler-21b.lst file. The table is included
- near the end:
+ of Kepler-21b.lst file:
0 1.00714
@@ -282,9 +284,9 @@
....
- The data can be replaced any another set. The number of rows must be
- corresponds with NAXIS2 keyword. When the file is prepared create
- FITS table (note that FITS table can be created also any any other way):
+ The data can be replaced any another set. The number of rows must
+ corresponds with NAXIS2 keyword. When the file is prepared, create
+ FITS table (note that FITS table can be also created by any other way):
$ munipack fits --restore Kepler-21b.lst
@@ -319,11 +321,11 @@
The artificial frames can be processed by the same way how frames
- which has been taken on the real sky. The processing steps
+ which has been taken on the real sky. The processing
skips photometric corrections (like bias frames) and the astrometry
calibration which is already included. There is no
- photometry catalogue, so I referenced all frames onto the first (by random
- choice) frame in sequence. There is the processing sequence:
+ photometry catalogue, so I referenced all frames against the first
+ (by random choice) frame in sequence. There are the processing steps:
$ munipack find art_??.fits
@@ -335,7 +337,7 @@
-Artificial light curve and model of Kepler-21b.
+The artificial light curve and the model of Kepler-21b.
diff -Nru munipack-0.5.9/doc/cbasic.shtml munipack-0.5.10/doc/cbasic.shtml
--- munipack-0.5.9/doc/cbasic.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/cbasic.shtml 1970-01-01 00:00:00.000000000 +0000
@@ -1,144 +0,0 @@
-
-
-
-
-Munipack ‒ Basics usage
-
-
-
-
-
-
Munipack ‒ Basic Usage (Classics Edition)
-
-
-Munipack offers a set of computer routines as tools for various
-kinds of astronomical photometry.
-
-
-
-All utilities are prepared as independent software tools,
-whereas every utility is intended to done only one task.
-All operations will be done without any interaction with user
-during run, so it is suitable for running of extensive
-batch processing. It is supposed that the utilities will be combined
-in a concrete way to done some specific processing.
-
-
-
-From the practical point of view, Munipack offers set of shell
-utilities which uses standard input, switches and standard output
-as in the same manner as all other tools in system. Both input and
-output interaction is implemented via plain text or FITS files providing
-easy way to modify and use of results of computation. Every shell
-utility can be replaced by an another one to better fit of a solved
-problem. That, Munipack's routines may be a base for a derived
-package.
-
-
-
-
Command line interface
-
-
-The core of Munipack is a set of utilities which are listed
-in the following table:
-
-
-Utility Purpose
-muniphot Background estimation, automatic
-search for stars, aperture photometry.
-munimatch Estimation of shift, scale and rotation
- between images
-kombine Sum (an combination) of images.
-munilist List of magnitudes, differential magnitudes, etc.
- from a set of images.
-mdark (Robust) mean of images (masterdark, masterbias).
-aflat Auto-flat-field as robust mean with running scaling (masterflat).
-flatbat A set of scientific exposures is divided by a flat-field.
-darkbat A set of scientific exposures is subtracted by a dark or bias.
-konve A (unmaintained) converter from SBIG's ST files to FITS.
-picko A (unmaintained) converter from Chr. Buil's PIC files to FITS.
-
-
-
-Some external utilities can be used
-as additional tools.
-
-
-
-
-All routines are used in a common way. If we will run any utility
-without parameters, some on-line help will print:
-
-
-DARKBAT Version 1.9, Copyright (C) 1997-08 F.Hroch, Masaryk University,Brno,CZ
-
-DARKBAT Utility for the dark frame subtract.
-
-Usage:darkbat [options] [@dirfile] [dark=darkframe] [mask=?] [image1] ...
-
-@dirfile= file with image names for dark subtract, no wildcards *,?
- (use only '@' to read image names from standard input)
-dark= dark frame image
-image1...= name(s) of simple image(s) to dark subtract
-bitpix=[8,16,-32] set bitpix of output to specified value
-mask= output mask (default = dout????.fits)
- give 'mask=.' for overwrite input files (carefully!)
- give 'mask=$' for copy files with original basename to current dir
-
-options:
- -d <darkname> dark frame image (equivalent with 'dark=')
- -o <mask> output mask (equivalent with 'mask=')
- -c <number> counter initial value (default = 1)
- -h give this help
- -L display software license
-
-
-
-There is a common way of usage of all command-line utilities.
-Every utility reads names of files to process (mostly FITS images)
-from standard input, setup some parameters by command switches, done
-a processing and save output to (mostly) FITS images. These images can be
-processed again by another tools or any another utilities.
-
-
-
-The parameters of command switches are usually specified as strings
-in format par=<value> and user is resposible to specify
-its value. To setup of reading of standard input, the switch @
-is used. Note that the used syntax is Iraf-like.
-
-
-
-
-As common example, we had choose subtraction of a dark frame
-from a set of scientific exposures. If we have a dark frame in
-FITS file darkframe.fits and scientific exposures
-in m666_1R.fits, m666_2R.fits , the dark frame can be
-subtracted with the command:
-
-
- sh$ ls m666_1R.fits, m666_2R.fits | darkbat @ dark=darkframe.fits
-
-
The corrected images will available as dout0001.fits
-and dout0002.fits . The filename can be changed by
-parameter mask= . For example, the command
-
- sh$ ls m666_1R.fits, m666_2R.fits | darkbat @ dark=darkframe.fits mask=m666_?Rd.fits
-
-
-will save images to m666_1Rd.fits and m666_2Rd.fits .
-Usually, observed non-processsed data are archived in a directory (with read
-only access) and we are working in another directory, commonly
-named as working directory. That, we can use another form of mask=
-option which will be save processed images to current working directory
-with the same filename:
-
- sh$ ls m666_1R.fits, m666_2R.fits | darkbat @ dark=darkframe.fits mask=$
-
-
-
-
-
-
-
-
diff -Nru munipack-0.5.9/doc/changes.shtml munipack-0.5.10/doc/changes.shtml
--- munipack-0.5.9/doc/changes.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/changes.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -10,6 +10,37 @@
Summary of recent development.
+Changelog of 0.5.10 (Flat-fielding) release
+
+Release date: 16. January, 2018.
+This release is focused on improving of already
+ developed features.
+
+Improvements:
+
+ Developed new flat-field approach which is mostly like
+ onto photometry calibration than a plain averaging.
+ I believes the implementation is correct, from different
+ points of view, for the first time.
+ Astrometry has faster lucky-match option, input stars are
+ sliced by brightness, has enhanced robust algorithms (estimate
+ of scale, stability, reliability) and some bug-fixes.
+ Estimation of the photometry calibration is regularised which
+ leads to more precise and reliable results of photometry,
+ flat-fielding, etc.
+ Kombine implements averaging of input frames and the
+ result frames might be rotated.
+ Improved estimation of std.errors for aperture photometry
+ leading to better photometric precision as well as conversion
+ of some photometric quantities.
+ All robust algorithms has updated their estimate of scale.
+ Improved artificial features: background in magnitudes per
+ square arcsecond, documentation.
+ Bug-fixes in utilities: phcorr, artificial, votable, list and
+ the graphical interface.
+
+
+
Changelog of 0.5.9 (Artificial Sky) release
Release date: 18. July, 2017.
@@ -29,7 +60,8 @@
Improvements:
- Robust statistical methods are implemented by more reliable algorithms.
+ Robust statistical methods are implemented by more reliable
+ algorithms.
Flat-fielding problem is fully solved.
Added UCAC5 catalogue. UCAC4 is still default due wider
(photometry) completness.
diff -Nru munipack-0.5.9/doc/classics.shtml munipack-0.5.10/doc/classics.shtml
--- munipack-0.5.9/doc/classics.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/classics.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -1,6 +1,6 @@
-
+
-
+
Munipack - Classics Edition
@@ -14,8 +14,8 @@
-The classics edition of Munipack is a set of command-line utilities
-without a graphical user interface and an unified command line interface.
+The classics edition of Munipack was a set of command-line utilities
+without a graphical user interface and an unified command line interface.
One was developed at end of last century (1997 - 2000) and maintained up to 2008.
@@ -23,11 +23,11 @@
Munipack has been originally developed on base of P.B.Stetson's
DAOPHOT II
-packaged in ESO
+packaged in ESO
Midas
distribution. The classic version shares
many great ideas of the original Daophot II and adds
-a lot of enhancements. The additional code contains photometry reduction,
+a lot of enhancements. The additional code contains photometry reduction,
astrometry, image matching and combining utilities.
@@ -36,16 +36,6 @@
(and offers much more over) of the classic edition.
-Documentation
-
-
-Tutorial – How to create a light curve with Munipack.
-
-
-
-Basic – A basic info about Munipack.
-
-
Download
diff -Nru munipack-0.5.9/doc/colorcal.shtml munipack-0.5.10/doc/colorcal.shtml
--- munipack-0.5.9/doc/colorcal.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/colorcal.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -10,7 +10,7 @@
Color Calibration of an Instrumental Photometric System
-How to calibrate of an instrumental photometric system.
+How to calibrate of an instrumental photometric system.
Open cluster M 67
@@ -21,8 +21,8 @@
-As the calibration stars, we are choose data
-which has been carefully measured by Arne Henden
+As the calibration stars, we are choose data
+which has been carefully measured by Arne Henden
(M67 Standards Field ).
@@ -30,8 +30,8 @@
Sample Data
-A sample data are available as
-munipack-data-m67.tar.gz . Use commands
+A sample data are available as
+munipack-data-m67.tar.gz . Use commands
$ cd /tmp
@@ -57,7 +57,7 @@
General relations can by derived as an approximation
-of a set of functions (instrumental filters) by another
+of a set of functions (instrumental filters) by another
set functions (standard filters) as a linear transformations.
A simple example is the calibration of instrumental
v-filter by a standard V-filter:
@@ -66,7 +66,7 @@
v - V = a + b*(V-R)
-The goal is to determine coefficients a,b by a fit
+The goal is to determine coefficients a,b by a fit
of a linear function. The precision depends on coverage of
color index V-R and that is why we use the evolved cluster.
@@ -79,7 +79,7 @@
-Prepare images for photometric corrections as describes
+ Prepare images for photometric corrections as describes
Photometric Corrections Tutorial .
Stars detection and photometry
@@ -107,7 +107,6 @@
Aperture photometry of final frames
$ munipack aphot -f 6 M67_Blue.fits M67_Green.fits
-
@@ -115,15 +114,7 @@
$ munipack phframe --table -q IMAG --naperture 7 M67_Green.fits,M67_Green_res.fits
$ munipack phframe --table -q IMAG --naperture 7 M67_Blue.fits,M67_Blue_res.fits
-
-
The file M67_Green_res.fits contains the table:
diff -Nru munipack-0.5.9/doc/colorimage.shtml munipack-0.5.10/doc/colorimage.shtml
--- munipack-0.5.9/doc/colorimage.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/colorimage.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -16,7 +16,7 @@
Dumbbell Nebula In Colours
-Dumbbell nebula (M 27) is a planetary nebula in Saggita. Dumbbell is
+Dumbbell nebula (M 27) is a planetary nebula in Saggita. Dumbbell is
one from favourite objects for small telescopes, although its colours are
unseen for visual observers except very large equipment.
@@ -25,7 +25,7 @@
Sample Data
-A sample data are available as
+A sample data are available as
munipack-data-m27.tar.gz .
Save it to arbitrary directory (for example /tmp/ ) like:
@@ -37,7 +37,7 @@
The directory munipack-data-m27/ contains exposures in the instrumental
colour system (nearly Johnson) in BVR filters and corresponding dark frames.
-B filter exposures has duration 60 seconds. Both V and R filter exposures has
+B filter exposures has duration 60 seconds. Both V and R filter exposures has
40 seconds. Flat-fields are not available.
@@ -71,7 +71,7 @@
(required for astrometric calibration) in Virtual Observatory
and stores results of search in file cone.fits :
-$ munipack cone -r 0.1 299.87 22.71
+$ munipack cone -r 0.1 -- 299.87 22.71
Prepare the astrometric calibration of images (wait a while)
@@ -99,7 +99,7 @@
Result is the colour image
-$ munipack coloring -c 'Johnson BVR' -o m27.fits m27_B.fits m27_V.fits m27_R.fits
+$ munipack coloring -c 'Johnson BVR' -o m27.fits m27_B.fits m27_V.fits m27_R.fits
@@ -124,16 +124,17 @@
The output image nicely shows regions where radiation of forbidden lines dominates
-(green) and Hα regions heated by shock-waves (red).
+(green) and Hα regions heated by shock-waves (red).
-Also try how this image would be visible by human vision at night, when colour vision
+Also try how this image would be visible by human vision at night, when colour vision
receptors (rods) is not activated. The appearance will be similar to visual sights.
Use xmunipack and Tune->Color_menu or try helper utility:
-$ fitspng -fn 0,1 -o m27.png m27.fits
+$ munipack ctrafo -o m27_xyz.fits -c 'XYZ' m27.fits 1e4,0.66 24e3,1 52e3,1
+$ fitspng -fl 0,3e4 -o m27.png m27_xyz.fits
See Also
@@ -148,8 +149,9 @@
-Tutorial:
-Image Compositions
+Tutorial:
+Image Compositions and
+the shell script m27.sh .
diff -Nru munipack-0.5.9/doc/colorspace.shtml munipack-0.5.10/doc/colorspace.shtml
--- munipack-0.5.9/doc/colorspace.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/colorspace.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -162,7 +162,7 @@
-
+
The image has strong orange background due to sodium lamps.
One has been taken
@@ -311,7 +311,7 @@
-
+
@@ -391,7 +391,7 @@
-
+
@@ -490,7 +490,7 @@
File → Create → Color image.
-
+
Command line usage
diff -Nru munipack-0.5.9/doc/ctutorial.shtml munipack-0.5.10/doc/ctutorial.shtml
--- munipack-0.5.9/doc/ctutorial.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/ctutorial.shtml 1970-01-01 00:00:00.000000000 +0000
@@ -1,259 +0,0 @@
-
-
-
-
-Munipack ‒ Tutorial
-
-
-
-
-
-
Munipack ‒ Tutorial (Classics Edition)
-
-
-There are presented examples of a simple runs of Munipack's routines.
-A first example shows a long time photometry set and the second one
-is dedicated to a deep sky object (passed).
-
-
-A sample data for both runs are available as
-munitut-blazar.tar.gz and
-munitut-bubble.tar.gz .
-Use command tar zxf munitut-blazar.tar.gz and
-tar zxf munitut-blazar.tar.gz to unpack it to a current directory.
-We will assume that the sample data are unpacked to /tmp directory
-as /tmp/munitut-blazar and /tmp/munitut-bubble .
-
-
-
Light curve of blazar 0716+714
-
-
-We have a set of images, flat-fields and dark-frames for the images.
-Our goal is to get a light curve (a time dependence of magnitude)
-of the blazar. The same approach
-can be used for any object as a variable star, an exoplanet, etc.
-
-
-
-Filemask Description Exposure time
-0716_[1-9]R.fits scientific images 120 sec
-d120_[1-7].fits dark-frames of scientific images 120 sec
-f10_[1-9]R.fits flat-fields 10 sec
-d10_[1-9].fits dark-frames of flat-fields 10 sec
-
-
-
-
Working directory
-
-
-As a first important step, we will create a working directory. For example,
-create /tmp/munitut by the command:
-
-
-bash$ mkdir /tmp/munitut
-bash$ cd /tmp/munitut
-
-
-The name of the directory is arbitrary. It is highly recommended to use
-any empty directory to prevent unwanted replacement of any data
-(especially of original images!).
-
-
-
Mean of dark-frames
-
-We will create a mean-dark for scientific exposures. Run the command
-
-
-bash$ ls /tmp/munitut-blazar/d120_*.fits | mdark @ robust=y mask=d120.fits
-
-
-The asterisk marks all images begins with d120_
-together with a suffix .fits . The command ls lists
-images throughout a pipe | to mdark utility which is
-set by @ to read image names from its standard input.
-The mdark uses robust method of mean estimation and the
-mean itself is stored as d120.fits .
-
-
-
-The parameter robust=y is optional, but highly recommended.
-It reduces of fluency of cosmic-rays and one-image defects. On the
-other side, it requires more computer resources.
-
-
-
-In principle, this step can be omitted, but it is a good practice from
-a statistical point of view. The output image is frequently called
-as the master-dark.
-
-
-
-
-
-A randomly selected dark image.
-
-
-
-
-
-
-Mean of dark-frames (master-dark).
-
-
-
-
Dark correction
-
-Original scientific images can be corrected for dark-frames by
-
-
-bash$ ls /tmp/munitut-blazar/0716_*R.fits | darkbat @ dark=d120.fits mask=$
-
-
-darkbat subtracts, the previously created mean-dark d120.fits ,
-from every scientific exposure and produces new images stored in the current
-working directory with image names identical to original ones.
-
-
-
-
-
-A randomly selected scientific exposure of blazar 0716+714.
-
-
-
-
-
-
-A randomly selected scientific exposure of blazar 0716+714 with the d120 dark-frame subtracted.
-
-
-
-
-
Running mean of flats
-
-There is a tree step procedure for creating of the running mean of flats
-
-
-bash$ ls /tmp/munitut-blazar/d10_*.fits | mdark @ robust=y mask=d10.fits
-bash$ ls /tmp/munitut-blazar/f10_*R.fits | darkbat @ dark=d10.fits mask=$
-bash$ ls f10_*R.fits | aflat @ mask=autoflat.fits
-
-
-The first two lines are a modification of our previously described examples
-(The original flat-field images are corrected about their mean-dark and
-stored in the current directory.) Let's look on tree line. The corrected
-flat-fields are scaled by its mean intensity and its dispersion to
-a unified output level. A robust mean is made on the uniform scaled flats
-and an output flat is stored as autoflat.fits . The output image is
-frequently called as the master-flat.
-
-
-
-The key feature of aflat is the scaling and a robust mean of single
-flats. The procedure is pretty effective for short series of the twilight
-sky's exposures when brightness rapidly decrease. Also, a long over-night series
-of non-identical fields (like many blazar fields) will produce excellent
-results.
-
-
-
-
-
-A randomly selected flat-field image.
-
-
-
-
-
-
-A scaled robust mean of flat-fields (master-flat).
-
-
-
-
-
Flat-field correction
-
-In analogy of dark correction, scientific images (subtracted for dark)
-can be corrected for flats by
-
-
-bash$ ls 0716_*R.fits | flatbat @ flat=autoflat.fits mask=.
-
-
-We can see that the current directory images are used. With
-parameter mask=. the input images are replaced. It may
-be potentially dangerous!
-
-
-
-
-
-A randomly selected, fully corrected (dark and flat), image of blazar 0716+714.
-
-
-
-
-
Photometry
-
-We can apply an aperture photometry on prepared images:
-
-
-bash$ qmphot.pl -i 0716_*R.fits
-bash$ ls 0716_*R.fits | muniphot @ com=.
-
-
-The qmphot.pl prepares configuration files and a running script
-to muniphot .
-The photometry itself can be executed via generated shell script or
-by hand as the second line shows. The run will produce of some additional
-files.
-
-
-
-The routine detect all stars on images and made their aperture photometry.
-
-
-
-
Matching
-
-Matching of images, or matching of list of stars on images, will done with
-
-
-bash$ ls 0716_*R.SRT | munimatch @ ref=0716_1R.SRT
-
-
-Take note on type of used files. There are not images, but a sorted
-list of detected stars .SRT . The reference image has been choose
-by random selection to 0716_1R.SRT .
-
-
-
-It is recommended to use nicer images as a reference frame. The routine
-derives linear transformations between single images.
-
-
-
List of magnitudes
-
-On finish, find coordinates of in inspected object together with a reference
-(comparison) star and run
-
-
-bash$ ls 0716_*R.fits | munilist @ 256,156 258,88 > lc
-
-
-The text file lc contains our measured light curve. The table with
-Julian times and relative magnitudes (together with estimation of residuals).
-
-
-
-
-
-Output light curve
-
-
-
-
-
-
-
-
diff -Nru munipack-0.5.9/doc/dataform_proc.shtml munipack-0.5.10/doc/dataform_proc.shtml
--- munipack-0.5.9/doc/dataform_proc.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/dataform_proc.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -195,8 +195,8 @@
Keywords
Keyword Units Description
EXTNAME GROWCURVE as the identifier of this table
-HWHM HWHM estimated by growth curve in pixels pix
-RADFLX90 Radius containing 90% of energy pix
+HWHM pix HWHM estimated by growth curve in pixels
+RADFLX90 pix Radius containing 90% of energy
Table
diff -Nru munipack-0.5.9/doc/debbuilder.shtml munipack-0.5.10/doc/debbuilder.shtml
--- munipack-0.5.9/doc/debbuilder.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/debbuilder.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -101,7 +101,7 @@
All the required, or any missing, utilities can be installed as:
-# apt-get install gfortran g++ libwxgtk3.0-dev libcfitsio3-dev debhelper dh-autoreconf, minpack-dev
+# apt-get install gfortran g++ libwxgtk3.0-dev libcfitsio-dev debhelper dh-autoreconf minpack-dev
Build of DEB Packages
diff -Nru munipack-0.5.9/doc/docs.shtml munipack-0.5.10/doc/docs.shtml
--- munipack-0.5.9/doc/docs.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/docs.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -3,7 +3,7 @@
-
diff -Nru munipack-0.5.9/doc/flatdebug_3.svg munipack-0.5.10/doc/flatdebug_3.svg
--- munipack-0.5.9/doc/flatdebug_3.svg 1970-01-01 00:00:00.000000000 +0000
+++ munipack-0.5.10/doc/flatdebug_3.svg 2018-01-16 17:58:03.000000000 +0000
@@ -0,0 +1,178 @@
+
+
+
+
+Gnuplot
+Produced by GNUPLOT 5.0 patchlevel 5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 5000
+
+
+
+
+ 10000
+
+
+
+
+ 15000
+
+
+
+
+ 20000
+
+
+
+
+ 25000
+
+
+
+
+ -5
+
+
+
+
+ -4
+
+
+
+
+ -3
+
+
+
+
+ -2
+
+
+
+
+ -1
+
+
+
+
+ 0
+
+
+
+
+ 1
+
+
+
+
+ 2
+
+
+
+
+ 3
+
+
+
+
+ 4
+
+
+
+
+ 5
+
+
+
+
+
+
+
+
+ number of values
+
+
+
+
+ normalised residual
+
+
+
+
+ 'flatdebug_3.dat' using (bin($2,binwidth)):(1.0)
+
+
+
+ 21e3*exp(-x**2/2/1**2)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -Nru munipack-0.5.9/doc/flatdebug_zero.svg munipack-0.5.10/doc/flatdebug_zero.svg
--- munipack-0.5.9/doc/flatdebug_zero.svg 1970-01-01 00:00:00.000000000 +0000
+++ munipack-0.5.10/doc/flatdebug_zero.svg 2018-01-16 17:58:03.000000000 +0000
@@ -0,0 +1,147 @@
+
+
+
+
+Gnuplot
+Produced by GNUPLOT 5.0 patchlevel 5
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+ 10000
+
+
+
+
+ 20000
+
+
+
+
+ 30000
+
+
+
+
+ 40000
+
+
+
+
+ 50000
+
+
+
+
+ 60000
+
+
+
+
+ 0.97
+
+
+
+
+ 0.98
+
+
+
+
+ 0.99
+
+
+
+
+ 1
+
+
+
+
+ 1.01
+
+
+
+
+ 1.02
+
+
+
+
+ 1.03
+
+
+
+
+
+
+
+
+ number of values
+
+
+
+
+ flat-field value
+
+
+
+
+ 'flatdebug_zero.dat' using (bin($3,binwidth)):(1.0)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Binary files /tmp/tmpIsR5ah/LGkvHlXPpo/munipack-0.5.9/doc/flatfielding.png and /tmp/tmpIsR5ah/a0pF0kjEWv/munipack-0.5.10/doc/flatfielding.png differ
diff -Nru munipack-0.5.9/doc/flatfielding.shtml munipack-0.5.10/doc/flatfielding.shtml
--- munipack-0.5.9/doc/flatfielding.shtml 1970-01-01 00:00:00.000000000 +0000
+++ munipack-0.5.10/doc/flatfielding.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -0,0 +1,211 @@
+
+
+
+
+Munipack ‒ Flat-field
+
+
+
+
+Flat-field
+
+
+ Overview of a general flat-fielding problem and description
+ of its solution by Munipack.
+
+
+ Munipack implements its own flat-field algorithm on base of
+ the standard photometry calibration rather than commonly used
+ methods (they uses of median of scaled flat-fields).
+ The presented approach enables to reach the maximal possible
+ precision which is limited by only statistical noise of light.
+ The approach is unique and has been not found
+ in any available literature.
+
+
+Standing on the shoulders of flat-fields
+
+
+ Although a correct flat-field is the crucial tool for reaching
+ suitable photometry precision of observations, the care of acquiring
+ and processing of flat-fields is not appropriate. This is
+ especially true for any flat-field post-processing.
+
+
+
+ A capacity of common semi-conductor detectors is limited
+ on values, say, 100k counts per pixels.
+ A good flat-field has its
+ mean level about 50k counts which gives its relative precision on value
+ √50k / 50k ≈ 0.004 per pixel, if Poisson distribution can by considered.
+ So for a star which occupy about
+ ten pixels (3×3), one will have a relative precision over 0.01 magnitude
+ due to the flat-field. A small error in flat-field determination
+ leads to measurable deviations of results.
+
+
+
+ To improve the precision, some increase of a capacity of detectors
+ can help, but it have technical limitations. Also, it will not suppress
+ different light sensitivity of pixels including all the optical path.
+ In this case, the feasible way is averaging of frames as provides
+ Munipack flat utility.
+
+
+
+The flat-fielding mystery revealing
+
+ Mean levels of flat-fields, captured using of an unstable light source
+ (during twilight), are unequal.
+ As a consequence, a direct average of that flat-fields
+ is impossible.
+
+
+ A common solution of the trouble is normalisation of flat-fields
+ on an unique intensity level preparatory to an averaging.
+ The problem of the
+ approach is determination of a mean level of every frame.
+ Its values has no
+ Normal
+ distribution
+ which is leading to a poor definition of the average level.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A distribution of values of flat-field shows an asymmetric histogram
+
+
+
+
+ The main difficulty comes due to the folded surface of flat-fields.
+ While it is possible to compute a mean level, the estimate
+ will not be optimal or accurate due to blending of statistical
+ distributions: the light noise and the surface of flat-field
+ itself.
+
+
+
+ The crucial point of Munipack approach is decomposition
+ of flat-field frames on single, independent pixels.
+ These pixels, with the same position but collected
+ over all frames, can be considered as sources of light
+ like stars and similar procedure as the star calibration can be used.
+ Reference sources are initially unknown,
+ but can be estimated by iterations.
+
+
+
+
+
+ A blended distribution of values as result of a folded surface
+ of a flat-field
+
+
+
+
+
+ Munipack is using two-phase algorithm which determine a rough
+ flat-field during the first phase (equivalent to common
+ practice). The second phase determines
+ the mean level against to the rough flat followed by averaging.
+ The approach makes the second phase to be work with Normally
+ distributed data giving precise and reliable results.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The final flat-field accepting folded (wrinkled) property. Resultant
+ histogram of residuals of an single frame is near Normal distribution
+ (only on per frame basis deviations).
+
+
+
+
+
+ The developed algorithm solves a non-linear implicit equation
+ for both levels and all pixels of the resultan flat-field.
+ The approach is a variant of photon calibration where
+ the reference photon sources are iterative established
+ during the computation.
+
+
+
+Flat-fielding rules
+
+
+ There is a list of rules,
+ summarising of my long time experiences with flat-fielding,
+ which I recommends for flat-fielding:
+
+
+ The flat-field frame is very important, because
+ a quality of the flat-field determines photometry precision
+ of results.
+ Only twilight flat-frames are acceptable (any light gadgets
+ gives only poor results – please send me counter-example).
+ The twilight flats can be acquired with this rules in mind:
+
+ acquire only on clear sky without any clouds,
+ additional light pollution by an artificial light or Moon is
+ unacceptable,
+ use opposite directions on Sun,
+ choose fields in Earth's shadow,
+ acquire on field not too close to horizon,
+ keep polarisation
+ due to Sun on minimum,
+
+ select a field with sparse and faint stars,
+ switch-off sidereal motion of telescope mount's,
+ use shorter minimal exposure to prevent changes of illumination
+ during the twilight (but not such short to capture
+ shutter speed),
+ prefer levels of flat-fields around half of its full range (capacity).
+
+
+
+
+
+See Also
+
+
+Flat-field manual ,
+Photometry corrections .
+Standing on the shoulders of giants .
+
+
+
+
+
Binary files /tmp/tmpIsR5ah/LGkvHlXPpo/munipack-0.5.9/doc/flatfine.png and /tmp/tmpIsR5ah/a0pF0kjEWv/munipack-0.5.10/doc/flatfine.png differ
Binary files /tmp/tmpIsR5ah/LGkvHlXPpo/munipack-0.5.9/doc/flatzero.png and /tmp/tmpIsR5ah/a0pF0kjEWv/munipack-0.5.10/doc/flatzero.png differ
diff -Nru munipack-0.5.9/doc/foot.shtml munipack-0.5.10/doc/foot.shtml
--- munipack-0.5.9/doc/foot.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/foot.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -1,6 +1,6 @@
-Copyright © 1997 – 2017
+Copyright © 1997 – 2018
Filip Hroch (
✉ ), license
GPLv3 .
diff -Nru munipack-0.5.9/doc/grow.shtml munipack-0.5.10/doc/grow.shtml
--- munipack-0.5.9/doc/grow.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/grow.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -93,7 +93,7 @@
-
Properties
+Properties
diff -Nru munipack-0.5.9/doc/guide.shtml munipack-0.5.10/doc/guide.shtml
--- munipack-0.5.9/doc/guide.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/guide.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -3,17 +3,17 @@
-
-
Munipack ‒ User Guide
+
Munipack ‒ User guide
-
User Guide
+
User guide
Guides with step by step tutorials and
the complete user manual.
@@ -27,36 +27,37 @@
Getting started (start here)
Features
-
Virtual Observatory
+
Virtual observatory
-
Color Processing
-
Intensity Tone
+
Color processing
+
Intensity tone
-
Photometry Calibration Overview
-
Astrometry Overview
-
Grow Curve Overview
-
Artificial Sky
+
Photometry calibration overview
+
Astrometry overview
+
Grow curve overview
+
Artificial sky
+
Flat-fielding
Astronomical Tutorials
@@ -79,22 +80,22 @@
Averaged bias frame
Averaged dark frame
Averaged flat-field frame
-
Photometric pre-corrections
+
Photomety corrections
Processing
Products
@@ -104,7 +105,7 @@
Color-space transformations
-
Virtual Observatory
+ Virtual observatory
diff -Nru munipack-0.5.9/doc/head.shtml munipack-0.5.10/doc/head.shtml
--- munipack-0.5.9/doc/head.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/head.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -7,7 +7,7 @@
diff -Nru munipack-0.5.9/doc/image_list.mk munipack-0.5.10/doc/image_list.mk
--- munipack-0.5.9/doc/image_list.mk 2017-07-17 23:04:23.000000000 +0000
+++ munipack-0.5.10/doc/image_list.mk 2018-01-16 17:58:08.000000000 +0000
@@ -69,6 +69,9 @@
favicon-gprofile.png \
favicon.png \
fedora_icon.png \
+ flatfielding.png \
+ flatfine.png \
+ flatzero.png \
gphoto.png \
gplv3-127x51.png \
gplv3-88x31.png \
@@ -125,9 +128,12 @@
ngc637_mini.jpeg \
Kepler-21b.svg \
comp0716_V.svg \
+ flatdebug_3.svg \
+ flatdebug_zero.svg \
grow_curve.svg \
grow_curve_anotated.svg \
lc0716_V.svg \
lcapprox.svg \
ngc637.svg \
- res_fill.svg
+ res_fill.svg \
+ wrinkledflat.svg
diff -Nru munipack-0.5.9/doc/install.shtml munipack-0.5.10/doc/install.shtml
--- munipack-0.5.9/doc/install.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/install.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -35,7 +35,7 @@
-
+
@@ -43,26 +43,34 @@
There are temporary packages prepared for older Ubuntu (the most frequent
- platform). The installation under Ubuntu 16.04 (Xenial Xerus) requires
- appending of the following line to
+ platform) distribution. The installation under Ubuntu 16.04 (Xenial Xerus)
+ or 14.04 (Trusty Tahr) requires appending of the following line to
/etc/apt/sources.list :
-deb http://munipack.physics.muni.cz/ubuntu/ xenial/
+deb http://munipack.physics.muni.cz/ubuntu/xenial xenial main
+
+or
+
+deb http://munipack.physics.muni.cz/ubuntu/trusty trusty main
- The system package list should be updated and than Munipack can be installed:
+ The system package list should to import sign key, be updated and
+ than Munipack can be installed:
+$ wget -O - http://integral.physics.muni.cz/~hroch/hroch@physics.muni.cz.gpg.key | \
+ sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install munipack
+
@@ -89,7 +97,8 @@
and importing GPG key:
-$ wget -O - http://integral.physics.muni.cz/~hroch/hroch@physics.muni.cz.gpg.key | sudo apt-key add -
+$ wget -O - http://integral.physics.muni.cz/~hroch/hroch@physics.muni.cz.gpg.key| \
+ sudo apt-key add -
The installation itself is straightforward:
diff -Nru munipack-0.5.9/doc/itone.shtml munipack-0.5.10/doc/itone.shtml
--- munipack-0.5.9/doc/itone.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/itone.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -295,7 +295,7 @@
-
+
The algorithm
diff -Nru munipack-0.5.9/doc/lctut.sh munipack-0.5.10/doc/lctut.sh
--- munipack-0.5.9/doc/lctut.sh 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/lctut.sh 2018-01-16 17:58:03.000000000 +0000
@@ -31,7 +31,7 @@
# astrometry calibration
munipack cone -c UCAC5 -r 0.2 -- 110.5 71.3
-munipack astrometry --maxmatch 20 -c cone.fits 0716_*.fits
+munipack astrometry -c 'cone.fits[1][$f.mag$>11.and.$f.mag$<15]' 0716_*.fits
# photometry calibration
wget http://munipack.physics.muni.cz/0716+71.lst
@@ -40,12 +40,27 @@
munipack cone -c UCAC4 -o cone_ucac4.fits -r 0.2 -- 110.5 71.3
python ucac_jmuc.py cone_ucac4.fits cone_Johnson.fits
+#SAPER="--saper 5"
+#THRESH="-th 0.1 -e 0.01"
+for FILTER in V R; do
+ #munipack kombine --average -o 0716.${FILTER}.fits 0716_04?${FILTER}.fits
+ cp 0716_042${FILTER}.fits 0716.${FILTER}.fits
+ munipack find 0716.${FILTER}.fits
+ munipack aphot 0716.${FILTER}.fits
+ munipack astrometry -c 'cone.fits[1][$f.mag$>11.and.$f.mag$<15]' \
+ 0716.${FILTER}.fits
+ munipack phcal --verbose --photsys-ref Johnson -f ${FILTER} --area 0.3 \
+ -c 0716+71.fits --col-mag ${FILTER}mag --col-magerr e_${FILTER}mag \
+ $THRESH $SAPER 0716.${FILTER}.fits
+done
+
+
for FILTER in V R; do
# manual
for A in 0716_*${FILTER}.fits; do
munipack phcal -C 1 --photsys-ref Johnson -f ${FILTER} \
- --saper 4 -O --mask '\!\1_mancal.\2' $A;
+ $SAPER -O --mask '\!\1_mancal.\2' $A;
done
# mancal, aperture 7, extinction
@@ -81,18 +96,16 @@
--photsys-ref Johnson --area 0.3 \
-f ${FILTER} --col-mag ${FILTER}mag --col-magerr e_${FILTER}mag \
-c 0716+71.fits \
- --saper 4 \
- -O --mask '\!\1_catcal.\2' \
- $A;
+ $THRESH $SAPER \
+ -O --mask '\!\1_catcal.\2' $A;
done
# reference frame
for A in 0716_*${FILTER}.fits; do
munipack phcal \
- --photsys-ref Johnson --area 0.3 \
- -f ${FILTER} \
- --saper 4 \
- -r 0716_035${FILTER}_catcal.fits -O --mask '\!\1_refcal.\2' $A;
+ --photsys-ref Johnson -f ${FILTER} --area 0.3 \
+ $THRESH $SAPER -r 0716.${FILTER}_cal.fits \
+ -O --mask '\!\1_refcal.\2' $A;
done
# ucac
@@ -100,16 +113,34 @@
munipack phcal \
--photsys-ref Johnson --area 0.3 --col-ra RAJ2000 --col-dec DEJ2000 \
-f ${FILTER} --col-mag ${FILTER}mag --col-magerr e_${FILTER}mag \
- -c cone_Johnson.fits \
- --saper 4 \
- -O --mask '\!\1_ucacal.\2' \
- $A;
+ -c "cone_Johnson.fits[1][e_${FILTER}mag<0.1]" $THRESH $SAPER \
+ -O --mask '\!\1_ucacal.\2' $A;
done
done
-#munipack kombine --rcen 110.47 --dcen 71.34 --width 640 --height 480 -o V.fits 0716_*V.fits
-#munipack kombine --rcen 110.47 --dcen 71.34 --width 640 --height 480 -o R.fits 0716_*R.fits
+munipack kombine --average --rcen 110.47 --dcen 71.34 --width 640 --height 480 -o V.fits 0716_*V_catcal.fits
+munipack kombine --average --rcen 110.47 --dcen 71.34 --width 640 --height 480 -o R.fits 0716_*R_catcal.fits
+
+#for FILTER in V R; do
+# munipack find ${FILTER}.fits
+# munipack aphot ${FILTER}.fits
+# munipack astrometry -c 'cone.fits[1][$f.mag$>11.and.$f.mag$<15]' \
+# ${FILTER}.fits
+# munipack phcal \
+# --photsys-ref Johnson --area 0.3 --col-ra RAJ2000 --col-dec DEJ2000 \
+# -f ${FILTER} --col-mag ${FILTER}mag --col-magerr e_${FILTER}mag \
+# -c "cone_Johnson.fits[1][e_${FILTER}mag<0.1]" $THRESH $SAPER \
+# -O --mask '\!\1_cal.\2' ${FILTER}.fits;
+#
+# # reference frame
+# for A in 0716_*${FILTER}.fits; do
+# munipack phcal \
+# --photsys-ref Johnson -f ${FILTER} --area 0.3 \
+# $THRESH $SAPER -r ${FILTER}_cal.fits \
+# -O --mask '\!\1_refcal.\2' $A;
+# done
+#done
# light curves
@@ -164,7 +195,10 @@
set yrange[14.8:13.5]
set term svg dynamic
set output 'lc0716_V.svg'
-plot 'mancal_V' u (\$1-2453409):(\$2-\$4+11.8) t "diff(0716+71 - A) + 11.8", 'catcal_V' u (\$1-2453409):(\$2-0.2) t "std.field - 0.2" ls 1 lc 2, 'refcal_V' u (\$1-2453409):2 t "frame" ls 1 lc 3, 'ucacal_V' u (\$1-2453409):(\$2+0.1) t "UCAC4 + 0.2" ls 1 lc 4
+plot 'mancal_V' u (\$1-2453409):(\$2-\$4+11.8) t "diff(0716+71 - A) + 11.8", \
+ 'catcal_V' u (\$1-2453409):(\$2-0.2) t "std.field - 0.2" ls 1 lc 2, \
+ 'refcal_V' u (\$1-2453409):2 t "frame" ls 1 lc 3, \
+ 'ucacal_V' u (\$1-2453409):(\$2+0.2) t "UCAC4 + 0.2" ls 1 lc 4
EOF
@@ -173,10 +207,14 @@
set title "Calibration star A"
set ylabel "magnitude in V"
set xlabel "JD - 2453409"
-set yrange[11.9:11.2]
+set yrange[12:11]
+set ytics 0.1
set term svg dynamic
set output 'comp0716_V.svg'
-plot 'mancal_V' u (\$1-2453409):(\$4-\$6+12.65) t "diff(A-B)+12.65", 'catcal_V' u (\$1-2453409):(\$4-0.1) t "std.field - 0.1" ls 1 lc 2, 'refcal_V' u (\$1-2453409):4 t "frame" ls 1 lc 3, 'ucacal_V' u (\$1-2453409):(\$4+0.1) t "UCAC4 + 0.2" ls 1 lc 4
+plot 'mancal_V' u (\$1-2453409):(\$4-\$6+12.65) t "diff(A-B)+12.65", \
+ 'catcal_V' u (\$1-2453409):(\$4-0.1) t "std.field - 0.1" ls 1 lc 2, \
+ 'refcal_V' u (\$1-2453409):4 t "frame" ls 1 lc 3, \
+ 'ucacal_V' u (\$1-2453409):(\$4+0.2) t "UCAC4 + 0.2" ls 1 lc 4
EOF
# plots, R filter
@@ -188,7 +226,10 @@
set yrange[14.5:13.0]
set term svg dynamic
set output 'lc0716_R.svg'
-plot 'mancal_R' u (\$1-2453409):(\$2-\$4+11.7) t "diff(0716+71 - A) + 11.7", 'catcal_R' u (\$1-2453409):(\$2-0.2) t "std.field - 0.2" ls 1 lc 2, 'refcal_R' u (\$1-2453409):2 t "frame" ls 1 lc 3, 'ucacal_R' u (\$1-2453409):(\$2+0.1) t "UCAC4 + 0.2" ls 1 lc 4
+plot 'mancal_R' u (\$1-2453409):(\$2-\$4+11.7) t "diff(0716+71 - A) + 11.7", \
+ 'catcal_R' u (\$1-2453409):(\$2-0.2) t "std.field - 0.2" ls 1 lc 2, \
+ 'refcal_R' u (\$1-2453409):2 t "frame" ls 1 lc 3, \
+ 'ucacal_R' u (\$1-2453409):(\$2+0.1) t "UCAC4 + 0.1" ls 1 lc 4
EOF
@@ -197,10 +238,14 @@
set title "Calibration star A"
set ylabel "magnitude in R"
set xlabel "JD - 2453409"
-set yrange[11.8:10.8]
+set yrange[11.7:10.7]
+set ytics 0.1
set term svg dynamic
set output 'comp0716_R.svg'
-plot 'mancal_R' u (\$1-2453409):(\$4-\$6+12.5) t "diff(A-B+12.5)", 'catcal_R' u (\$1-2453409):(\$4-0.1) t "std.field - 0.1" ls 1 lc 2, 'refcal_R' u (\$1-2453409):4 t "frame" ls 1 lc 3, 'ucacal_R' u (\$1-2453409):(\$4+0.1) t "UCAC4 + 0.2" ls 1 lc 4
+plot 'mancal_R' u (\$1-2453409):(\$4-\$6+12.5) t "diff(A-B+12.5)", \
+ 'catcal_R' u (\$1-2453409):(\$4-0.1) t "std.field - 0.1" ls 1 lc 2, \
+ 'refcal_R' u (\$1-2453409):4 t "frame" ls 1 lc 3, \
+ 'ucacal_R' u (\$1-2453409):(\$4+0.1) t "UCAC4 + 0.1" ls 1 lc 4
EOF
@@ -214,7 +259,10 @@
set yrange[17:16.3]
set term svg dynamic
set output 'ext.svg'
-plot 'ext_R' u 2:6 t "R total flux", 'ext7_R' u 2:6 t "R flux in 7-th aperture" ls 1 lc 2, 'ext_V' u 2:6 t "V total flux", 'ext7_V' u 2:6 t "V flux in 7-th aperture" ls 1 lc 2
+plot 'ext_R' u 2:6 t "R total flux", \
+ 'ext7_R' u 2:6 t "R flux in 7-th aperture" ls 1 lc 2, \
+ 'ext_V' u 2:6 t "V total flux", \
+ 'ext7_V' u 2:6 t "V flux in 7-th aperture" ls 1 lc 2
EOF
@@ -227,7 +275,8 @@
set yrange[0:15]
set term svg dynamic
set output 'rf90.svg'
-plot 'rf90_R' u (\$1-2453409):2 t "R filter", 'rf90_V' u (\$1-2453409):2 t "V filter" ls 1 lc 2
+plot 'rf90_R' u (\$1-2453409):2 t "R filter", \
+ 'rf90_V' u (\$1-2453409):2 t "V filter" ls 1 lc 2
EOF
# aperture affair
@@ -239,5 +288,8 @@
set yrange[-0.4:-1.4]
set term svg dynamic
set output 'apertures.svg'
-plot 'mancal_V' u (\$1-2453409):(\$4-\$6) t "total flux", 'mancal7_V' u (\$1-2453409):(\$4-\$6 + 0.1) t "aperture 7-th" ls 1 lc 2, 'mancal4_V' u (\$1-2453409):(\$4-\$6 - 0.1) t "aperture 4-th" ls 1 lc 3, 'mancal10_V' u (\$1-2453409):(\$4-\$6 + 0.2) t "aperture 10-th" ls 1 lc 4
+plot 'mancal_V' u (\$1-2453409):(\$4-\$6) t "total flux", \
+ 'mancal7_V' u (\$1-2453409):(\$4-\$6 + 0.1) t "aperture 7-th" ls 1 lc 2, \
+ 'mancal4_V' u (\$1-2453409):(\$4-\$6 - 0.1) t "aperture 4-th" ls 1 lc 3, \
+ 'mancal10_V' u (\$1-2453409):(\$4-\$6 + 0.2) t "aperture 10-th" ls 1 lc 4
EOF
diff -Nru munipack-0.5.9/doc/lctut.shtml munipack-0.5.10/doc/lctut.shtml
--- munipack-0.5.9/doc/lctut.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/lctut.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -493,7 +493,7 @@
lctut.sh is a bash script summarizing
of this tutorial,
ucac_jmuc.py is Python utility (requires
-) which converts UCAC4
+ Astropy ) which converts UCAC4
r,i magnitudes in Gunn to R,I Johnson photometry system.
diff -Nru munipack-0.5.9/doc/m27.sh munipack-0.5.10/doc/m27.sh
--- munipack-0.5.9/doc/m27.sh 1970-01-01 00:00:00.000000000 +0000
+++ munipack-0.5.10/doc/m27.sh 2018-01-16 17:58:03.000000000 +0000
@@ -0,0 +1,24 @@
+
+cd /tmp/
+tar zxf munipack-data-m27.tar.gz
+cd munipack-data-m27/
+munipack dark -o d60.fits d60_*.fits
+munipack phcorr -dark d60.fits m27_*B.fits
+munipack dark -o d40.fits d40_*.fits
+munipack phcorr -dark d40.fits m27_*[VR].fits
+
+munipack find m27_*.fits
+munipack aphot m27_*.fits
+
+
+munipack cone -r 0.1 -- 299.87 22.71
+munipack astrometry -c cone.fits m27_*.fits
+
+munipack kombine -o m27_B.fits --rcen 299.9 --dcen 22.72 m27_*B.fits
+munipack kombine -o m27_V.fits --rcen 299.9 --dcen 22.72 m27_*V.fits
+munipack kombine -o m27_R.fits --rcen 299.9 --dcen 22.72 m27_*R.fits
+
+munipack coloring -c 'Johnson BVR' -o m27.fits m27_B.fits m27_V.fits m27_R.fits
+munipack ctrafo -o m27_xyz.fits -c 'XYZ' m27.fits 1e4,0.66 24e3,1 52e3,1
+
+fitspng -fl 0,3e4 -o m27.png m27.fits
diff -Nru munipack-0.5.9/doc/Makefile.am munipack-0.5.10/doc/Makefile.am
--- munipack-0.5.9/doc/Makefile.am 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/Makefile.am 2018-01-16 17:58:03.000000000 +0000
@@ -8,17 +8,19 @@
SUFFIXES: .shtml .html
TARGETS= munipack.html features.html download.html docs.html notfound.html \
- basic.html external.html classics.html cbasic.html \
- ctutorial.html colorspace.html colorfits.html \
+ basic.html external.html classics.html colorspace.html colorfits.html \
itone.html guide.html faq.html vobs.html history.html \
modules.html credits.html pererr.html lctut.html kombitut.html \
- phcorrtut.html colorimage.html colorcal.html colcal.html cmd.html chart.html \
+ phcorrtut.html colorimage.html colorcal.html colcal.html cmd.html \
+ chart.html \
man_intro.html man_help.html man_coloring.html man_ctrafo.html \
man_bias.html man_dark.html man_flat.html man_phcorr.html \
- man_cone.html man_astrometry.html man_phcal.html man_aphot.html man_gphot.html \
+ man_cone.html man_astrometry.html man_phcal.html man_aphot.html \
+ man_gphot.html \
man_list.html man_fitsut.html man_votable.html man_com.html \
man_env.html man_kombine.html man_timeseries.html man_setup.html \
- dataform_tmseries.html dataform_photometry.html dataform_astrometry.html \
+ dataform_tmseries.html dataform_photometry.html \
+ dataform_astrometry.html \
dataform_photosys.html dataform_phfotran.html dataform_proc.html \
dataform_biasdark.html dataform_flat.html mosaics.html \
phcalibration.html phoverview.html astoverview.html deka154.html \
@@ -26,9 +28,9 @@
fwhm.html changes.html debbuilder.html debbundle.html rpmbuilder.html \
rpmbundle.html install.html version.html SourceInstallation.html \
grow.html dataform_growrep.html man_artificial.html artific.html \
- shcripts.html
+ shcripts.html flatfielding.html
-PADDING = README.docs munipack.css favicon.ico henden_m67.sh \
+PADDING = README.docs munipack.css favicon.ico henden_m67.sh m27.sh \
robots.txt 0716+71.lst timeserie_cat.lst lctut.sh ucac_jmuc.py \
artificial.sh kombitut.sh mosaic.sh Kepler-21b.lst fourier.lst
@@ -45,3 +47,5 @@
#install-exec-hook:
# cd $(docdir) && $(LN_S) munipack.html index.html
# We got a problem when the link already exists.
+
+CLEANFILES = *.html
diff -Nru munipack-0.5.9/doc/Makefile.in munipack-0.5.10/doc/Makefile.in
--- munipack-0.5.9/doc/Makefile.in 2017-07-17 23:04:25.000000000 +0000
+++ munipack-0.5.10/doc/Makefile.in 2018-01-16 17:58:15.000000000 +0000
@@ -167,7 +167,11 @@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
-CLEANFILES = @CLEANFILES@
+
+#install-exec-hook:
+# cd $(docdir) && $(LN_S) munipack.html index.html
+# We got a problem when the link already exists.
+CLEANFILES = *.html
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
@@ -265,7 +269,6 @@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
-develop = @develop@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
@@ -295,17 +298,19 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
TARGETS = munipack.html features.html download.html docs.html notfound.html \
- basic.html external.html classics.html cbasic.html \
- ctutorial.html colorspace.html colorfits.html \
+ basic.html external.html classics.html colorspace.html colorfits.html \
itone.html guide.html faq.html vobs.html history.html \
modules.html credits.html pererr.html lctut.html kombitut.html \
- phcorrtut.html colorimage.html colorcal.html colcal.html cmd.html chart.html \
+ phcorrtut.html colorimage.html colorcal.html colcal.html cmd.html \
+ chart.html \
man_intro.html man_help.html man_coloring.html man_ctrafo.html \
man_bias.html man_dark.html man_flat.html man_phcorr.html \
- man_cone.html man_astrometry.html man_phcal.html man_aphot.html man_gphot.html \
+ man_cone.html man_astrometry.html man_phcal.html man_aphot.html \
+ man_gphot.html \
man_list.html man_fitsut.html man_votable.html man_com.html \
man_env.html man_kombine.html man_timeseries.html man_setup.html \
- dataform_tmseries.html dataform_photometry.html dataform_astrometry.html \
+ dataform_tmseries.html dataform_photometry.html \
+ dataform_astrometry.html \
dataform_photosys.html dataform_phfotran.html dataform_proc.html \
dataform_biasdark.html dataform_flat.html mosaics.html \
phcalibration.html phoverview.html astoverview.html deka154.html \
@@ -313,9 +318,9 @@
fwhm.html changes.html debbuilder.html debbundle.html rpmbuilder.html \
rpmbundle.html install.html version.html SourceInstallation.html \
grow.html dataform_growrep.html man_artificial.html artific.html \
- shcripts.html
+ shcripts.html flatfielding.html
-PADDING = README.docs munipack.css favicon.ico henden_m67.sh \
+PADDING = README.docs munipack.css favicon.ico henden_m67.sh m27.sh \
robots.txt 0716+71.lst timeserie_cat.lst lctut.sh ucac_jmuc.py \
artificial.sh kombitut.sh mosaic.sh Kepler-21b.lst fourier.lst
@@ -390,6 +395,9 @@
favicon-gprofile.png \
favicon.png \
fedora_icon.png \
+ flatfielding.png \
+ flatfine.png \
+ flatzero.png \
gphoto.png \
gplv3-127x51.png \
gplv3-88x31.png \
@@ -446,12 +454,15 @@
ngc637_mini.jpeg \
Kepler-21b.svg \
comp0716_V.svg \
+ flatdebug_3.svg \
+ flatdebug_zero.svg \
grow_curve.svg \
grow_curve_anotated.svg \
lc0716_V.svg \
lcapprox.svg \
ngc637.svg \
- res_fill.svg
+ res_fill.svg \
+ wrinkledflat.svg
dist_html_DATA = $(TARGETS) $(image_list) $(PADDING)
all: all-am
@@ -675,10 +686,6 @@
.shtml.html:
$(AWK) -f include.awk $< > $@
-#install-exec-hook:
-# cd $(docdir) && $(LN_S) munipack.html index.html
-# We got a problem when the link already exists.
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff -Nru munipack-0.5.9/doc/man_artificial.shtml munipack-0.5.10/doc/man_artificial.shtml
--- munipack-0.5.9/doc/man_artificial.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_artificial.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -90,6 +90,14 @@
The extinction coefficient k depends on a spectral band.
+
+ The sky brightness (see below) is modelled by the same way
+ (bZ is its zenit value)
+
+
+ b(X) = bZ e-k(X-1)
+
+
Modelling of seeing
@@ -188,8 +196,8 @@
simulating of short exposures.
Fourier convolution -- this method generates both diffraction profile
and Gaussian with the Fried's width. The profiles are convoluted
- with help of convolution theorem and
- FFT . This method is fast and results are perfectly smooth.
+ with help of convolution theorem and
+ FFT . This method is fast and results are perfectly smooth.
All stars, on the image, are modelled with the same profile.
@@ -209,50 +217,80 @@
- where B0 is a mean level (--back-level )
+ where B0 is a mean level (derived
+ from --skymag )
at centre of the picture x0 , y0 ,
N(b, Δb) is a function which makes a noise with
- Normal distribution .
- The parameters are mean level b and standard deviation Δb
- (--back-noise ).
- If Δb is not set, it is defined as Δb = √ B0 .
+ Normal
+ distribution .
+ The parameters are mean level b and standard deviation Δb ,
+ which is computed as Δb = √ B0 .
+
+
+
The optional gradient in background in counts per pixels is given
by terms ΔBx , ΔBy
- (--back-grad-x, --back-grad-y ). It can do modelling of
- a light pollution (by Moon). The common values for gradients are inside
- interval -1 … 1.
+ (--sky-grad-x, --sky-grad-y ). It can do modelling of
+ a light pollution (by Moon). The common values for gradients are
+ of order 0.0001 … 0.001 (negative values means negative slope of
+ the plane in given direction).
+
+
+
+Common sky brightness in zenit
+value [mag/arcsec2] light conditions
+above 22 natural sky, high-altitude observatory
+22 dark place, excellent night
+21 countryside sky, average night
+20 suburban sky, poor night
+18 urban sky, full Moon
+under 17 city sky, twilight
+
+
+
+ Values in the table are rought and determined by my observing
+ experiences
+ (wiki page⤴ ).
Star fields
- Field stars are generated by a random number generator
- in case if no -c option is presented. Catalogue
- star coordinates and magnitudes are used otherwise.
+ Field stars are generated by a random number generator,
+ if no -c option (a catalogue) is presented.
+ Catalogue star coordinates and magnitudes are used otherwise.
- Coordinates of the stars has
- uniform distribution in ranges given by frame size.
+ Rectangular (without projection) coordinates of the stars has
+
+ uniform distribution in ranges given by a frame size.
The standard Fortran random number generator, with no initial seed, is used.
- I derived the rough approximation
+ Magnitude distribution, meaning a probability to found number
+ of stars in given magnitude interval per square degree, is
+ modelled as an exponential function with a cut-off to prevent
+ Olbersʼ
+ paradox .
+ I derived a rough approximation
of the observed (surface) distribution of stars by brightens
from DR1
by Gaia mission :
- Σ(m) = 10-4 · e1.1m [□°]
+ Σ(m) = 10-4 · e1.1m [□°],
+ m < m0
- The quantity describes probability to found counts of stars
- of given magnitude per square degree.
-
+ The cut-off m0 is given by --maglim
+ parameter.
+Large values of m0 and large field of view
+can effectively exhaust the computer memory.
The distribution approximation must be considered as an effective description.
@@ -329,7 +367,7 @@
--beta β
Value of β exponent of Moffat profile (β > 0, β ≠ 1 ).
- --maglim mag
+ --maglim m0
Sets the most faint stars on frame for random generated field stars.
This option is active only when star catalogue (by -c,--cat )
is not used.
@@ -367,16 +405,15 @@
are undefined, the centre of projection (as --rcen, --dcen )
is used.
- --back-level B
- Sets level of background as a positive number.
-
- --back-noise b
- Sets noise of background. If not given (or negative value passed), the
- square root of the background level is used.
-
- --back-grad-x bx, --back-grad-y by
- Background gradient in counts per pixel. It can simulate a light
- pollution (by Moon).
+ --sky-mag skymag
+ Set sky brightness in magnitudes per square arcsecond.
+ Default value is 21 meaning good observing conditions.
+
+ --sky-grad-x xmag, --sky-grad-y ymag
+ Background change in magnitues per square arcsecond and pixel
+ in given direction.
+ The order of common values is in the interval 0.0001 … 0.001.
+ It simulates a light pollution (by Moon).
--area area
The detection area of a simulated telescope in square meters.
@@ -442,9 +479,6 @@
Examples
-
-Common usage
-
$ munipack artificial
$ xmunipack artificial.fits
@@ -460,7 +494,7 @@
It contains magnitudes (optionally, with errors)
with columns: TIME,MAG,MAGERR.
Records in the table must be sorted in time-increasing
- order. Overview does demonstrate usage.
+ order. Overview describes its application.
Table of Fourier coefficients
diff -Nru munipack-0.5.9/doc/man_astrometry.shtml munipack-0.5.10/doc/man_astrometry.shtml
--- munipack-0.5.9/doc/man_astrometry.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_astrometry.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -40,6 +40,86 @@
+Reccomendations
+
+The matching process is searching for a mutual correspondece
+ in two list of coordinates. The mathcing is generaly slow and
+ complex process. To increase of its reliability and speed,
+ is is important to compare (and prepare) the list by such way
+ so that the coordinates as well as magnitues overlaps.
+ The overlap in coodinates means to use of catalogues selection
+ with very similar centre and radius as the frames. Also
+ magnitude overlap must corresponds with non-saturated (and non-faint)
+ stars on images. (If both the conditions will not meet, the
+ matching will probbaly also sucessufll.)
+
+
+
+ There two ways how to realise. The coordinate correspondece
+ can be make with known object position and field of view (FOV)
+ of telescope (it means angular diameter of the cone on sky)
+ in degress. If the telescope has FOV 0.5 deg and the observed
+ objects is Crab nebulae than the optimal selection from
+ UCAC4 cataloguje is:
+
+
+ munipack cone -r 0.2 -- 83.63 22.01
+
+
+
+ The magnitude selection is simliar. It depends on all telescope,
+ exposure time and filter. The mathcing (as well as photometry)
+ will sucesfull only with non-saturated bright stars. If we have
+ an experinece that the stars are saturated at 12, than
+ the catalogue selection can be improved (syntax is
+ column_name=[some constrain]):
+
+
+ munipack cone -r 0.2 --par 'f.mag=>12' -- 83.63 22.01
+
+
+
+ Alternatively, the filtration capabailities of FITSIO can be used
+
+
+ munipack astrometry -c 'cone.fits[1][$f.mag$>12]' crab.fits
+
+
+ We are selecting only non-saturated stars fainter than magnitude 12
+ in column f.mag. The usual linear range of 16-bit CCD cameras is
+ about 3-5 magnitudes.
+
+
+
+ Parameter --maxmatch slices the catalogue on parts with similar
+ magnitudes (magnitudes in certain range). This is due to sorting
+ of both catalpogue and frame by magnitudes.
+
+
+
+ Parameter --minmatch sets minimal length of match sequence
+ which is supposet to by complete (sucesfull match). For sparse
+ fileds, the defaults are usually satisfactyory, but very dense
+ fields like SMC, LMC needs increase this parameters. Munipack
+ sets the default of 5. If the mean surface density exceeds
+ the limit (?), the parameter is increased. The small values
+ on crowded fiedls can produce false match (because probability
+ of miss-match is getting appreciable).
+
+
+
+
+Suitable parameters for astrometric calibration
+Case Solution
+sparse field, < 1 m telescope defaults
+crowded field, < 1 m telescope --minmatch=7, --maxmatch=44
+sparse field, > 1 m telescope -c 'cone.fits[1][$f.mag$>14]'
+crowded field, > 1 m telescope --minmatch=7, --maxmatch=44, -c 'cone.fits[1][$f.mag$>14 .and. $f.mag$<20]'
+
+
+
+
+
Algorithm
@@ -96,12 +176,6 @@
Angles computed between all stars in a real space must be inside
tolerance.
-
the sequence must have first and last stars connected (all implemented
tests must be passed).
@@ -223,10 +297,6 @@
robust (by default).
-
Parameters For Matching:
@@ -245,12 +315,25 @@
sparse fields with a few stars only will enough 3-5. To use match algorithm minimal
length is 3. Upper limit is given by --maxmatch .
--maxmatch n Set maximum count of objects for matching.
- The default is 33 or count of objects in catalogue or in frame. There is no upper
- limit, but values over hundredth are probably unusable. The recommended value
- for crowded field is 30 - 50.
---disable-full-match finish when a first successful match
- has occurred (normally, the full matching is performed, eg. the matching
- algorithm explores all possible and acceptable combinations of stars)
+ The default is 33 or count of objects in catalogue or in frame.
+ There is no upper limit, but values over hundredth are probably unusable.
+ The recommended value for crowded field is 30 - 50.
+--luckymatch n Set the number which is added to
+ value given by --minmatch and supposed to indicate
+ a reliable sequence. For instance, --minmatch 5
+ and --luckymatch 3 indicates good match when result
+ has at least 8 successful matches. Default values is 3.
+ It is reliable like full match and fast like use of first
+ successful match, if the value is greater than 1.
+
+--disable-lucky-match
+ Finish at first success match when --minmatch
+ is reached. Alias for --luckymatch 0
+
+--enable-full-match without this option
+ finish when a first successful lucky match has occurred.
+ Full matching is performed when presented, eg. the matching
+ algorithm explores all possible and acceptable combinations of stars.
--disable-flux-check To improve speed and reliability
of matching, fluxes are used as the additional independent quantity
for checking. This switch disables flux check completely. A possibility
@@ -278,12 +361,12 @@
+Following combinations of mode and options are possible
Mode Options
match -c, -r, -R, Parameters for Matching
sequence --seq1, --seq2, -c, -r, -R
manual --projection, --xcen, --ycen, --rcen,
--dcen, --scale, --angle, --reflex
-Following combinations of mode and options are possible
@@ -319,7 +402,7 @@
catalogue
-munipack cone -c UCAC5 -o 0716cat.fits -r 0.1 110.25 71.34
+munipack cone -c UCAC5 -o 0716cat.fits -r 0.1 -- 110.25 71.34
UCAC5 is the recommended astrometric catalogue (default). We must provide
@@ -430,7 +513,7 @@
Virtual Observatory :
-$ munipack -o 0716_cat.fits -r 0.2 cone 110.25 71.34
+$ munipack -o 0716_cat.fits -r 0.2 cone -- 110.25 71.34
Selected astrometric stars in radius 0.2° around centre
@@ -447,22 +530,6 @@
of successful matching.
-
-
Invoking of Matching
@@ -575,10 +642,10 @@
Debug: CAT = 'cone.fits'
Debug: FILE = '0716_006V.fits' '0716_006V.fits~' ''
Selecting catalogue stars in rank: 1 33
- Matching... #: {seq1} -> {seq2} | scale,r: sq.(angle, scale, flux) < Xi2(0.95)
+ Matching... #: {seq1} -> {seq2} | scale,r: sq.(angle, scale, flux) < Xi2(0.95)
Astrometry calibration of `0716_006V.fits'.
-17: 5 6 9 16 17 18 19 21 23 22 24 26 27 29 28 30 32 -> 1 2 3 5 6 4 13 10 7 11 12 9 8 18 14 21 16 | 1767.5 4.53: 1.36 .669E-001 15.7 < 26.0
-17: 28 29 5 6 9 16 17 18 19 21 23 22 24 26 27 30 32 -> 14 18 1 2 3 5 6 4 13 10 7 11 12 9 8 21 16 | 1767.5 4.53: .553 .710E-001 15.7 < 26.0
+17: 5 6 9 16 17 18 19 21 23 22 24 26 27 29 28 30 32 -> 1 2 3 5 6 4 13 10 7 11 12 9 8 18 14 21 16 | 1767.5 4.53: 1.36 .669E-001 15.7 < 26.0
+17: 28 29 5 6 9 16 17 18 19 21 23 22 24 26 27 30 32 -> 14 18 1 2 3 5 6 4 13 10 7 11 12 9 8 21 16 | 1767.5 4.53: .553 .710E-001 15.7 < 26.0
=== Parameters estimation ===
# estim init scale [pix/deg]: 1767.6 0.1
# estim init reflexion: 1.
diff -Nru munipack-0.5.9/doc/man_bias.shtml munipack-0.5.10/doc/man_bias.shtml
--- munipack-0.5.9/doc/man_bias.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_bias.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -23,23 +23,23 @@
A bias frame is a zero-time exposure with no light. The exposure with the shortest
-possible exposure time provided by a device. One maps a pre-amplifier bias (offset)
+possible exposure time provided by a device. One maps a pre-amplifier bias (offset)
of readout electronics. This routine creates an average bias frame,
sometimes named as a masterbias.
-Because bias exposure times are really short (1/100s or less), it is
+Because bias exposure times are really short (1/100s or less), it is
recommended to acquire and average a lot of exposures (>10).
-An output bias Bij is computed as the average of every pixel of
+An output bias Bij is computed as the average of every pixel of
input images (Ik )ij :
-Bij = 〈Ik 〉ij ,
+Bij = 〈 Ik 〉ij ,
where i,j is an index of a pixel and k is an index of an image.
@@ -47,16 +47,16 @@
Two methods of averaging are implemented. An arithmetical mean
-is fast and memory conserving while a robust mean is significantly slower and requires
-much more memory. Use of the robust mean is preferred because random defects (cosmics,
+is fast and memory conserving while a robust mean is significantly slower and requires
+much more memory. Use of the robust mean is preferred because random defects (cosmics,
interferences) are greatly suppressed.
Both chip temperatures or exposure times are checked to be nearly the same
-during processing when FITS_KEY_TEMPERATURE and FITS_KEY_EXPTIME
-environment variables are set to values of
-corresponding quantities.
+during processing when FITS_KEY_TEMPERATURE and FITS_KEY_EXPTIME
+environment variables are set to values of
+corresponding quantities.
Input And Output
@@ -72,11 +72,16 @@
Parameters
--a use arithmetical mean instead of default robust mean
---tol-temp temp limit for nearby temperatures (default = 1K)
---tol-exp exptime limit for nearby exposure times (default = 1 μsec)
--B bitpix set numerical type of output images, see Common options (default -32)
--o filename save to the output file, see Common options
+ --arith use arithmetical mean instead of
+ default robust mean
+ --tol-temp temp limit for nearby temperatures
+ (default = 1K)
+ --tol-exp exptime limit for nearby exposure times
+ (default = 1 μsec)
+ -B bitpix set numerical type of output images,
+ see Common options (default -32)
+ -o filename save to the output file,
+ see Common options
Also see Common options
@@ -113,4 +118,3 @@
-
diff -Nru munipack-0.5.9/doc/man_com.shtml munipack-0.5.10/doc/man_com.shtml
--- munipack-0.5.9/doc/man_com.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_com.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -350,12 +350,6 @@
barnard_0001R.fits -> barnard_0001R.fits
-
-
-
See also: wxRegEx ,
wxString
diff -Nru munipack-0.5.9/doc/man_cone.shtml munipack-0.5.10/doc/man_cone.shtml
--- munipack-0.5.9/doc/man_cone.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_cone.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -96,7 +96,7 @@
brighter than eleven:
-munipack cone --par 'Vmag=<11' -- 245.9 -26.5
+munipack cone --par 'Vmag=<11' -- 245.9 -26.5
diff -Nru munipack-0.5.9/doc/man_ctrafo.shtml munipack-0.5.10/doc/man_ctrafo.shtml
--- munipack-0.5.9/doc/man_ctrafo.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_ctrafo.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -57,10 +57,11 @@
Examples
Convert a color FITS image to a new colorspace. The black levels are
-3700 (in B), 9300 (V) and 20300 (in R). The blue filter we get with 0.66 weight:
+ 10 thousand (in B), 24 thousand (V) and 52 thousand (in R).
+ The blue filter we get with 0.66 weight:
-$ munipack ctrafo -o m27_xyz.fits -c 'XYZ' m27.fits 3700,0.66 9300,1 20300,1
+$ munipack ctrafo -o m27_xyz.fits -c 'XYZ' m27.fits 1e4,0.66 24e3,1 52e3,1
diff -Nru munipack-0.5.9/doc/man_dark.shtml munipack-0.5.10/doc/man_dark.shtml
--- munipack-0.5.9/doc/man_dark.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_dark.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -16,7 +16,7 @@
Synopsis
-munipack dark [-a] [-bias file] [--tol-temp] [--tol-exp] [..] file(s)
+munipack dark [--arith] [-bias file] [--tol-temp] [--tol-exp] [..] file(s)
Description
@@ -29,7 +29,7 @@
-An output image Oij is computed as the average of every pixel of
+An output image Oij is computed as the average of every pixel of
input images (Ik )ij :
@@ -37,14 +37,14 @@
where i,j is an index of a pixel and k is an index of an image.
-When a bias frame Bij is available, one is subtracted from
+When a bias frame Bij is available, one is subtracted from
dark exposures before averaging.
Two methods of averaging are implemented. An arithmetical mean
-is fast and memory conserving while a robust mean is significantly slower and requires
-much more memory. Use of the robust mean is preferred because random defects (cosmics,
+is fast and memory conserving while a robust mean is significantly slower and requires
+much more memory. Use of the robust mean is preferred because random defects (cosmics,
interferences) are greatly suppressed.
@@ -52,7 +52,7 @@
It is strongly recommended correct setting of FITS_KEY_EXPTIME
(environment variables ) because
the exposure time will usable for later processing.
-Chip temperatures are checked to be equal during processing when
+Chip temperatures are checked to be equal during processing when
FITS_KEY_TEMPERATURE is valuable.
@@ -70,12 +70,17 @@
Parameters
--a use arithmetical mean instead of default robust mean
--bias file use the specified bias frame
---tol-temp temp limit for nearby temperatures (default = 1K)
---tol-exp exptime limit for nearby exposure times (default = 1 μsec)
--B bitpix set numerical type of output images, see Common options (default -32)
--o filename save to the output file, see Common options
+ --arith use arithmetical mean instead of
+ default robust mean
+ -bias file use the specified bias frame
+ --tol-temp temp limit for nearby temperatures
+ (default = 1K)
+ --tol-exp exptime limit for nearby exposure times
+ (default = 1 μsec)
+ -B bitpix set numerical type of output images,
+ see Common options (default -32)
+ -o filename save to the output file,
+ see Common options
Also see Common options
@@ -112,4 +117,3 @@
-
diff -Nru munipack-0.5.9/doc/man_flat.shtml munipack-0.5.10/doc/man_flat.shtml
--- munipack-0.5.9/doc/man_flat.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_flat.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -2,20 +2,22 @@
-Munipack ‒ Averaged Flat-Field Frame
+Munipack ‒ Flat-field frame
-Averaged Flat-Field Frame
+Flat-field frame
-An average flat-field frame of a set of flat-field frames.
+ The flat utility is designed to
+ constructs of an average flat-field frame by
+ a set of individual flat-field frames.
Synopsis
@@ -27,51 +29,48 @@
Description
-The flat-field frame is a map of the photometric response of an instrument
+A flat-field frame is a map of the photometric response of an instrument
(both detector and optical configuration together). Flat-fields are used
-to remove defects like dust, vignetting and
-other imperfections on a single pixel base. Flat-fields can be acquired
-on sky during twilight, as night sky images and the dome flats.
-This routine creates the flat-field frame by averadging of a serie of such images.
+to remove all imperfections like variable light sensitivity of pixels,
+dust grains, vignetting and similar
+effects on per-pixel basis. Flat-fields can be acquired
+on sky during twilight, as night sky images, the dome flats
+or by another technique.
-
-The output flat-field Fij is computed as the (robust) average
-of every pixel of pre-scaled input images (I'k )ij :
-
-
-Fij = 1/(1 - 〈I'k 〉ij ) ,
-
-
-where i,j is an index of a pixel and k is an index of an image.
-Input images (Ik )ij are pre-scaled as
-
-
-I'ij = (Iij - 〈Iij 〉) / 〈Iij 〉 ,
-
-
+
+This routine creates a new flat-field frame by averaging of
+a set of such flat-fields. The averaging improves precision of
+the flat-field by factor of square root of input frames count
+(sixteen input frames increases precision by factor 4×). Moreover,
+all defects presented on any single frame (like random
+cosmics) are softly cleared.
-
-where the average of whole image is 〈Iij 〉
-. The rescaling is used to
-unifying possible different light levels (in twilight flat-fields).
+
+
+ The output flat-field Fij is computed as the
+ massive sequence of non-linear implicit equations for every pixel
+ of every input frame,
+ which needs a lot of both computer power and time.
+ Amount of frames is limited only by available memory
+ (width × height × 4 × 2 bytes per frame). One hundred of
+ 1000×1000 frames takes 800MB.
-The averaging of flat-fields is computed by the robust algorithm.
-Amount of frames is not limited. Just a single frame can be provided,
-which normalizes the input. Robust method works very well for
-thirteen and more frames.
+
+ Relative precision of a final flat-field increase as
+ square root of amount of input frames √N .
+ Implemented robust methods works well when amount of
+ input frames is over thirteen frames N > 13 .
+ A single frame on input is normalised only.
+
-
-The input flat-fields can be pre-corrected for both bias and dark:
+
+ The input flat-fields should be preparatory corrected for all of these
+ gain, bias and dark:
-Iij → Iij - x Dij - Bij .
+Fij → g(Fij - x Dij - Bij ) .
The meaning of x and the algorithm itself are the same as in
@@ -79,78 +78,84 @@
-The flat-field can be scaled onto an output
-level. The default value is 1.0 which is suitable for any situation
-when output is stored as float numbers (BITPIX=-32). When integer
-numbers are preferred (a litle bit reduced numerical precision is acceptable),
-set the output level
-to the half of range for the integer data-types (for BITPIX=16 is range 65536
-and half about 30000. In the case, any photometric information is lost!
+It is strongly recommended to set of correct value of FITS_KEY_FILTER
+(environment variables ), because
+the filter identification in the FITS header of the flat-field
+should be available for some later processing.
-
-It is strongly recommended correct setting of FITS_KEY_FILTER
-(environment variables ) because
-the filter should be usable for later processing.
-
Gain estimate
-Flat-fielding can be used to estimate of gain of a camera.
-The estimation determines the standard deviation σ of residuals
-between output mean and a single flat-field frame. σ ≈ 1 is near to one
-for correct value of gain. This is basic property of
-Poisson distribution
-which has bounded value of number of detected particles n and its
-standard deviation σ by relation σ=√n . The relation can be used
-for only when other sources of noise are negligible. Therefore, the ideal
-value of n is about half of full well capacity of detector (not ADU!).
+Flat-fielding can be used to estimate of gain g of a camera.
+The estimation determines
+variance
+σ2 and the mean value
+c
+of individual flat-field frames. Ratio satisfies the condition
+c /σ2 ≈ 1
+only for Poisson distributed data, when other sources of noise are negligible.
+Values significantly violating the conditions
+indicates that g is differ to one.
+The recommended mean values for all c are about half of full well
+capacity of a detector.
-
+
The gain g is determined by the relation
-
-g = 1 / σ²
-
-
-
-The estimated values of standard deviation σ and gain are printed
-in the output of the routine as last two columns of the table:
+g = c / σ²
+
+
+
+ The estimated values of variance σ2 and gain g
+ are printed on the output as the last two columns:
-...
- Filename, mean, correction, std.dev., gain:
-flat_V_000001.fits: 2.08154E+05 -16.34081 1.92080 0.271
-flat_V_000002.fits: 1.84904E+05 -16.02431 1.89552 0.278
- [σ] [g]
-...
+ ...
+ Filename, mean level[ct], std.err., reliable, std.dev., gain:
+ [σ] [g]
+ ...
+ flat-V_000002.fits: 1.15777E+05 58.5 T 339.14 1.007
+ flat-V_000003.fits: 98909. 50.0 T 313.62 1.006
+ ...
-
-Determination of gain is so slow that one is computed only on
+
+ Gain is determined only on
request by using of --gain-estimate switch
-(verbose mode is invoked).
+(verbose mode is invoked), because it slows down computations.
-
+
+ A recommended way to determine of gain is preliminary set
+ some value
+ (g=1 if no the right value is already known) and invoke
+ the estimate.
+ Than use the newly determined value
+ to set the gain again and repeat the procedure
+ while estimated gain will remain on value near to one
+ (with a few percent precision).
+
+
+
When gain keyword is available in the header, the values are
-pre-scaled by the gain so results will realtive against to the
-value. To suppres use of the value, set gain by providing
--gain 1 .
+initially scaled by the gain so results will be determined relative
+against to the value.
-
-The estimation of value of gain is just indicative and the check by some
-alternative method (factory provided, …) is highly recommended!
+
+The estimation of value of gain is just indicative and to check by some
+alternative method (factory provided, …) is highly recommended.
-Input And Output
+Input and output
-On input, list of frames representing the flat-fields is expected. Optionaly,
-both bias and dark can by pre-applied on every frame.
+ On input, list of observed flat-fields is expected.
+ Optionally, all gain, bias and dark corrections can
+ by applied on every frame.
@@ -160,40 +165,75 @@
Parameters
+ -gain g provide value of gain (rather than
+ FITS keyword) in [e-/ADU]
-bias file bias frame
-dark file dark frame
-xdark x dark frame multiplicative factor
--gain g provide value of gain (rather than FITS keyword)
---gain-estimate Try to estimate gain of every frame.
- The estimate importantly slow-down flat-fielding.
- Please, pre-set gain on the unit by using -gain 1
---saturate s Set saturation level. All value out of range:
- 0 < flat < s , in input files are rejected from any processing.
- This switch is useful mainly for over-exposed flat-fields.
- If unused, the value is get from FITS header (by FITS_KEY_SATURATE,
- see ). If the keyword is not found in the header,
- and frame has number type of integer, the maximum value 2**BITPIX is
- used, otherwise
- maximum value of the first frame on input is used (which practically
- switch-off saturation bound check).
---level x the mean level of output frame (default: 1.0)
--B bitpix set numerical type of output images (default -32)
--o filename save to the output file
+ -bitmask file mask frame (see
+ phcorr for description). Only pixels,
+ marked by this mask are processed.
+
+ -st, --saturate s Set saturate limit in
+ units of input frames.
+ All pixels with values out of the range
+ th < flat < s (see also --threshold)
+ are rejected from any processing.
+ This switch is useful mainly for over-exposed flat-fields
+ and elimination of non-linear parts of gradation curve.
+ If leaved unset, the value is determined from FITS header
+ (by FITS_KEY_SATURATE, see ).
+ If the keyword is not found and the frame contains
+ an integer number type, the maximum value 2**BITPIX-1 is
+ provided, otherwise the maximum value of the first frame on input
+ is used (which practically switch-off the saturation bound check).
+ The value is set in ADU (values reported by camera).
+
+ -th, --threshold th Set threshold limit
+ in units of input frames.
+ All pixels below the value are rejected from any processing.
+ If unset, the value is zero. Threshold is minor significance parameter.
+ It should help in case of faulty values in frames or filtering
+ of bad flat-fields. Its recommended value is inside interval
+ from zero to one quarter of full range.
+ The value is set in ADU (values reported by camera).
+
+ --gain-estimate Rough estimate of gain.
+
+ --approximation [basic|standard]
+ Basic approximation computes only robust mean of all flat-fields.
+ It is only very rough estimate.
+ The standard approximation provides more precise
+ solution on base of the basic initial estimate.
+
+ -B bitpix Set numerical type of output images.
+ Only the default -32 should be used.
+ The mean value of outputs will be changed to 100, 104 ,
+ 109 for BITPIX 8,16 and 32.
+
+ -o filename save to the output file
Also see Common options
-Examples
-
-
-$ munipack flat -o f_R.fits -dark d10.fits f10_*R.fits
-
+Environment variables
-If one needs frame with natural light-level and 16-bit depth, one is using
+FITS_KEY_FILTER, FITS_KEY_DATEOBS, FITS_KEY_EXPTIME, FITS_KEY_IMAGETYP,
+FITS_KEY_GAIN, FITS_KEY_SATURATE
+(see Environment variables ).
+
+
+
+ No one is mandatory, but remember, a flat-field with no filter
+ identification is like heavy water without neutron.
+
+
+Examples
+
-$ munipack flat -B 16 --level 10000 -o f_R.fits -dark d10.fits f10_*R.fits
+$ munipack flat -o f_R.fits -gain 2.3 -dark d30.fits -st 6e4 f30_*R.fits
@@ -211,11 +251,13 @@
-See Also
-Light Curve Tutorial ,
-Photometric corrections tutorial ,
-Averaged bias frame ,
-Averaged dark frame .
+
See also
+
+ Flat-fielding ,
+ Light curve tutorial ,
+ Photometry corrections tutorial ,
+ Averaged bias frame ,
+ Averaged dark frame .
diff -Nru munipack-0.5.9/doc/man_gphot.shtml munipack-0.5.10/doc/man_gphot.shtml
--- munipack-0.5.9/doc/man_gphot.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_gphot.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -34,6 +34,13 @@
sum of counts from a star in predefined apertures.
+Apperture correction determination
+
+
+
+
+
+Parameters
-th, --threshold
The
diff -Nru munipack-0.5.9/doc/man_kombine.shtml munipack-0.5.10/doc/man_kombine.shtml
--- munipack-0.5.9/doc/man_kombine.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_kombine.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -10,7 +10,7 @@
Kombine
-Multiple-frames are composed to a single image.
+Multiple frames are composed to a single image.
Command
@@ -22,8 +22,9 @@
Description
-Purpose of this routine is compound images to get more deeper exposure,
-to increase the dynamic range or to create of a mosaics.
+Purpose of this routine is to compound images into a deeper exposure,
+to increase its dynamic range, to average frames or to create of a mosaics
+covering larger area than any single frame.
@@ -38,40 +39,75 @@
Prerequisites
-Needs both astrometry and photometry.
+ Kombine needs astrometry. A regular photometry is necessary
+ for averaging.
Input And Output
-On input, list of frames containing both astrometric and photometric information
-is expected.
+ On input, list of frames meeting the prerequisites.
On output, a new FITS frame is created.
-Parameters
+Averaging
+
+ Averaging (--average ) can create clean up average
+ frames. The averaging can be applied only on already photo-metrically
+ calibrated frames including PHOTOMETRY extension created by
+ phcal . The result frame has mean
+ intensity and background of input frames.
+
+Initialisation of parameters
-Optional parameters:
+ The paramaters are inherited from parameters of the first
+ frame on input, if no corresponding parametr is set by command
+ line option. The strategy is chosen as the less surprising
+ way. The output frame looks similary as inputs ones.
-
--i interpolation method: none,bilinear,bicubic (default)
---adjust adjust sky level of individual exposures
---expomask use exposure mask to normalise photon rates
-
-Geometry parameters:
+ The live will more easy with the zero rotation
+ angle (--angle 0 ) and
+ no reflection (--reflex no ) of output frames.
+
+
+Parameters
+
+Parameters for composition:
+
+ -i, --interpol interpolation method:
+ none (nearest
+ neighborhood ),
+ bilinear ,
+ bicubic
+ (default)
+ --adjust adjust sky level of individual
+ exposures
+ --expomask use exposure mask to normalise
+ photon rates
+ --average compute the robust mean
+ for every single pixel instead of frames summation
+
+
+Geometry parameters:
--p projection: none, gnomonic (default)
---xcen, --ycen centre of projection on chip [pix] (default: width/2, height/2)
---rcen, --dcen centre of projection in Right Ascension and Declination [deg]
---scale scale [pix/deg]
---angle positional angle [deg]
+ -p, --projection projection: none, gnomonic
+ (default)
+ --rcen, --dcen centre of projection in
+ Right Ascension and Declination [deg]
+ --width, --height dimensions of the output
+ frames in pixels
+ --xcen, --ycen centre of projection on chip [pix]
+ (default: width/2, height/2)
+ --scale scale [pix/deg]
+ --angle positional angle [deg]
+ --reflex [yes|no] setup reflection
See Common options for input/output filenames.
diff -Nru munipack-0.5.9/doc/man_phcal_params.shtml munipack-0.5.10/doc/man_phcal_params.shtml
--- munipack-0.5.9/doc/man_phcal_params.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_phcal_params.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -51,12 +51,37 @@
(photometric system definitions ) file.
-Helper:
+Common:
+ -th, --threshold Select stars on both reference
+ and calibrated frames (not applied on catalogues) with its stellar
+ flux to a sky noise (signal to noise) ratio greater then
+ the threshold value. Both the values are determined in the same aperture.
+ The proper
+ choice is crucial for photometry precision because it helps to select
+ only bright stars with minimal pollution by the sky noise. The default
+ value 5 is very conservative setup. It is suitable for bad conditions
+ (like urban or a full moon light observations). Standard and good
+ conditions will allow lower ratios. In an ideal case, it can be
+ under one for best results.
+
+ -e, --maxerr Select stars on both reference
+ and calibrated frame (not applied on catalogues) with its relative
+ flux error smaller than the error limit. The value does not limits
+ the final precision, but limits fluency of noisy data.
+ The default value 0.1 (ten percents, about tenth of magnitude)
+ will also include relative imprecise stars into both calibration and
+ calibrated set. The values under 0.01 and lower will select
+ only precise and suitable calibration stars.
+
--area Area of telescope aperture in square meters [m2].
--saper selects appropriate aperture from PHOTOMETRY
extension. By default, flux in infinite aperture is used.
+ --apcorr sets the aperture correction.
+ This correction converts fluxes in an aperture to the total flux
+ (infinite aperture). The value of correction should be obtained
+ by gphot .
--advanced Advanced format. Additional extensions
(results of star find, photometry and residuals) are included.
This format is not used by default because result FITS
diff -Nru munipack-0.5.9/doc/man_phcorr.shtml munipack-0.5.10/doc/man_phcorr.shtml
--- munipack-0.5.9/doc/man_phcorr.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_phcorr.shtml 2018-01-16 17:58:04.000000000 +0000
@@ -25,7 +25,7 @@
Photometry corrections are important for any further processing of astronomical
-images. Their proper applications ensures photometry calibration,
+images. Their proper applications ensures photometry calibration,
eg. the constant ratio between detected electrons and expected photons.
@@ -40,9 +40,9 @@
Their subtraction is important when absolute photometry calibration is required.
The dark correction reduces signal produced by the thermal noise of apparatus
and improves photometry precision about thousandths or hundredths.
-
+
The flat-field describes spatial (angular) variation in detector sensitivity.
-The flat-field correction is crutial for any valuable photometry work
+The flat-field correction is crutial for any valuable photometry work
and improves precision from tenths to thousandths.
@@ -50,18 +50,18 @@
Algorithm
-A photometric corrected image Ic ij is computed
+A photometric corrected image Ic ij is computed
for every input image Iij as
Ic ij = (g Iij - x Dij - Bij )/fij ,
-where i,j is an index of a pixel, g is gain, Dij
-is the dark frame,
-x is a multiplication factor (see below). Bij
+where i,j is an index of a pixel, g is gain, Dij
+is the dark frame,
+x is a multiplication factor (see below). Bij
is the bias frame
-and fij is the normalised flat-field frame (with absolute
+and fij is the normalised flat-field frame (with absolute
photometry fluxes conserved):
@@ -75,20 +75,20 @@
In case, that bias or dark is undefined, their values are set to zero (in
real numbers).
When flat-field is missing, values are fij =1 (real).
-If |〈Fij 〉| is under machine precision, the
-value fij =0 (real) is set for all pixels.
-When fij is (machine) zero, the
+If |〈Fij 〉| is under machine precision, the
+value fij =0 (real) is set for all pixels.
+When fij is (machine) zero, the
Ic ij =0 (real).
-The multiplication factor x is determined by the way: when parameter
--xdark is
-provided, its value is used, otherwise ratio of exposure times
+The multiplication factor x is determined by the way: when parameter
+-xdark is
+provided, its value is used, otherwise ratio of exposure times
T of the scientific exposure I and the dark frame D
are used as x= TI / TD . Both exposure times
are extracted from FITS header
-(given by FITS_KEY_EXPOSURE environment
+(given by FITS_KEY_EXPOSURE environment
variable ). When the ratio can not be determined by previous way,
the x =1 is silently set (this choice is compatible to traditional methods).
@@ -96,7 +96,7 @@
It is recommended to use averaged values of all correction images
B,D,F produced by bias ,
-dark and flat .
+dark and flat .
@@ -109,7 +109,7 @@
A common CCD camera captures electrons produced by photons illuminating
-pixels. These electrons are usually not directly available, but the control
+pixels. These electrons are usually not directly available, but the control
electronics converts their counts to another counts via analogue to digital
converter with a gain g . New values and original ones are related
by the relation
@@ -118,15 +118,15 @@
(values provided by camera) = g * (count of electrons).
-The reason for this is usually due to storing usuall capacity of about 200k
+The reason for this is usually due to storing usuall capacity of about 200k
electrons per pixel to two bytes (range 0-65565).
Because the primary quantity are electrons and we need acute the
primary quantity for estimation of statistical errors, we must convert
-values reported by camera to electrons for proper function of all other utilities.
-The output frame is identical (on the first view), but values are multiplied
+values reported by camera to electrons for proper function of all other utilities.
+The output frame is identical (on the first view), but values are multiplied
by the gain so values of output frames will generally different to originals.
@@ -134,12 +134,12 @@
Gain value is preferably get from FITS header where is identified by GAIN keyword.
-If the value is not found, the input frame is not corrected.
+If the value is not found, the input frame is not corrected.
-The gain can be specified on command line with -gain .
-In this case, the value is used rather than the value in header.
+The gain can be specified on command line with -gain .
+In this case, the value is used rather than the value in header.
However, the usage is primary designed to correct a potentially wrong
values of the gain.
@@ -177,7 +177,7 @@
The second strategy requires little more processing, but it is ideal
for many exposures with theirs different duration. A lot of biases
is made and only a few long-duration darks is taken. This approach
-is more flexible (when many exposure times is available) and also
+is more flexible (when many exposure times is available) and also
may save some observation time.
@@ -185,7 +185,7 @@
A array mask Mij can be applied on result image
-with photometry corrections applied. The mask sets suppressed pixels
+with photometry corrections applied. The mask sets suppressed pixels
(where Mij =0) and other left unchanged
(where Mij =1). The masking technique has been adopted from
bitmap editors (in computer graphics fields) where masked values are
@@ -205,8 +205,8 @@
-A process for create of Mij is complex. One strongly depends
-on values intended to by masked and on a masked image itself. Therefore there is
+A process for create of Mij is complex. One strongly depends
+on values intended to by masked and on a masked image itself. Therefore there is
no an unique way, how to prepare it.
@@ -225,34 +225,35 @@
MEAN (average)
--tol-temp temp limit for nearby temperatures (default = 1 K)
--tol-exp exptime limit for nearby exposure times (default = 1 μsec)
---normalise Normalise on averaged flat-field level.
-The frames are just divided by flat-field frame. As the consequence, level of images
-is reduced by factor 10 or more thousands and absolute photometry information
-is loosed. The normalisation recovers original levels (by multiplication of original
-flat-field level). Both frames must have the same gain. Averaged flat-field
+ --normalise Normalise flat-field before use.
+ The frames are just divided by flat-field frame. As the consequence,
+ the mean level of images is reduced by mean level of the flat
+ and as consequence, the absolute photometry information is loosed.
+ The normalisation keeps original levels (by multiplication of original
+ flat-field level). Both frames must have the same gain. Averaged flat-field
frames produced by flat utility are normalised
-on level one and normalisation is useless. Be careful with saving frames
-to integer values (in this case normalisation must be used else all values
+on level one and normalisation is useless. Be careful with saving frames
+to integer values (in this case normalisation must be used else all values
will zeros).
--force Apply correction also on already corrected frames
Also see Common options . Note that we have
-similar parameters -bitmask and --mask with roughly
+similar parameters -bitmask and --mask with roughly
different meaning!
Examples
-Subtract dark120.fits from set of files
+
Subtract dark120.fits from set of files
halley_*.fits (backup originals as halley_*.fits~ ):
$ munipack phcorr -dark dark120.fits halley_*.fits
-Subtract dark120.fits from set of files
+
Subtract dark120.fits from set of files
halley_*.fits and store results in /tmp directory:
@@ -293,4 +294,3 @@
-
diff -Nru munipack-0.5.9/doc/man_setup.shtml munipack-0.5.10/doc/man_setup.shtml
--- munipack-0.5.9/doc/man_setup.shtml 2017-07-17 23:03:48.000000000 +0000
+++ munipack-0.5.10/doc/man_setup.shtml 2018-01-16 17:58:03.000000000 +0000
@@ -58,6 +58,7 @@
FITS_KEY_AIRMASS AIRMASS airmass
FITS_KEY_DATEOBS DATE-OBS the start of exposure
FITS_KEY_OBJECT OBJECT the object identifier
+FITS_KEY_IMAGETYP IMAGETYP imagetyp: light, flat, dark
FITS_KEY_SATURATE SATURATE detector saturation (full well capacity) on ADU
FITS_KEY_READNOISE READNS read noise in ADU
FITS_KEY_GAIN GAIN amplifier gain in electrons per ADU
@@ -68,8 +69,6 @@
-
-