Check-in Differences
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Difference From 378eb274649106df To f88f4d15bc8bb5a6

2012-07-04
18:52
fixing a minor GUI glitch Leaf check-in: 378eb27464 user: sandro tags: trunk
2012-06-18
13:51
few small GUI fixes check-in: 31654b3f4d user: sandro tags: trunk
2012-06-17
17:44
supporting the Lunar Atlas [based on Clementine] check-in: f88f4d15bc user: sandro tags: trunk
2012-06-08
19:43
fixing a small GUI issue check-in: dee777e6fe user: sandro tags: trunk

Changes to Classdef.h.

281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
  void DrawPoint(wxGraphicsContext * gr, int layer, gaiaGeomCollPtr geom);
  void DrawPolygon(wxGraphicsContext * gr, char color, gaiaGeomCollPtr geom);
  void DrawLinestring(wxGraphicsContext * gr, wxColour & colour,
                      gaiaGeomCollPtr geom, bool railways = false);
  void DrawRasterLayer(wxGraphicsContext * gr, int layer);
  void DrawDynamicGeometry(wxGraphicsContext * gr, int thick);
  void DrawDistanceMarker(wxGraphicsContext * gr, double x, double y);
  void ComputePlanarDistance(double *length);
  bool ComputePlanarLength(double *length);
  void DrawDistancePath(wxGraphicsContext * gr);
  void ComputeGreatCircleArc(double *great_circle, double *geodesic);
  bool ComputeGreatCircleLength(double *great_circle, double *geodesic);
  bool GetRaster(void *handle, wxBitmap * bmp);
  void DragMap(int x, int y);
  void OnTheFlyIdentify(int mouse_x, int mouse_y);
  void ShowMapTip(wxString & label, int x, int y, int category);
  void ClearMapTip();
  bool IsMapTipShown();







|


|







281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
  void DrawPoint(wxGraphicsContext * gr, int layer, gaiaGeomCollPtr geom);
  void DrawPolygon(wxGraphicsContext * gr, char color, gaiaGeomCollPtr geom);
  void DrawLinestring(wxGraphicsContext * gr, wxColour & colour,
                      gaiaGeomCollPtr geom, bool railways = false);
  void DrawRasterLayer(wxGraphicsContext * gr, int layer);
  void DrawDynamicGeometry(wxGraphicsContext * gr, int thick);
  void DrawDistanceMarker(wxGraphicsContext * gr, double x, double y);
  void ComputePlanarDistance();
  bool ComputePlanarLength(double *length);
  void DrawDistancePath(wxGraphicsContext * gr);
  void ComputeGreatCircleArc();
  bool ComputeGreatCircleLength(double *great_circle, double *geodesic);
  bool GetRaster(void *handle, wxBitmap * bmp);
  void DragMap(int x, int y);
  void OnTheFlyIdentify(int mouse_x, int mouse_y);
  void ShowMapTip(wxString & label, int x, int y, int category);
  void ClearMapTip();
  bool IsMapTipShown();

Changes to Main.cpp.

1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
          toolBar->EnableTool(ID_BestZoom, false);
          toolBar->EnableTool(ID_Identify, HasIdentify());
          toolBar->EnableTool(ID_Distance, true);
          toolBar->EnableTool(ID_ZoomIn, true);
          toolBar->EnableTool(ID_ZoomOut, true);
          toolBar->EnableTool(ID_Pan, true);
          toolBar->EnableTool(ID_Graticule, HasGraticule());
          if (current_map > 0)
            toolBar->ToggleTool(current_map, true);
          toolBar->ToggleTool(ID_ZoomIn, true);
          MapView->SetFullExtent();
          MapView->PrepareMap();
        }
    }
  UpdateStatusBar();







|







1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
          toolBar->EnableTool(ID_BestZoom, false);
          toolBar->EnableTool(ID_Identify, HasIdentify());
          toolBar->EnableTool(ID_Distance, true);
          toolBar->EnableTool(ID_ZoomIn, true);
          toolBar->EnableTool(ID_ZoomOut, true);
          toolBar->EnableTool(ID_Pan, true);
          toolBar->EnableTool(ID_Graticule, HasGraticule());
          if (current_map < 0)
            toolBar->ToggleTool(current_map, true);
          toolBar->ToggleTool(ID_ZoomIn, true);
          MapView->SetFullExtent();
          MapView->PrepareMap();
        }
    }
  UpdateStatusBar();

