carandraug committed 7602dc9

pkg: error when using forge flag but Octave was built without cURL

Comments (0)

Files changed (1)

         ## Send verbose output to pager immediately.  Change setting locally.
         page_output_immediately (true, "local");
       case "-forge"
+        if (! octave_config_info ("CURL_LIBS"))
+          error ("pkg: can't download from forge without the cURL library")
+        endif
         octave_forge = true;
       case {"-local", "-global"}
         ## FIXME after enough releases we should remove this warning