diff libinterp/octave.cc @ 15884:9ede91b3872b

do system-specific initialization before installing default variable values * octave.cc (octave_main): Call sysdep_init before install_defaults. * main.cc (main): Likewise. * main-cli.cc (main): Likewise. * src/Makefile.am (AM_CPPFLAGS): Add -I$(top_srcdir)/liboctave/system and -I$(top_srcdir)/libinterp/interpfcn to the list.
author John W. Eaton <jwe@octave.org>
date Thu, 03 Jan 2013 03:05:16 -0500
parents 534b6f7108b7
children 1ca9beb2a194 49dfba4fd3c5
line wrap: on
line diff
--- a/libinterp/octave.cc	Thu Jan 03 01:59:08 2013 -0500
+++ b/libinterp/octave.cc	Thu Jan 03 03:05:16 2013 -0500
@@ -656,6 +656,8 @@
 {
   octave_process_command_line (argc, argv);
 
+  sysdep_init ();
+
   install_defaults ();
 
   octave_initialize_interpreter (argc, argv, embedded);
@@ -861,8 +863,6 @@
 
   init_signals ();
 
-  sysdep_init ();
-
   octave_ieee_init ();
 
   // The idea here is to force xerbla to be referenced so that we will