Changes to MapView.cpp.

671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
....
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
....
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
....
1439
1440
1441
1442
1443
1444
1445





















1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
....
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
....
2178
2179
2180
2181
2182
2183
2184


2185
2186



2187
2188






2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
....
2204
2205
2206
2207
2208
2209
2210

2211
2212








2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
      menu->Enable(ID_April, false);
      menu->Enable(ID_July, false);
      menu->Enable(ID_October, false);
    }
  if (MainFrame->HasGraticule() == false)
    menu->Enable(ID_Graticule, false);
// setting items state
  if (MainFrame->HasCountries() == true || MainFrame->HasAdminAreas() == true)
    ;
  else
    menu->Enable(ID_Political, false);
  menu->Check(ID_Political, MainFrame->IsPoliticalMap());
  if (MainFrame->GetSatelliteHandle() == NULL)
    menu->Enable(ID_Satellite, false);
  menu->Check(ID_Satellite, MainFrame->IsSatelliteMap());
  if (MainFrame->GetReliefHandle() == NULL)
    menu->Enable(ID_Relief, false);
  menu->Check(ID_Relief, MainFrame->IsReliefMap());
  if (MainFrame->GetBathymetryHandle() == NULL)
    menu->Enable(ID_Bathymetry, false);
  menu->Check(ID_Bathymetry, MainFrame->IsBathymetryMap());
  if (MainFrame->IsTMeanJanMap() || MainFrame->IsTMeanAprMap()
      || MainFrame->IsTMeanJulMap() || MainFrame->IsTMeanOctMap())
    menu->Check(ID_Temperature, true);
  if (MainFrame->IsRainJanMap() || MainFrame->IsRainAprMap()
      || MainFrame->IsRainJulMap() || MainFrame->IsRainOctMap())
    menu->Check(ID_Rain, true);
................................................................................
  ResetScreenBitmap();
  Refresh();
}

void MyMapView::ResetScreenBitmap()
{
// copying the MapBitmap into the ScreenBitmap
  double great_circle;
  double geodesic;
  double length;
  bool showDistance = false;
  wxMemoryDC *mapDc = new wxMemoryDC(MapBitmap);
  wxMemoryDC *dynDc = new wxMemoryDC(DynamicMapBitmap);
  dynDc->Blit(0, 0, BitmapWidth, BitmapHeight, mapDc, 0, 0);
  delete mapDc;
  if (MainFrame->IsModeDistance() == false)
    {
      // cleaning the Distance settings
................................................................................
    }
  if (CurrentGeometry != NULL && (DynamicPhase % 4) == 2)
    {
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDynamicGeometry(gr, 3);
      delete gr;
    }
  if (DistanceX2 != DBL_MAX && DistanceY2 != DBL_MAX
      && DistanceX1 != DBL_MAX && DistanceY1 != DBL_MAX)
    {

      if (MainFrame->IsGeographic() == true)
        ComputeGreatCircleArc(&great_circle, &geodesic);
      else
        ComputePlanarDistance(&length);
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistancePath(gr);
      DrawDistanceMarker(gr, DistanceX1, DistanceY1);
      DrawDistanceMarker(gr, DistanceX2, DistanceY2);
      delete gr;
      DistanceX2 = DBL_MAX;
      DistanceY2 = DBL_MAX;
      DistanceX1 = DBL_MAX;
      DistanceY1 = DBL_MAX;
      showDistance = true;
  } else if (DistanceX1 != DBL_MAX && DistanceY1 != DBL_MAX)
    {
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistanceMarker(gr, DistanceX1, DistanceY1);
      delete gr;
  } else if (DistancePath != NULL)
    {
      double x1;
      double y1;
      double x2;
      double y2;
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistancePath(gr);
................................................................................
          int pts = ln->Points - 1;
          gaiaGetPoint(ln->Coords, pts, &x2, &y2);
          ln = ln->Next;
        }
      DrawDistanceMarker(gr, x1, y1);
      DrawDistanceMarker(gr, x2, y2);
      delete gr;





















  } else
    {
      if (DistancePath != NULL)
        gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }
  wxMemoryDC *screenDc = new wxMemoryDC(ScreenBitmap);
  screenDc->Blit(0, 0, BitmapWidth, BitmapHeight, dynDc, 0, 0);
  delete dynDc;
  delete screenDc;
  Refresh();
  if (showDistance == true)
    {
      // measured distance message
      if (MainFrame->IsGeographic() == true)
        {
          wxString msg =
            wxT("Great Circle Distance: [assuming a spherical World]\n");
          char buf[128];
          sprintf(buf, "%1.2f Km\n\n", great_circle);
          msg += wxString::FromUTF8(buf);
          msg +=
            wxT("Geodesic Distance: [exactly measured on the Ellipsoid]\n");
          sprintf(buf, "%1.2f Km\n", geodesic);
          msg += wxString::FromUTF8(buf);
          wxMessageBox(msg, wxT("Measured Distance"), wxOK | wxICON_INFORMATION,
                       this);
      } else
        {
          wxString msg = wxT("Planar Distance:\n");
          char buf[128];
          sprintf(buf, "%1.2f Km\n\n", length);
          msg += wxString::FromUTF8(buf);
          wxMessageBox(msg, wxT("Measured Distance"), wxOK | wxICON_INFORMATION,
                       this);
        }
    }
}

bool MyMapView::Graticules5Degrees()
{
// testing if 5 degrees graticules are currently visible
  if (CurrentScale > 5000000 && CurrentScale <= 20000000)
    return true;
................................................................................
          return false;
        }
    }
  sqlite3_finalize(stmt);
  return ok;
}

void MyMapView::ComputeGreatCircleArc(double *great_circle, double *geodesic)
{
// computing a Great Circle Arc
  *great_circle = 0.0;
  *geodesic = 0.0;
  if (DistancePath != NULL)
    {
      gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }

  if (DistanceX1 == DBL_MAX || DistanceY1 == DBL_MAX
................................................................................
          // setting points
          GreatCirclePoint *pt = arc.GetPoint(i);
          gaiaSetPoint(ln->Coords, iv, pt->GetX(), pt->GetY());
          iv++;
        }
    }



  if (ComputeGreatCircleLength(great_circle, geodesic) != true)
    {



      *great_circle = 0.0;
      *geodesic = 0.0;






    }
}

void MyMapView::ComputePlanarDistance(double *length)
{
// computing a planar distance
  *length = 0.0;
  if (DistancePath != NULL)
    {
      gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }

  if (DistanceX1 == DBL_MAX || DistanceY1 == DBL_MAX
................................................................................
    return;

  DistancePath = gaiaAllocGeomColl();
  gaiaLinestringPtr ln = gaiaAddLinestringToGeomColl(DistancePath, 2);
  gaiaSetPoint(ln->Coords, 0, DistanceX1, DistanceY1);
  gaiaSetPoint(ln->Coords, 1, DistanceX2, DistanceY2);


  if (ComputePlanarLength(length) != true)
    *length = 0.0;








}

void MyMapView::DrawDistancePath(wxGraphicsContext * gr)
{
// drawing the Distance Path
  gaiaLinestringPtr line;

  if (DistancePath == NULL)
    return;

  gr->SetPen(wxPen(wxColour(255, 255, 0), 8));
  line = DistancePath->FirstLinestring;
  while (line)
    {
      // marking a Linestring
      int iv;
      double dx;
      double dy;







<
<
<
<

<
<

<
<

<
<







 







<
<
<
<







 







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
|







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>











<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







 







|


<
<







 







>
>
|

>
>
>
|
<
>
>
>
>
>
>



|


<







 







>
|
<
>
>
>
>
>
>
>
>










|







671
672
673
674
675
676
677




678


679


680


681
682
683
684
685
686
687
....
1349
1350
1351
1352
1353
1354
1355




1356
1357
1358
1359
1360
1361
1362
....
1382
1383
1384
1385
1386
1387
1388























1389
1390
1391
1392
1393
1394
1395
1396
....
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440


























1441
1442
1443
1444
1445
1446
1447
....
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084


2085
2086
2087
2088
2089
2090
2091
....
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148

2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160

2161
2162
2163
2164
2165
2166
2167
....
2169
2170
2171
2172
2173
2174
2175
2176
2177

2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
      menu->Enable(ID_April, false);
      menu->Enable(ID_July, false);
      menu->Enable(ID_October, false);
    }
  if (MainFrame->HasGraticule() == false)
    menu->Enable(ID_Graticule, false);
// setting items state




  menu->Check(ID_Political, MainFrame->IsPoliticalMap());


  menu->Check(ID_Satellite, MainFrame->IsSatelliteMap());


  menu->Check(ID_Relief, MainFrame->IsReliefMap());


  menu->Check(ID_Bathymetry, MainFrame->IsBathymetryMap());
  if (MainFrame->IsTMeanJanMap() || MainFrame->IsTMeanAprMap()
      || MainFrame->IsTMeanJulMap() || MainFrame->IsTMeanOctMap())
    menu->Check(ID_Temperature, true);
  if (MainFrame->IsRainJanMap() || MainFrame->IsRainAprMap()
      || MainFrame->IsRainJulMap() || MainFrame->IsRainOctMap())
    menu->Check(ID_Rain, true);
................................................................................
  ResetScreenBitmap();
  Refresh();
}

void MyMapView::ResetScreenBitmap()
{
// copying the MapBitmap into the ScreenBitmap




  wxMemoryDC *mapDc = new wxMemoryDC(MapBitmap);
  wxMemoryDC *dynDc = new wxMemoryDC(DynamicMapBitmap);
  dynDc->Blit(0, 0, BitmapWidth, BitmapHeight, mapDc, 0, 0);
  delete mapDc;
  if (MainFrame->IsModeDistance() == false)
    {
      // cleaning the Distance settings
................................................................................
    }
  if (CurrentGeometry != NULL && (DynamicPhase % 4) == 2)
    {
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDynamicGeometry(gr, 3);
      delete gr;
    }























  if (DistancePath != NULL)
    {
      double x1;
      double y1;
      double x2;
      double y2;
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistancePath(gr);
................................................................................
          int pts = ln->Points - 1;
          gaiaGetPoint(ln->Coords, pts, &x2, &y2);
          ln = ln->Next;
        }
      DrawDistanceMarker(gr, x1, y1);
      DrawDistanceMarker(gr, x2, y2);
      delete gr;
  } else if (DistanceX2 != DBL_MAX && DistanceY2 != DBL_MAX
             && DistanceX1 != DBL_MAX && DistanceY1 != DBL_MAX)
    {
      if (MainFrame->IsGeographic() == true)
        ComputeGreatCircleArc();
      else
        ComputePlanarDistance();
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistancePath(gr);
      DrawDistanceMarker(gr, DistanceX1, DistanceY1);
      DrawDistanceMarker(gr, DistanceX2, DistanceY2);
      delete gr;
      DistanceX2 = DBL_MAX;
      DistanceY2 = DBL_MAX;
      DistanceX1 = DBL_MAX;
      DistanceY1 = DBL_MAX;
  } else if (DistanceX1 != DBL_MAX && DistanceY1 != DBL_MAX)
    {
      wxGraphicsContext *gr = wxGraphicsContext::Create(*dynDc);
      DrawDistanceMarker(gr, DistanceX1, DistanceY1);
      delete gr;
  } else
    {
      if (DistancePath != NULL)
        gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }
  wxMemoryDC *screenDc = new wxMemoryDC(ScreenBitmap);
  screenDc->Blit(0, 0, BitmapWidth, BitmapHeight, dynDc, 0, 0);
  delete dynDc;
  delete screenDc;
  Refresh();


























}

bool MyMapView::Graticules5Degrees()
{
// testing if 5 degrees graticules are currently visible
  if (CurrentScale > 5000000 && CurrentScale <= 20000000)
    return true;
................................................................................
          return false;
        }
    }
  sqlite3_finalize(stmt);
  return ok;
}

void MyMapView::ComputeGreatCircleArc()
{
// computing a Great Circle Arc


  if (DistancePath != NULL)
    {
      gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }

  if (DistanceX1 == DBL_MAX || DistanceY1 == DBL_MAX
................................................................................
          // setting points
          GreatCirclePoint *pt = arc.GetPoint(i);
          gaiaSetPoint(ln->Coords, iv, pt->GetX(), pt->GetY());
          iv++;
        }
    }

  double great_circle;
  double geodesic;
  if (ComputeGreatCircleLength(&great_circle, &geodesic) == true)
    {
      wxString msg =
        wxT("Great Circle Distance: [assuming a spherical Earth]\n");
      char buf[128];
      sprintf(buf, "%1.2f Km\n\n", great_circle);

      msg += wxString::FromUTF8(buf);
      msg += wxT("Geodesic Distance: [exactly measured on the Ellipsoid]\n");
      sprintf(buf, "%1.2f Km\n", geodesic);
      msg += wxString::FromUTF8(buf);
      wxMessageBox(msg, wxT("Measured Distance"), wxOK | wxICON_INFORMATION,
                   this);
    }
}

void MyMapView::ComputePlanarDistance()
{
// computing a planar distance

  if (DistancePath != NULL)
    {
      gaiaFreeGeomColl(DistancePath);
      DistancePath = NULL;
    }

  if (DistanceX1 == DBL_MAX || DistanceY1 == DBL_MAX
................................................................................
    return;

  DistancePath = gaiaAllocGeomColl();
  gaiaLinestringPtr ln = gaiaAddLinestringToGeomColl(DistancePath, 2);
  gaiaSetPoint(ln->Coords, 0, DistanceX1, DistanceY1);
  gaiaSetPoint(ln->Coords, 1, DistanceX2, DistanceY2);

  double length;
  if (ComputePlanarLength(&length) == true)

    {
      wxString msg = wxT("Planar Distance:\n");
      char buf[128];
      sprintf(buf, "%1.2f Km\n\n", length);
      msg += wxString::FromUTF8(buf);
      wxMessageBox(msg, wxT("Measured Distance"), wxOK | wxICON_INFORMATION,
                   this);
    }
}

void MyMapView::DrawDistancePath(wxGraphicsContext * gr)
{
// drawing the Distance Path
  gaiaLinestringPtr line;

  if (DistancePath == NULL)
    return;

  gr->SetPen(wxPen(wxColour(255, 0, 0), 8));
  line = DistancePath->FirstLinestring;
  while (line)
    {
      // marking a Linestring
      int iv;
      double dx;
      double dy;

Changes to config.h.

137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
...
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "a.furieri@lqt.it"

/* Define to the full name of this package. */
#define PACKAGE_NAME "LibreAtlas"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "LibreAtlas 1.0.0a"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libreatlas"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.0.0a"

/* must be defined when using libspatialite-amalgamation */
/* #undef SPATIALITE_AMALGAMATION */

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

................................................................................
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

/* Version number of package */
#define VERSION "1.0.0a"

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define to empty if the keyword `volatile' does not work. Warning: valid
   code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */







|








|







 







|













137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
...
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "a.furieri@lqt.it"

/* Define to the full name of this package. */
#define PACKAGE_NAME "LibreAtlas"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "LibreAtlas 1.0.0"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libreatlas"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "1.0.0"

/* must be defined when using libspatialite-amalgamation */
/* #undef SPATIALITE_AMALGAMATION */

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

................................................................................
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1

/* Define to 1 if your <sys/time.h> declares `struct tm'. */
/* #undef TM_IN_SYS_TIME */

/* Version number of package */
#define VERSION "1.0.0"

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */

/* Define to `long int' if <sys/types.h> does not define. */
/* #undef off_t */

/* Define to `unsigned int' if <sys/types.h> does not define. */
/* #undef size_t */

/* Define to empty if the keyword `volatile' does not work. Warning: valid
   code using `volatile' can become incorrect without. Disable with care. */
/* #undef volatile */

Changes to configure.

1
2
3
4
5
6
7
8
9
10
...
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
....
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
....
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
....
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
....
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
....
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
.....
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
.....
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for LibreAtlas 1.0.0a.
#
# Report bugs to <a.furieri@lqt.it>.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc.
................................................................................
subdirs=
MFLAGS=
MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='LibreAtlas'
PACKAGE_TARNAME='libreatlas'
PACKAGE_VERSION='1.0.0a'
PACKAGE_STRING='LibreAtlas 1.0.0a'
PACKAGE_BUGREPORT='a.furieri@lqt.it'
PACKAGE_URL=''

# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
................................................................................
#
# 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 LibreAtlas 1.0.0a 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.
................................................................................
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of LibreAtlas 1.0.0a:";;
   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]
................................................................................
    cd "$ac_pwd" || { ac_status=$?; break; }
  done
fi

test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
  cat <<\_ACEOF
LibreAtlas configure 1.0.0a
generated by GNU Autoconf 2.68

Copyright (C) 2010 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
................................................................................
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_check_type
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 LibreAtlas $as_me 1.0.0a, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ $0 $@

_ACEOF
exec 5>>config.log
{
................................................................................
    CYGPATH_W=echo
  fi
fi


# Define the identity of the package.
 PACKAGE='libreatlas'
 VERSION='1.0.0a'


cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF


................................................................................
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 LibreAtlas $as_me 1.0.0a, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@
................................................................................

Report bugs to <a.furieri@lqt.it>."

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
LibreAtlas config.status 1.0.0a
configured by $0, generated by GNU Autoconf 2.68,
  with options \\"\$ac_cs_config\\"

Copyright (C) 2010 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."



|







 







|
|







 







|







 







|







 







|







 







|







 







|







 







|







 







|







1
2
3
4
5
6
7
8
9
10
...
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
....
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
....
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
....
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
....
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
....
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
.....
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
.....
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for LibreAtlas 1.0.0.
#
# Report bugs to <a.furieri@lqt.it>.
#
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
# Foundation, Inc.
................................................................................
subdirs=
MFLAGS=
MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='LibreAtlas'
PACKAGE_TARNAME='libreatlas'
PACKAGE_VERSION='1.0.0'
PACKAGE_STRING='LibreAtlas 1.0.0'
PACKAGE_BUGREPORT='a.furieri@lqt.it'
PACKAGE_URL=''

# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
#ifdef HAVE_SYS_TYPES_H
................................................................................
#
# 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 LibreAtlas 1.0.0 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.
................................................................................
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of LibreAtlas 1.0.0:";;
   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]
................................................................................
    cd "$ac_pwd" || { ac_status=$?; break; }
  done
fi

test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
  cat <<\_ACEOF
LibreAtlas configure 1.0.0
generated by GNU Autoconf 2.68

Copyright (C) 2010 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
................................................................................
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_check_type
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 LibreAtlas $as_me 1.0.0, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ $0 $@

_ACEOF
exec 5>>config.log
{
................................................................................
    CYGPATH_W=echo
  fi
fi


# Define the identity of the package.
 PACKAGE='libreatlas'
 VERSION='1.0.0'


cat >>confdefs.h <<_ACEOF
#define PACKAGE "$PACKAGE"
_ACEOF


................................................................................
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 LibreAtlas $as_me 1.0.0, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@
................................................................................

Report bugs to <a.furieri@lqt.it>."

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
LibreAtlas config.status 1.0.0
configured by $0, generated by GNU Autoconf 2.68,
  with options \\"\$ac_cs_config\\"

Copyright (C) 2010 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

Changes to configure.ac.

1
2
3
4
5
6
7
8
9
10
11
12
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(LibreAtlas, 1.0.0a, a.furieri@lqt.it)
AC_LANG(C)
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)





|







1
2
3
4
5
6
7
8
9
10
11
12
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.61)
AC_INIT(LibreAtlas, 1.0.0, a.furieri@lqt.it)
AC_LANG(C)
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
AM_CONFIG_HEADER(config.h)